Created
August 30, 2019 20:22
-
-
Save joubertredrat/4e93ebd5d16f7830569ac1a3923a8793 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
#!/usr/bin/env bash | |
l=$(wmctrl -l | grep -i -o "0[xX][0-9a-z]*") | |
for i in $(echo $l); do | |
wmctrl -i -r $i -b toggle,maximized_horz,maximized_vert | |
done | |
for i in $(echo $l); do | |
wmctrl -i -r $i -b toggle,maximized_horz,maximized_vert | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment