From 6f45972265b532365421658f1370742bb82b757b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Wed, 9 Feb 2022 19:50:38 +0100 Subject: Changed default notification system to herbe --- brightness | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'brightness') diff --git a/brightness b/brightness index 46fd0a8..b2ff43a 100755 --- a/brightness +++ b/brightness @@ -1,7 +1,12 @@ #!/bin/sh # Increase / decrease brightness, and pops up a notification -# Requires: xbacklight, notify-send +# Requires: xbacklight, a notification program such as herbe or notify-send # Usage: brightness {inc|dec} n -xbacklight -$1 $2 && notify-send "Brightness: $(xbacklight | sed 's/\..*$//')%" +#notify="notify-send" +notify="herbe" + +pkill herbe # comment this too if not using herbe + +xbacklight -$1 $2 && $notify "Brightness: $(xbacklight | sed 's/\..*$//')%" -- cgit v1.3