Browse Source

[qutebrowser] Add unread mail indicator

main
Marcel Kapfer 9 months ago
parent
commit
f78f4737d0
Signed by: mmk2410 GPG Key ID: CADE6F0C09F21B09
  1. 19
      polybar/config

19
polybar/config

@ -77,7 +77,7 @@ override-redirect = true
modules-left = ewmh ewmh-arrow xwindow xwindow-arrow
modules-center =
modules-right = backlight-arrow backlight pulseaudio-arrow pulseaudio battery-arrow battery date-arrow date tray-arrow
modules-right = backlight-arrow backlight unread-mail-arrow unread-mail pulseaudio-arrow pulseaudio battery-arrow battery date-arrow date tray-arrow
tray-position = right
tray-padding = 2
@ -145,7 +145,7 @@ label = %date% %time%
type = custom/text
content = "%{T3}%{T-}"
content-foreground = ${colors.blue}
content-background = ${colors.yellow}
content-background = ${colors.aqua}
[module/pulseaudio]
type = internal/pulseaudio
@ -218,6 +218,21 @@ content = "%{T3}%{T-}"
content-foreground = ${colors.background}
content-background = ${colors.gray}
[module/unread-mail]
type = custom/script
format-background = ${colors.aqua}
format-foreground = ${colors.background}
format-padding = 1
format-prefix = "%{T2}  %{T-}"
exec = mu find flag:unread | wc -l
interval = 60
[module/unread-mail-arrow]
type = custom/text
content = "%{T3}%{T-}"
content-foreground = ${colors.aqua}
content-background = ${colors.yellow}
; #########################################################
; ########## Settings ##########
; #########################################################

Loading…
Cancel
Save