Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- window_ids=$(wmctrl -l | cut -f1 -d " ")
- for window_id in $window_ids
- do
- wmctrl -i -r "$window_id" -b toggle,maximized_vert,maximized_horz
- wmctrl -i -r "$window_id" -b add,maximized_vert,maximized_horz
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement