Use tail instead of interval for instant updates

This commit is contained in:
RealStickman 2021-06-01 16:13:09 +02:00
parent 1aa153734f
commit ef3ae55b24

View File

@ -99,7 +99,7 @@ click-middle = ~/scripts/polybar/player-mpris-tail.py previous &
[module/dunst-notification-display] [module/dunst-notification-display]
type = custom/script type = custom/script
exec = ~/scripts/polybar/dunst-notification-display.sh exec = ~/scripts/polybar/dunst-notification-display.sh
interval = 600 tail = true
format-foreground = ${colors.foreground} format-foreground = ${colors.foreground}
format-background = ${colors.modbackground} format-background = ${colors.modbackground}
click-left = ~/scripts/polybar/dunst-notification-display.sh toggle & click-left = ~/scripts/polybar/dunst-notification-display.sh toggle &
@ -127,7 +127,6 @@ type = custom/text
content = " ▶ " content = " ▶ "
content-background = ${colors.modbackground} content-background = ${colors.modbackground}
content-foreground = ${colors.foreground} content-foreground = ${colors.foreground}
click-left = ~/scripts/polybar/powermenu click-left = ~/scripts/polybar/powermenu