X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/8f3f3f67468f74a58cb844aaa50390a498e05f59..57a3a881a30a4408d0a36e60a0c550b41f061815:/bin/wakey.sh diff --git a/bin/wakey.sh b/bin/wakey.sh index 469b3cf..bab1cdf 100644 --- 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