diff options
| author | marcellus <msimon_fr@hotmail.com> | 2023-06-10 08:50:02 +0200 |
|---|---|---|
| committer | marcellus <msimon_fr@hotmail.com> | 2023-06-10 08:50:02 +0200 |
| commit | f8e2c21e3006cee4aef9456cedab10b3f8f83ad6 (patch) | |
| tree | a3296ce08ca200fbc45ccd55bac33eda514012fd /sxhkd | |
| parent | 462688791c45e97dd94e5ca5b79e54a585228903 (diff) | |
fix: kinda fixed the sxhkdrc to make the brightness work, requires you to export a BRIGHTNESS environment variable. But still, it doesn't really work
Diffstat (limited to 'sxhkd')
| -rw-r--r-- | sxhkd/sxhkdrc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc index a4f7c22..7b7c6b5 100644 --- a/sxhkd/sxhkdrc +++ b/sxhkd/sxhkdrc @@ -1,4 +1,5 @@ -# reload with kill -10 $(pidof sxhkd) +super + Escape + kill -10 $(pidof sxhkd) {super + Return,button8} $TERMINAL super + d @@ -10,9 +11,9 @@ Scroll_Lock Print screenshot XF86MonBrightnessUp - setbrightness $(printf "%.2f" "$(($(xrandr --verbose | awk '/Brightness/ {print $2;exit}') + 0.1))") + BRIGHTNESS=$(($BRIGHTNESS+0.1));setbrightness $BRIGHTNESS XF86MonBrightnessDown - setbrightness $(printf "%.2f" "$(($(xrandr --verbose | awk '/Brightness/ {print $2;exit}') - 0.1))") + BRIGHTNESS=$(($BRIGHTNESS-0.1));setbrightness $BRIGHTNESS XF86AudioRaiseVolume pamixer -i 5; kill -44 $(pidof dwmblocks) XF86AudioLowerVolume |
