Skip to content

Instantly share code, notes, and snippets.

@UncleBrook
Last active January 4, 2024 07:32
Show Gist options
  • Save UncleBrook/6bede858ffc9965904f35eb1b7aa8540 to your computer and use it in GitHub Desktop.
Save UncleBrook/6bede858ffc9965904f35eb1b7aa8540 to your computer and use it in GitHub Desktop.
Linux GUI: Change window WM_CLASS
# 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