Add update module
This commit is contained in:
parent
ce54393ed1
commit
e9dd26c8e9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue