c54d22a03ac0e2137bf9ae54c2a75f23d675b8d0
[khome.git] / home / .xlaunch.d / xbindkeys
1 #! /bin/bash
2
3 set -e
4
5 # XXX Since this script is also named xbindkeys, we avoid suicide by:
6 # 1. not using killall;
7 # 2. using "command" (or "cmd") instead of "comm".
8 ps -eo pid,command | awk '$2 ~ "^xbindkeys" {print $1}' | xargs -I% kill %
9 # xbindkeys -n -v
10 xbindkeys -n \
11 2> >(
12 while read -r line
13 do
14 notify-send -u low 'xbindkeys' "$line"
15 done
16 )
This page took 0.067175 seconds and 5 git commands to generate.