aboutsummaryrefslogtreecommitdiff
path: root/brightness.sh
diff options
context:
space:
mode:
Diffstat (limited to 'brightness.sh')
-rwxr-xr-xbrightness.sh2
1 files changed, 1 insertions, 1 deletions
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"