From c73969fb58312a11df1332ed96dd9c8d7859bd6b Mon Sep 17 00:00:00 2001 From: SeerLite Date: Tue, 29 Sep 2020 16:30:18 -0300 Subject: [PATCH] bspwmrc: Start sxhkd on run level 0 --- examples/bspwmrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/bspwmrc b/examples/bspwmrc index ab87d7fa..4d114d81 100755 --- a/examples/bspwmrc +++ b/examples/bspwmrc @@ -1,6 +1,9 @@ #! /bin/sh -pgrep -x sxhkd > /dev/null || sxhkd & +if [ "$1" = 0 ]; then + # won't run on restarts + sxhkd & +fi bspc monitor -d I II III IV V VI VII VIII IX X