From 5da3532a9a30616d43492ed2ef9ea07394d7722f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 21 Jul 2023 07:59:00 +0200 Subject: use brightnessctl instead of xbacklight --- icewm/keys | 4 ++-- nixos/icewm.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/icewm/keys b/icewm/keys index 547c1aa..875040f 100644 --- a/icewm/keys +++ b/icewm/keys @@ -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 -- cgit v1.2.3