feat: update media keybinds to use f-keys

This commit is contained in:
2026-03-01 18:42:46 +00:00
parent 2a0c796952
commit 3827de7d7c

View File

@@ -43,20 +43,19 @@ bindm = $mainMod, mouse:273, resizewindow
# Change wallpaper # Change wallpaper
bind = $mainMod, W, exec, ~/.config/wofi/scripts/wallpaper.sh bind = $mainMod, W, exec, ~/.config/wofi/scripts/wallpaper.sh
# Laptop multimedia keys for volume and LCD brightness
bindel = $mainMod, P, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = $mainMod, O, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = $mainMod, N, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = $mainMod, M, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = $mainMod, L, exec, brightnessctl -e4 -n2 set 5%+ bindel = $mainMod, L, exec, brightnessctl -e4 -n2 set 5%+
bindel = $mainMod, K, exec, brightnessctl -e4 -n2 set 5%- bindel = $mainMod, K, exec, brightnessctl -e4 -n2 set 5%-
# Requires playerctl # Volume
bindl = , XF86AudioNext, exec, playerctl next bindl = , F4, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , F5, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , F6, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl = , XF86AudioPrev, exec, playerctl previous bindl = , F7, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
# Playback (requires playerctl)
bindl = , F2, exec, playerctl previous
bindl = , F1, exec, playerctl play-pause
bindl = , F3, exec, playerctl next
bind = SUPER CTRL, left, swapwindow, l bind = SUPER CTRL, left, swapwindow, l