Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas Avé a6008c6444 More kell changes 2023-05-21 23:43:07 +02:00
Thomas Avé e9dd26c8e9 Add update module 2023-05-21 23:42:50 +02:00
1 changed files with 23 additions and 8 deletions

View File

@ -15,7 +15,7 @@ include-file = ~/.config/polybar/colors.config
[bar/example]
; Generic options
width = 100%
height = 26
height = 30
dpi-x = 96
dpi-y = 96
@ -29,18 +29,18 @@ background = #9912151c
foreground = ${colors.white}
; Set bar's fonts list
font-0 = "Noto Sans:size=10.5:antialias=true;3"
font-0 = "Noto Sans:size=11:antialias=true;2"
font-1 = "Source Code Pro:pixelsize=20:antialias=true;6"
font-2 = "Source Code Pro:size=11:weight=bold:antialias=true;3"
font-3 = "Font Awesome 6 Free Solid:size=11:antialias=true;3"
font-4 = "Font Awesome 6 Free:size=11:antialias=true;3"
font-5 = "Font Awesome 6 Brands:size=11:antialias=true;3"
font-6 = "Font Awesome v4 Compatibility:size=11:antialias=true;3"
font-3 = "Font Awesome 6 Free Solid:size=10:antialias=true;3"
font-4 = "Font Awesome 6 Free:size=10:antialias=true;3"
font-5 = "Font Awesome 6 Brands:size=10:antialias=true;3"
font-6 = "Font Awesome v4 Compatibility:size=10:antialias=true;3"
; Set modules list
modules-left = xwindow
modules-center = i3
modules-right = temperature memory clockspeed cpu pulseaudio date startarrow
modules-right = updates temperature memory clockspeed cpu pulseaudio date startarrow
fixed-center = true
;=======================================
@ -98,6 +98,21 @@ format-background = ${self.background}
format-foreground = ${colors.white}
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]
; Powerline settings
inherit = powerline-templates/right-to-left-item
@ -115,7 +130,7 @@ format = " <label> GHz "
; Powerline settings
inherit = powerline-templates/right-to-left-item
background = ${colors.blue}
background-next = ${root.background}
background-next = ${colors.background}
; Other settings
type = custom/script
format-background = ${colors.blue}