sway: use brightnessctl instead of light

This commit is contained in:
leo 2023-06-06 15:56:30 +02:00
parent 0cbded6e9c
commit ade23c134a
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -625,8 +625,8 @@ bindsym
--locked XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
--locked XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle;exec notify-send -t3600 'audio muted'
--locked XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle;exec notify-send -t 3600 'mic mute toggle'
--locked XF86MonBrightnessUp exec light -A 5
--locked XF86MonBrightnessDown exec light -U 5
--locked XF86MonBrightnessUp exec brightnessctl s +5%
--locked XF86MonBrightnessDown exec brightnessctl s 5%-
--locked $mod+Ctrl+p exec playerctl play-pause
--locked $mod+Ctrl+n exec playerctl next
--locked $mod+Ctrl+Shift+n exec playerctl previous