Add script to periodicaly watch imaps server. Some ergonomic improvements
This commit is contained in:
@@ -170,6 +170,24 @@ format-prefix-font = 2
|
||||
format-prefix-padding-right = 5px
|
||||
format-prefix-foreground=${colors.primary}
|
||||
|
||||
[module/watchdog]
|
||||
type = custom/script
|
||||
exec = /usr/local/share/dotfiles/scripts/mailbox.sh count
|
||||
interval = 30
|
||||
|
||||
format = <label>
|
||||
#format-prefix = "✗ "
|
||||
format-prefix = " "
|
||||
format-prefix-font = 2
|
||||
format-prefix-padding-right = 5px
|
||||
format-prefix-foreground=${colors.primary}
|
||||
|
||||
format-fail = <label-fail>
|
||||
format-fail-prefix = "✗ "
|
||||
format-fail-prefix-font = 0
|
||||
format-fail-prefix-foreground=${colors.alert}
|
||||
|
||||
click-left = /usr/local/share/dotfiles/scripts/mailbox.sh fetch
|
||||
|
||||
[module/dateprefix]
|
||||
type = custom/text
|
||||
|
||||
@@ -18,6 +18,7 @@ padding-right = 0px
|
||||
font-0 = ComicShannsMono Nerd Font:size=14;2
|
||||
font-1 = ComicShannsMono Nerd Font:size=14;1
|
||||
font-2 = ComicShannsMono Nerd Font:size=14;0
|
||||
font-3 = DejaVuSansM Nerd Font:size=14;0
|
||||
|
||||
fixed-center = true
|
||||
modules-left = arch separator cpu separator memory separator filesystemprefix filesystem separator eth separator ethspeed separator pulseaudio
|
||||
@@ -49,11 +50,12 @@ padding-right = 0px
|
||||
font-0 = ComicShannsMono Nerd Font:size=14;2
|
||||
font-1 = ComicShannsMono Nerd Font:size=14;1
|
||||
font-2 = ComicShannsMono Nerd Font:size=14;0
|
||||
font-3 = DejaVuSansM Nerd Font:size=14;0
|
||||
|
||||
fixed-center = true
|
||||
modules-left = arch separator cpu separator memory separator filesystemprefix filesystem separator eth separator ethspeed separator pulseaudio
|
||||
modules-center = i3
|
||||
modules-right = pacman separator xkeyboard separator dateprefix date systray
|
||||
modules-right = watchdog separator pacman separator xkeyboard separator dateprefix date systray
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
Reference in New Issue
Block a user