~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/gnus-local.el.distorted: Sink `gnus-posting-styles' below `odin'.
[profile]
/
bin
/
wakey.sh
diff --git
a/bin/wakey.sh
b/bin/wakey.sh
index
6f008a9
..
9a05258
100644
(file)
--- a/
bin/wakey.sh
+++ b/
bin/wakey.sh
@@
-35,7
+35,7
@@
__wakey_precmd () {
if (( win == WINDOWID )); then
suppress=t
else
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
}')
sed -n '/^ *[0-9]\+ child\(ren\)\?[.:]$/,$ {
/^ *\(0x[0-9a-f]\+\) (.*$/s//\1/p
}')
@@
-61,9
+61,8
@@
__wakey_precmd () {
}
case ${DISPLAY+t},${WINDOWID+t},${__mdw_precmd_hook+t},${mdw__preexec_hook+t} in
}
case ${DISPLAY+t},${WINDOWID+t},${__mdw_precmd_hook+t},${mdw__preexec_hook+t} in
- t,t,t,t) ;;
- *)
- if __mdw_programp notify-send ; then
+ t,t,t,t)
+ if __mdw_programp notify-send; then
__mdw_addhook __mdw_preexec_hook __wakey_preexec
__mdw_addhook __mdw_precmd_hook __wakey_precmd
fi
__mdw_addhook __mdw_preexec_hook __wakey_preexec
__mdw_addhook __mdw_precmd_hook __wakey_precmd
fi