home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch experiment README to .md
[khome.git]
/
home
/
.xlaunch.d
/
xbindkeys
diff --git
a/home/.xlaunch.d/xbindkeys
b/home/.xlaunch.d/xbindkeys
index
73cb8e9
..
2a3569d
100755
(executable)
--- a/
home/.xlaunch.d/xbindkeys
+++ b/
home/.xlaunch.d/xbindkeys
@@
-2,4
+2,8
@@
set -e
set -e
+# XXX Since this script is also named xbindkeys, we avoid suicide by:
+# 1. not using killall;
+# 2. using "command" (or "cmd") instead of "comm".
+ps -eo pid,command | awk '$2 ~ "^xbindkeys" {print $1}' | xargs -I% kill %
xbindkeys -n
xbindkeys -n
This page took
0.026519 seconds
and
4
git commands to generate.