diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index bc0e8113..62ef2d4a 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -121,11 +121,20 @@ super + {Left,Down,Up,Right} bspc node -v {-20 0,0 20,0 -20,20 0} # -## audio and backlight +## audio # + XF86AudioRaiseVolume pactl set-sink-volume 0 +5% XF86AudioLowerVolume pactl set-sink-volume 0 -5% XF86AudioMute pactl set-sink-mute 0 toggle + +# +## backlight +# + +XF86MonBrightness{Up,Down} + xbacklight -{inc,dec} 5 & + diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 3f8ac078..1f8b64f0 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -139,6 +139,7 @@ rofi kitty polybar + xorg.xbacklight steam winetricks wineWowPackages.staging diff --git a/modules/desktop/bspwm.nix b/modules/desktop/bspwm.nix index 4f5e015c..c827b02a 100644 --- a/modules/desktop/bspwm.nix +++ b/modules/desktop/bspwm.nix @@ -25,6 +25,7 @@ in { (polybar.override { pulseSupport = true; }) + xorg.xbacklight ]; }; }