diff options
author | Alex Auvolat <alex@adnab.me> | 2023-07-21 07:59:00 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-07-21 07:59:00 +0200 |
commit | 5da3532a9a30616d43492ed2ef9ea07394d7722f (patch) | |
tree | db16f1285d53b6b96f86ce46bcafc3c94bbb9fee | |
parent | c865834d3bace7b5b66cdb4618c776e5e7233586 (diff) | |
download | user-config-5da3532a9a30616d43492ed2ef9ea07394d7722f.tar.gz user-config-5da3532a9a30616d43492ed2ef9ea07394d7722f.zip |
use brightnessctl instead of xbacklight
-rw-r--r-- | icewm/keys | 4 | ||||
-rw-r--r-- | nixos/icewm.nix | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -3,8 +3,8 @@ key "Super+p" dmenu_run key "Super+Shift+r" icewm --restart key "Super+Shift+x" i3lock -c 000000 -key "XF86MonBrightnessDown" xbacklight -dec 10 -key "XF86MonBrightnessUp" xbacklight -inc 10 +key "XF86MonBrightnessDown" brightnessctl set +10% +key "XF86MonBrightnessUp" brightnessctl set 10%- key "XF86AudioMute" pactl set-sink-mute @DEFAULT_SINK@ toggle key "XF86AudioRaiseVolume" sh -c "pactl set-sink-mute @DEFAULT_SINK@ false && pactl set-sink-volume @DEFAULT_SINK@ +5%" diff --git a/nixos/icewm.nix b/nixos/icewm.nix index cf02cc1..6ecd806 100644 --- a/nixos/icewm.nix +++ b/nixos/icewm.nix @@ -5,7 +5,7 @@ environment.systemPackages = with pkgs; [ i3lock - xorg.xbacklight + brightnessctl pulseaudio pavucontrol networkmanagerapplet |