From 1c1d4d33618eb647ff38e5802ecf6e26d16cad38 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 7 Apr 2021 20:19:45 +0200 Subject: Scripts now check env var for status bar name. --- brightness.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'brightness.sh') diff --git a/brightness.sh b/brightness.sh index cf2480f..f5cf952 100755 --- a/brightness.sh +++ b/brightness.sh @@ -23,4 +23,4 @@ else fi dunstify -r "$(dunstifyIDs.sh "brightness")" -t 500 "$(~/scripts/i3blocks/i3brightness.sh)" -pkill -SIGRTMIN+11 i3blocks +[ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+11 "$STATUS_BAR" -- cgit v1.2.1