From 29f7ddbebf44b8bd488e5fff529297185d7fdddd Mon Sep 17 00:00:00 2001 From: James Patrick Date: Tue, 30 Apr 2019 23:27:35 -0400 Subject: [PATCH] Added click control for media player. --- waybar/config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/waybar/config.json b/waybar/config.json index 3813238..ce2b476 100644 --- a/waybar/config.json +++ b/waybar/config.json @@ -102,7 +102,8 @@ "spotify": "", "default": "🎜" }, + "on-click": "playerctl play-pause", "escape": true, - "exec": "$HOME/.config/waybar/custom_modules/mediaplayer.py 2> /dev/null" // Script in resources folder + "exec": "$HOME/.config/waybar/custom_modules/mediaplayer.py 2> /dev/null" } }