diff options
| author | marcellus <msimon_fr@hotmail.com> | 2023-06-08 20:37:20 +0200 |
|---|---|---|
| committer | marcellus <msimon_fr@hotmail.com> | 2023-06-08 20:37:20 +0200 |
| commit | a6a7d0273b1941c3145b97a9463eea13577e31e7 (patch) | |
| tree | 40fe103746240ab4dd51291071f816b2d331caae /sxhkd | |
| parent | 236fd252056ead6a4b4c489f3323f5ce4603d84c (diff) | |
feat: added brightness control support
Diffstat (limited to 'sxhkd')
| -rw-r--r-- | sxhkd/sxhkdrc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index 2f04940..a4f7c22 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -9,12 +9,16 @@ Scroll_Lock themeswap Print screenshot +XF86MonBrightnessUp + setbrightness $(printf "%.2f" "$(($(xrandr --verbose | awk '/Brightness/ {print $2;exit}') + 0.1))") +XF86MonBrightnessDown + setbrightness $(printf "%.2f" "$(($(xrandr --verbose | awk '/Brightness/ {print $2;exit}') - 0.1))") XF86AudioRaiseVolume pamixer -i 5; kill -44 $(pidof dwmblocks) XF86AudioLowerVolume pamixer -d 5; kill -44 $(pidof dwmblocks) XF86AudioMute - pamixer -t; kill + pamixer -t; kill -44 $(pidof dwmblocks) XF86Mail betterbird {super + n,super + shift + n} |
