Update dwmblocks status bar in SXHkD instead of using notify-send

This commit is contained in:
2024-10-05 15:30:34 +01:00
parent e19d0e6256
commit f5677f066c

View File

@@ -104,20 +104,20 @@ Scroll_Lock
# Brightness # Brightness
XF86MonBrightness{Down,Up} XF86MonBrightness{Down,Up}
xbacklight -{dec,inc} 25; \ kill -37 $(pidof dwmblocks); \
notify-send -u low "Brightness: $(xbacklight)" xbacklight -{dec,inc} 5;
shift + XF86MonBrightness{Down,Up} shift + XF86MonBrightness{Down,Up}
xbacklight -{dec,inc} 5; \ kill -37 $(pidof dwmblocks); \
notify-send -u low "Brightness: $(xbacklight)" xbacklight -{dec,inc} 1;
super + F{3,4} super + F{3,4}
xbacklight -{dec,inc} 25; \ kill -37 $(pidof dwmblocks); \
notify-send -u low "Brightness: $(xbacklight)" xbacklight -{dec,inc} 5;
super + shift + F{3,4} super + shift + F{3,4}
xbacklight -{dec,inc} 5; \ kill -37 $(pidof dwmblocks); \
notify-send -u low "Brightness: $(xbacklight)" xbacklight -{dec,inc} 1;
;; Local Variables: ;; Local Variables:
;; mode: conf ;; mode: conf