Created
January 15, 2023 21:56
-
-
Save 2xlink/26dc2c1bd407e2f0d856ec52c0657825 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
set -eu | |
wmctrl -d | grep "*" | cut -d " " -f 1 > /tmp/current_desktop | |
wmctrl -s $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment