Support headset buttons

This commit is contained in:
Yash Karandikar 2023-08-14 15:48:23 -05:00
parent ea4f851d28
commit 0da3593553

View file

@ -30,7 +30,6 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock -i ~/Downloads/wal
# and nm-applet is a desktop environment-independent system tray GUI for it.
exec --no-startup-id nm-applet
exec_always bluetoothctl power off
exec xinput set-prop 12 285 1 &
exec xinput set-prop "DLL06FE:00 04F3:300F Touchpad" "libinput Natural Scrolling Enabled" 1
# exec xrandr --output eDP1 --scale 0.8x0.8
@ -65,6 +64,9 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle
bindsym XF86AudioPlay exec --no-startup-id playerctl play
bindsym XF86AudioPause exec --no-startup-id playerctl pause
bindsym XF86AudioNext exec --no-startup-id playerctl next
# Use brightnessctl to adjust backlight brightness
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +10%