From d87b23f0187ab4b710a019a8ff1298e27b2a6969 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 14 Oct 2019 15:49:26 +0200 Subject: l xmonad: use acpilight for brightness control --- lass/5pkgs/custom/xmonad-lass/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lass/5pkgs/custom/xmonad-lass/default.nix b/lass/5pkgs/custom/xmonad-lass/default.nix index 854a6a38d..82b4497cf 100644 --- a/lass/5pkgs/custom/xmonad-lass/default.nix +++ b/lass/5pkgs/custom/xmonad-lass/default.nix @@ -117,8 +117,8 @@ myKeyMap = , ("", spawn "${pkgs.pulseaudioLight.out}/bin/pactl -- set-sink-mute @DEFAULT_SINK@ toggle") , ("", spawn "${pkgs.pulseaudioLight.out}/bin/pactl -- set-sink-volume @DEFAULT_SINK@ +4%") , ("", spawn "${pkgs.pulseaudioLight.out}/bin/pactl -- set-sink-volume @DEFAULT_SINK@ -4%") - , ("", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -time 0 -dec 1%") - , ("", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -time 0 -inc 1") + , ("", spawn "${pkgs.acpilight}/bin/xbacklight -time 0 -dec 1") + , ("", spawn "${pkgs.acpilight}/bin/xbacklight -time 0 -inc 1") , ("", gridselectWorkspace gridConfig W.view) , ("M4-C-k", spawn "${pkgs.xorg.xkill}/bin/xkill") @@ -159,10 +159,10 @@ myKeyMap = ${pkgs.xclip}/bin/xclip -o | ${pkgs.xdotool}/bin/xdotool type -f - ''}") - , ("M4-", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -set 1") - , ("M4-", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -set 10") - , ("M4-", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -set 33") - , ("M4-", spawn "${pkgs.xorg.xbacklight}/bin/xbacklight -set 100") + , ("M4-", spawn "${pkgs.acpilight}/bin/xbacklight -set 1") + , ("M4-", spawn "${pkgs.acpilight}/bin/xbacklight -set 10") + , ("M4-", spawn "${pkgs.acpilight}/bin/xbacklight -set 33") + , ("M4-", spawn "${pkgs.acpilight}/bin/xbacklight -set 100") , ("M4-", spawn "${pkgs.redshift}/bin/redshift -O 4000 -g 0.9:0.8:0.8") , ("M4-", spawn "${pkgs.redshift}/bin/redshift -x") -- cgit v1.2.3