aboutsummaryrefslogtreecommitdiffstats
path: root/config/waybar
diff options
context:
space:
mode:
authorJaKooLit <jimmielovejay@gmail.com>2023-12-12 10:18:28 +0900
committerJaKooLit <jimmielovejay@gmail.com>2023-12-12 10:18:28 +0900
commitef050fcb8e8857710fa46eb45f2e1914f7ef5339 (patch)
treefff2885ac7e6668e7805a7312ccb3b44846db2aa /config/waybar
parentf3333928f358275a36e2eb340284a7d0c2af7df2 (diff)
added more function for waybar mpris module
Diffstat (limited to 'config/waybar')
-rw-r--r--config/waybar/modules9
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,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage