home
/
code
/
khome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Accept a name for dl and include starter script file
[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
+# 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
This page took
0.04916 seconds
and
4
git commands to generate.