diff options
author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-17 09:44:17 +0200 |
---|---|---|
committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-17 09:44:17 +0200 |
commit | a420ceab50b896a6b6edc81c2a42c4ddc75b867e (patch) | |
tree | 6f8c23d906d669fb71807d074cd38277ec0b180c /config.default.h | |
parent | 0e1c649dca9a076ab6c011565467f4e7cacfbfd4 (diff) | |
download | dwm-a420ceab50b896a6b6edc81c2a42c4ddc75b867e.tar.gz dwm-a420ceab50b896a6b6edc81c2a42c4ddc75b867e.tar.bz2 dwm-a420ceab50b896a6b6edc81c2a42c4ddc75b867e.zip |
applied the shorter xprop command
Diffstat (limited to 'config.default.h')
-rw-r--r-- | config.default.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.default.h b/config.default.h index 7e9b7ef..387b24f 100644 --- a/config.default.h +++ b/config.default.h @@ -49,7 +49,7 @@ static Key key[] = { \ }; /* Query class:instance for regex matching info with following command: - * xprop | grep WM_CLASS | sed 's/"//g;s/,//g' | awk '{ printf("%s:%s", $4, $3) }' */ + * xprop | awk -F'"' '/^WM_CLASS/ { printf "%s:%s\n", $4, $2 }'*/ #define RULES \ static Rule rule[] = { \ /* class:instance regex tags regex isfloat */ \ |