Last active
January 4, 2024 07:32
-
-
Save UncleBrook/6bede858ffc9965904f35eb1b7aa8540 to your computer and use it in GitHub Desktop.
Linux GUI: Change window WM_CLASS
This file contains 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
# Change window WM_CLASS | |
cwwc() { | |
xprop -id $(xwininfo -int | grep -oP '(?<=Window id: )\d+') -f WM_CLASS 8s -set WM_CLASS "$1" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment