[colors] background = ${xrdb:background:#222} background-alt = ${xrdb:color0:#222} foreground = ${xrdb:color3:#222} foreground-alt = ${xrdb:color3:#222} primary = ${xrdb:color4:#222} secondary = ${xrdb:color5:#222} alert = ${xrdb:color6:#222} [bar/mybar] monitor = ${env:MONITOR:} width = 1900 height = 30 override-redirect = true wm-restack = i3 offset-x = 10 offset-y = 10 radius = 10.0 fixed-center = true background = ${colors.background} foreground = ${colors.foreground} line-size = 3 line-color = ${colors.foreground} border-size = 0 border-color = ${colors.primary} padding-left = 3 padding-right = 3 module-margin-left = 3 module-margin-right = 3 ;font-0 = kanitMedium:fontformat=truetype:size=8:antialias=true;2 ;font-1 = unifont:fontformat=truetype:size=8:antialias=true;2 ;font-2 = siji:pixelsize=10;2 font-1 = Font Awesome 5 Free:style=Solid:pixelsize=8;2 font-2 = Font Awesome 5 Free:style=Regular:pixelsize=8;2 font-3 = Font Awesome 5 Brands:pixelsize=8;2 font-4 = Font Awesome 5 Regular:pixelsize=8;2 font-0 = Kanit Medium:style=Regular:size=8;2 modules-left = date battery root_storage home_storage memory swap cpu modules-center = i3 modules-right = covid weather updates my-updates backlight-acpi pulseaudio powermenu tray-position = center tray-offset-x = 530 tray-padding = 2 cursor-click = pointer cursor-scroll = ns-resize [module/updates] type = custom/script exec = ~/.config/polybar/modules/updates exec-if = file ~/tmp/updates.json interval = 5 click-left = update-system; systemctl --user start updates.service label = " %output%" [module/my-updates] type = custom/script exec = ~/.config/polybar/modules/my-updates exec-if = file ~/tmp/auroch.json interval = 5 click-left = systemctl --user start auroch.service label = " %output%" [module/covid] type = custom/script exec = ~/.config/polybar/modules/covid interval = 3600 [module/weather] type = custom/script exec = ~/.config/waybar/modules/weather.sh interval = 3600 [module/swap] type = custom/script exec = free -h | grep Swap | awk '{print $3}' label = " %output%" interval = 5 [module/xwindow] type = internal/xwindow label = %title:0:30:...% [module/home_storage] type = custom/script exec = df -h 2>/dev/null | grep sda3 | awk '{print $5}' label = " %output%" interval = 30 [module/root_storage] type = custom/script exec = df -h 2>/dev/null | grep sda2 | awk '{print $5}' label = " %output%" interval = 30 [module/i3] type = internal/i3 format = index-sort = true wrapping-scroll = false ; Only show workspaces on the same output as the bar ;pin-workspaces = true label-mode-padding = 2 label-mode-foreground = #000 label-mode-background = ${colors.primary} ; focused = Active workspace on focused monitor label-focused = %index% %icon% label-focused-background = ${colors.color4} label-focused-padding = 2 ; unfocused = Inactive workspace on any monitor label-unfocused = %index% %icon% label-unfocused-padding = 2 ; visible = Active workspace on unfocused monitor label-visible = %index% %icon% label-visible-background = ${self.label-focused-background} label-visible-padding = ${self.label-focused-padding} ; urgent = Workspace with urgency hint set label-urgent = %index% %icon% label-urgent-background = ${colors.alert} label-urgent-padding = 2 ; Separator in between workspaces ; label-separator = | ws-icon-0 = 1; ws-icon-1 = 2; ws-icon-2 = 3; ws-icon-3 = 4; ws-icon-default =  [module/xbacklight] type = internal/xbacklight format =