~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bin/wakey.sh: Cope if the `_NET_ACTIVE_WINDOW' property is missing.
[profile]
/
bin
/
wakey.sh
diff --git
a/bin/wakey.sh
b/bin/wakey.sh
index
c11aef5
..
469b3cf
100644
(file)
--- a/
bin/wakey.sh
+++ b/
bin/wakey.sh
@@
-32,7
+32,7
@@
__wakey_precmd () {
t) ;;
*)
win=$(xprop -root _NET_ACTIVE_WINDOW | sed 's/^.*# //')
- if (( win == WINDOWID )); then
+ if
[[ $win = *"not found." ]] ||
(( win == WINDOWID )); then
suppress=t
else
for i in $(xwininfo -tree -id $win 2>/dev/null |