summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--icewm/keys4
-rw-r--r--nixos/icewm.nix2
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