From f5677f066c62af873337cb4661e4168abffd5205 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 5 Oct 2024 15:30:34 +0100 Subject: Update dwmblocks status bar in SXHkD instead of using notify-send --- SXHkD/.config/sxhkd/sxhkdrc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'SXHkD/.config/sxhkd/sxhkdrc') diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc index 7a8e82f..9d13ce8 100644 --- a/SXHkD/.config/sxhkd/sxhkdrc +++ b/SXHkD/.config/sxhkd/sxhkdrc @@ -104,20 +104,20 @@ Scroll_Lock # Brightness XF86MonBrightness{Down,Up} - xbacklight -{dec,inc} 25; \ - notify-send -u low "Brightness: $(xbacklight)" + kill -37 $(pidof dwmblocks); \ + xbacklight -{dec,inc} 5; shift + XF86MonBrightness{Down,Up} - xbacklight -{dec,inc} 5; \ - notify-send -u low "Brightness: $(xbacklight)" + kill -37 $(pidof dwmblocks); \ + xbacklight -{dec,inc} 1; super + F{3,4} - xbacklight -{dec,inc} 25; \ - notify-send -u low "Brightness: $(xbacklight)" + kill -37 $(pidof dwmblocks); \ + xbacklight -{dec,inc} 5; super + shift + F{3,4} - xbacklight -{dec,inc} 5; \ - notify-send -u low "Brightness: $(xbacklight)" + kill -37 $(pidof dwmblocks); \ + xbacklight -{dec,inc} 1; ;; Local Variables: ;; mode: conf -- cgit v1.2.3-13-gbd6f