Add playback section to keys.md

Under the "Media Controls" section on "keys.md", add playback keybindings through the Playerctl command-line utility.
This commit is contained in:
Kiki 2026-03-19 16:29:15 +01:00 committed by GitHub
parent deb47e8ab9
commit ab6e8a6545
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -195,6 +195,16 @@ bind=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SINK@ toggle
bind=SHIFT,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SOURCE@ toggle bind=SHIFT,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SOURCE@ toggle
``` ```
#### Playback
Requires: `playerctl`
```ini
bind=NONE,XF86AudioNext,spawn,playerctl next
bind=NONE,XF86AudioPrev,spawn,playerctl previous
bind=NONE,XF86AudioPlay,spawn,playerctl play-pause
```
### Floating Window Movement ### Floating Window Movement
| Command | Param | Description | | Command | Param | Description |