From 115a89b5c6b89c97fa43b9620707268144551d43 Mon Sep 17 00:00:00 2001 From: Alexander Bocken Date: Wed, 30 Sep 2020 15:33:47 +0200 Subject: [PATCH] added statusbar signal updater --- bt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bt b/bt index 496e092..f177da5 100755 --- a/bt +++ b/bt @@ -2,6 +2,9 @@ SCAN_PERIOD=5 AUTOTRUST=false #trust every newly paired device AUTOSCAN=false #immediately start scanning when started to speed up pairing process +#If you want to update symbols in your status bar add your details below: +bar="dwmblocks" +barsignal="4" #locations of blacklist and hard coded list of paired devices (watch out, need to modify Makefile as well if you want to change these values and still use make install) BLACKLIST=${XDG_DATA_HOME:-$HOME/.local/share}/bt/blacklist @@ -102,6 +105,7 @@ poweroption="$( echo "$powerstatus" | sed 's/yes/power off/; s/no/power on/' )" cleanup(){ scan off rm /tmp/bt_start_scan$$ 2> /dev/null + pkill -RTMIN+$barsignal $bar exit 0 }