Added click control for media player.

This commit is contained in:
James Patrick 2019-04-30 23:27:35 -04:00
parent b37346e31a
commit 29f7ddbebf

View File

@ -102,7 +102,8 @@
"spotify": "", "spotify": "",
"default": "🎜" "default": "🎜"
}, },
"on-click": "playerctl play-pause",
"escape": true, "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"
} }
} }