Display playing media information

This commit is contained in:
2020-06-25 23:26:28 +02:00
parent 6cdabb78be
commit d8b40ce427
2 changed files with 40 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ module-margin-right = 2
modules-left = i3 pulseaudio xbacklight battery-custom
modules-center = datetime
modules-right = vpn wlan bluetooth powermenu
modules-right = media vpn wlan bluetooth powermenu
tray-position = ${env:TRAY_POS:right}
tray-detached = false
@@ -126,6 +126,13 @@ label = "%date% - %time%"
;#################################################
;#################################################
[module/media]
type=custom/script
exec = ~/.config/polybar/scripts/media.sh
interval = 1
;#################################################
[module/vpn]
type = custom/script
exec = ~/.config/polybar/scripts/running-vpn.sh