aboutsummaryrefslogtreecommitdiff
path: root/SXHkD
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-10-05 15:30:34 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-10-05 15:33:30 +0100
commitf5677f066c62af873337cb4661e4168abffd5205 (patch)
tree667295a88f1749168459bde92e039303af34a5ed /SXHkD
parente19d0e6256fc447b0276440fc83f0057ac0e5c95 (diff)
downloaddotfiles-f5677f066c62af873337cb4661e4168abffd5205.tar.gz
dotfiles-f5677f066c62af873337cb4661e4168abffd5205.tar.bz2
dotfiles-f5677f066c62af873337cb4661e4168abffd5205.zip
Update dwmblocks status bar in SXHkD instead of using notify-send
Diffstat (limited to 'SXHkD')
-rw-r--r--SXHkD/.config/sxhkd/sxhkdrc16
1 files changed, 8 insertions, 8 deletions
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