From 765f2e5468613a984cb137ed96334ed78d6d0781 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Tue, 11 Jul 2023 06:32:58 +0300 Subject: [PATCH] fix backlight --- config/sxhkd/sxhkdrc | 6 ++++++ modules/desktop/bspwm/default.nix | 3 +++ 2 files changed, 9 insertions(+) diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc index bc0e8113..2f2b366f 100644 --- a/config/sxhkd/sxhkdrc +++ b/config/sxhkd/sxhkdrc @@ -129,3 +129,9 @@ XF86AudioLowerVolume pactl set-sink-volume 0 -5% XF86AudioMute pactl set-sink-mute 0 toggle + +# +## backlight +# +XF86MonBrightness{Up,Down} + brightnessctl {s +100,s 100-} diff --git a/modules/desktop/bspwm/default.nix b/modules/desktop/bspwm/default.nix index 7824825c..b302d687 100644 --- a/modules/desktop/bspwm/default.nix +++ b/modules/desktop/bspwm/default.nix @@ -50,7 +50,10 @@ in users.users.sako.packages = with pkgs; [ polybar rofi + # network networkmanagerapplet + # brightness + brightnessctl ]; home-manager.users.sako = { pkgs , ...}: {