Created
February 25, 2017 23:26
-
-
Save jpallari/dd8004bc8ed40e018b0a4e3f6811163a to your computer and use it in GitHub Desktop.
Check window class and name (rules) in Xorg
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/sh | |
xprop |awk ' | |
/^WM_CLASS/{sub(/.* =/, "instance:"); sub(/,/, "\nclass:"); print} | |
/^WM_NAME/{sub(/.* =/, "title:"); print}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment