acpi keybindings for audio

This commit is contained in:
har0ke 2022-11-11 02:29:23 +01:00
parent c88be2a9f7
commit dd6c0d9134

View File

@ -42,8 +42,11 @@ exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
set $refresh_i3status killall -SIGUSR1 i3status
#bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.config/i3status-rust/volumectl.sh +10% && $refresh_i3status
#bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/i3status-rust/volumectl.sh -10% && $refresh_i3status
#bindsym XF86AudioMute exec --no-startup-id ~/.config/i3status-rust/togglemute.sh && $refresh_i3status
# bindsym XF86AudioLowerVolume exec --no-startup-id ~/.config/i3status-rust/volumectl.sh -10% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id /etc/acpi/toggle_mute.sh
bindsym XF86AudioRaiseVolume exec /etc/acpi/volume.sh +10%
bindsym XF86AudioLowerVolume exec /etc/acpi/volume.sh -10%
bindsym XF86MonBrightnessUp exec xbacklight -inc 10 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 10 # decrease screen brightness