[qutebrowser] Add unread mail indicator

This commit is contained in:
Marcel Kapfer 2021-05-09 21:12:34 +02:00
parent b84cba11b5
commit f78f4737d0
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 17 additions and 2 deletions

View File

@ -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 ##########
; #########################################################