aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 17:05:31 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 17:05:31 +0530
commite46d8b18ea0c31f074fe70f7df6061556b71f570 (patch)
tree1271f1a95795e03158e001ded97a6810b6418642
parentb835e2b52c85a5bfe45e1f6291847d92e8891d8d (diff)
downloaddotfiles-e46d8b18ea0c31f074fe70f7df6061556b71f570.tar.gz
dotfiles-e46d8b18ea0c31f074fe70f7df6061556b71f570.tar.bz2
dotfiles-e46d8b18ea0c31f074fe70f7df6061556b71f570.zip
(SXHkD)~brightness adjusts by 25, super+brightness adjusts by 5
-rw-r--r--SXHkD/.config/sxhkd/sxhkdrc11
1 files changed, 10 insertions, 1 deletions
diff --git a/SXHkD/.config/sxhkd/sxhkdrc b/SXHkD/.config/sxhkd/sxhkdrc
index a0c3bd9..2726d17 100644
--- a/SXHkD/.config/sxhkd/sxhkdrc
+++ b/SXHkD/.config/sxhkd/sxhkdrc
@@ -80,7 +80,7 @@ XF86AudioMute
Pause
playerctl --player=spotify play-pause
-# Connections and brightness
+# Connections
Print
scrot -f -s '%Y%m%d_%H%M%S.png' -e 'mv $f ~/Pictures/';
@@ -91,11 +91,20 @@ Scroll_Lock
nmcli c up "$conn"; \
notify-send -u low "Reset " $conn;
+# Brightness
XF86MonBrightness{Down,Up}
+ xbacklight -{dec,inc} 25; \
+ notify-send -u low "Brightness: $(xbacklight)"
+
+super + XF86MonBrightness{Down,Up}
xbacklight -{dec,inc} 5; \
notify-send -u low "Brightness: $(xbacklight)"
super + F{3,4}
+ xbacklight -{dec,inc} 25; \
+ notify-send -u low "Brightness: $(xbacklight)"
+
+super + shift + F{3,4}
xbacklight -{dec,inc} 5; \
notify-send -u low "Brightness: $(xbacklight)"