mirror of
https://github.com/mangowm/mango.git
synced 2026-05-02 14:27:27 -07:00
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:
+11
-1
@@ -195,6 +195,16 @@ bind=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SINK@ 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
|
||||
|
||||
| Command | Param | Description |
|
||||
@@ -202,4 +212,4 @@ bind=SHIFT,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SOURCE@ toggle
|
||||
| `smartmovewin` | `left/right/up/down` | Move floating window by snap distance. |
|
||||
| `smartresizewin` | `left/right/up/down` | Resize floating window by snap distance. |
|
||||
| `movewin` | `(x,y)` | Move floating window. |
|
||||
| `resizewin` | `(width,height)` | Resize window. |
|
||||
| `resizewin` | `(width,height)` | Resize window. |
|
||||
|
||||
Reference in New Issue
Block a user