From d73317997fba80bce81b1af800ee43ed82d0ba24 Mon Sep 17 00:00:00 2001 From: Djeeberjr Date: Sun, 29 May 2022 18:44:52 +0200 Subject: [PATCH] added click handler to polybar playerctl --- .config/polybar/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/polybar/config b/.config/polybar/config index ea78651..ba34acb 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -204,6 +204,9 @@ exec = $XDG_CONFIG_HOME/polybar/playerctl-meta.sh tail = true +click-left = playerctl --player=spotify,%any play-pause +click-right = playerctl --player=spotify,%any next + format-foreground = ${colors.text} format-underline = ${colors.spotify-ul}