Created
September 26, 2024 12:12
-
-
Save distgr/34cb59444db6feda88b7d776c05df7f6 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 | |
| # I had a problem with KDE Plasma minimizing windows with Meta+D, without the others being maximized when I tried to re-maximize one of the programs, | |
| # finally, with a separate script and setting it to run on a custom shortcut for Meta+D, it worked : | |
| # ----- | |
| # sudo apt install xdotool | |
| # sudo pacman -S xdotool | |
| # sudo dnf install xdotool | |
| # first, install the 'xdotool' package according to your distribution and package manager, then use the code: | |
| # ----- | |
| for win in $(xdotool search --onlyvisible --class .); do | |
| xdotool windowminimize $win | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment