add bind for lid switch to lock

This commit is contained in:
2025-08-01 19:17:08 -07:00
parent dac65222bf
commit c81e517a87
3 changed files with 15 additions and 0 deletions

View File

@@ -297,6 +297,8 @@ bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
# Lock when lid closed
bindl = , switch:on:Lid Switch, exec, loginctl lock-session
# Flag "e" means it will repeat when held down
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+