~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bin/wakey.sh: Don't vomit at the terminal if the active window is dead.
[profile]
/
bin
/
wakey.sh
diff --git
a/bin/wakey.sh
b/bin/wakey.sh
index
1a1aab2
..
9a05258
100644
(file)
--- a/
bin/wakey.sh
+++ b/
bin/wakey.sh
@@
-35,7
+35,7
@@
__wakey_precmd () {
if (( win == WINDOWID )); then
suppress=t
else
- for i in $(xwininfo -tree -id $win |
+ for i in $(xwininfo -tree -id $win
2>/dev/null
|
sed -n '/^ *[0-9]\+ child\(ren\)\?[.:]$/,$ {
/^ *\(0x[0-9a-f]\+\) (.*$/s//\1/p
}')