about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-17 09:44:17 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-17 09:44:17 +0200
commita420ceab50b896a6b6edc81c2a42c4ddc75b867e (patch)
tree6f8c23d906d669fb71807d074cd38277ec0b180c
parent0e1c649dca9a076ab6c011565467f4e7cacfbfd4 (diff)
downloaddwm-a420ceab50b896a6b6edc81c2a42c4ddc75b867e.tar.gz
applied the shorter xprop command
-rw-r--r--config.default.h2
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 */ \
6'>116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238