[qutebrowser] Add unread mail indicator
This commit is contained in:
parent
b84cba11b5
commit
f78f4737d0
1 changed files with 17 additions and 2 deletions
|
@ -77,7 +77,7 @@ override-redirect = true
|
||||||
|
|
||||||
modules-left = ewmh ewmh-arrow xwindow xwindow-arrow
|
modules-left = ewmh ewmh-arrow xwindow xwindow-arrow
|
||||||
modules-center =
|
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-position = right
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
|
@ -145,7 +145,7 @@ label = %date% %time%
|
||||||
type = custom/text
|
type = custom/text
|
||||||
content = "%{T3}%{T-}"
|
content = "%{T3}%{T-}"
|
||||||
content-foreground = ${colors.blue}
|
content-foreground = ${colors.blue}
|
||||||
content-background = ${colors.yellow}
|
content-background = ${colors.aqua}
|
||||||
|
|
||||||
[module/pulseaudio]
|
[module/pulseaudio]
|
||||||
type = internal/pulseaudio
|
type = internal/pulseaudio
|
||||||
|
@ -218,6 +218,21 @@ content = "%{T3}%{T-}"
|
||||||
content-foreground = ${colors.background}
|
content-foreground = ${colors.background}
|
||||||
content-background = ${colors.gray}
|
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 ##########
|
; ########## Settings ##########
|
||||||
; #########################################################
|
; #########################################################
|
||||||
|
|
Loading…
Reference in a new issue