~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
bd78f39
)
bin/wakey.sh: Cope if the `_NET_ACTIVE_WINDOW' property is missing.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 17 May 2020 21:24:48 +0000
(22:24 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sun, 17 May 2020 21:24:48 +0000
(22:24 +0100)
bin/wakey.sh
patch
|
blob
|
blame
|
history
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 |