summaryrefslogtreecommitdiff
path: root/icewm/keys
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-07-21 07:59:00 +0200
committerAlex Auvolat <alex@adnab.me>2023-07-21 07:59:00 +0200
commit5da3532a9a30616d43492ed2ef9ea07394d7722f (patch)
treedb16f1285d53b6b96f86ce46bcafc3c94bbb9fee /icewm/keys
parentc865834d3bace7b5b66cdb4618c776e5e7233586 (diff)
downloaduser-config-5da3532a9a30616d43492ed2ef9ea07394d7722f.tar.gz
user-config-5da3532a9a30616d43492ed2ef9ea07394d7722f.zip
use brightnessctl instead of xbacklight
Diffstat (limited to 'icewm/keys')
-rw-r--r--icewm/keys4
1 files changed, 2 insertions, 2 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%"