♻️ refactor: remove unused settings from custom/media

This commit is contained in:
João Dias
2024-08-16 20:47:54 -03:00
parent c4233067d2
commit d9dd2f2d9a
+5 -7
View File
@@ -120,7 +120,8 @@
"playing": ""
},
"tooltip-format": "MPD (connected)",
"tooltip-format-disconnected": "MPD (disconnected)"
"tooltip-format-disconnected": "MPD (disconnected)",
"exec": "mpd"
},
"idle_inhibitor": {
"format": "{icon}",
@@ -215,21 +216,18 @@
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"max-length": 50,
"escape": true,
"format-icons": {
"firefox": "",
"discord": "",
"spotify": "",
"spotube": " ",
"default": "󰎇"
},
"tooltip": true,
"tooltip-format": {
"1": "Scroll-Up: Next<br>Scroll-Down: Previous"
},
"on-scroll-down": "playerctl --player spotify previous",
"on-scroll-up": "playerctl --player spotify next",
"exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null", // Script in resources folder
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null", // Script in resources folder
"on-click": "playerctl --player spotify play-pause" // Change "spotify to your preferred player"
}
}