Created
March 9, 2019 19:36
-
-
Save Anachron/8596005d8785fbe4f86b82bfeeea349d to your computer and use it in GitHub Desktop.
Get all visible desktops and print them in one line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xdotool search --onlyvisible '' get_desktop_for_window %@ 2>/dev/null | sort | uniq | grep -v '^-' | tr '\n' ' ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment