diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2023-12-12 10:18:28 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2023-12-12 10:18:28 +0900 |
| commit | ef050fcb8e8857710fa46eb45f2e1914f7ef5339 (patch) | |
| tree | fff2885ac7e6668e7805a7312ccb3b44846db2aa | |
| parent | f3333928f358275a36e2eb340284a7d0c2af7df2 (diff) | |
added more function for waybar mpris module
| -rw-r--r-- | config/waybar/modules | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/config/waybar/modules b/config/waybar/modules index ef61f9c3..5115531a 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -346,12 +346,19 @@ "mpris": { "format": "{player_icon}", "format-paused": "{status_icon} <i>{dynamic}</i>", + "on-click-middle": "playerctl play-pause", + "on-click": "playerctl previous", + "on-click-right": "playerctl next", + "scroll-step": 5.0, + "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", + "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", + "smooth-scrolling-threshold": 1, "player-icons": { "default": "▶", "mpv": "📻", }, "status-icons": { - "paused": "⏸" + "paused": "" }, // "ignored-players": ["firefox"] "max-length": 30, |
