Add update module

This commit is contained in:
Thomas Avé 2023-05-21 23:42:50 +02:00
parent ce54393ed1
commit e9dd26c8e9
1 changed files with 15 additions and 0 deletions

View File

@ -98,6 +98,21 @@ format-background = ${self.background}
format-foreground = ${colors.white} format-foreground = ${colors.white}
label = " %used% " label = " %used% "
[module/updates]
; Powerline settings
inherit = powerline-templates/right-to-left-item
background = ${colors.background}
background-next = ${root.background}
; Other settings
type = custom/script
format-background = ${self.background}
format-foreground = ${colors.white}
format-warn-background = ${self.background}
exec = checkupdates | wc -l
format = "  <label> "
click-left = WINIT_X11_SCALE_FACTOR=1 alacritty -e bash -c "yay ; echo Done, press any key to exit... ; read"
[module/clockspeed] [module/clockspeed]
; Powerline settings ; Powerline settings
inherit = powerline-templates/right-to-left-item inherit = powerline-templates/right-to-left-item