~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 `_NET_ACTIVE_WINDOW' is `CARDINAL' rather than `WINDOW'.
[profile]
/
bin
/
wakey.sh
diff --git
a/bin/wakey.sh
b/bin/wakey.sh
index
469b3cf
..
bab1cdf
100644
(file)
--- a/
bin/wakey.sh
+++ b/
bin/wakey.sh
@@
-31,7
+31,7
@@
__wakey_precmd () {
case $IGNORE_WINDOW_CHECK in
t) ;;
*)
- win=$(xprop -root _NET_ACTIVE_WINDOW | sed 's/^.*
#
//')
+ win=$(xprop -root _NET_ACTIVE_WINDOW | sed 's/^.*
[#=]
//')
if [[ $win = *"not found." ]] || (( win == WINDOWID )); then
suppress=t
else