ref: 3b3dad20e1970bc2c81890070500b3a0d8db8df1
parent: d1017092f2e5dadefd03d9687f02ff83be70e454
author: Halfwit <michaelmisch1985@gmail.com>
date: Sat Mar 10 08:08:59 PST 2018
Use existing variable Signed-off-by: Halfwit <michaelmisch1985@gmail.com>
--- a/hwwm
+++ b/hwwm
@@ -7,9 +7,9 @@
fullscreen="$(watom `lsw -r` FS 2>/dev/null)"
case "$ev" in
# Focus in
- 9*) chwb -s 1 -c '#3c3836' "${ev#*:}" ;;
+ 9*) chwb -s 1 -c 3c3836 "$wid" ;;
# Focus out
- 10*) chwb -s 0 "${ev#*:}" ;;
+ 10*) chwb -s 0 "$wid" ;;
# Unmap
18*) if test -z $fullscreen; then
$DIR/wshuf | xargs -n 5 wtp