refactor: splitted sway config

This commit is contained in:
oxypomme
2026-01-04 13:50:29 +01:00
parent db748c7714
commit da10125fb2
23 changed files with 426 additions and 270 deletions

View File

@@ -0,0 +1,17 @@
# Key bindings for media player control via MPRIS D-Bus interface
#
# Requires: playerctl
# Allow Play and Stop bindings even if the screen is locked
bindsym --locked {
XF86AudioPlay exec playerctl play-pause
XF86AudioStop exec playerctl stop
}
bindsym {
XF86AudioForward exec playerctl position +10
XF86AudioNext exec playerctl next
XF86AudioPause exec playerctl pause
XF86AudioPrev exec playerctl previous
XF86AudioRewind exec playerctl position -10
}