From 4c1e8f629d52f768713ccd142f292cfdfa442a2e Mon Sep 17 00:00:00 2001 From: hok7z Date: Sun, 25 Dec 2022 13:12:07 +0200 Subject: [PATCH] Add sxhkd restart --- .config/sxhkd/sxhkdrc | 2 +- bin/sxhkd-restart | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 bin/sxhkd-restart diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 4723c8e..2afed52 100755 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -6,7 +6,7 @@ # ------------------------------------------------------- super + shift + e - $HOME/bin/restart_sxhkd + $HOME/bin/sxhkd-restart # quit/restart bspwm super + alt + {q,r} diff --git a/bin/sxhkd-restart b/bin/sxhkd-restart new file mode 100755 index 0000000..f84ad6a --- /dev/null +++ b/bin/sxhkd-restart @@ -0,0 +1,2 @@ +pkill -USR1 -x sxhkd +dunstify "sxhkd restarted" -t 3500