Refresh polybar's mail counter every minute
[~bandali/configs] / polybar / .config / polybar / config
index 2e5855f..1c99b8e 100644 (file)
@@ -12,8 +12,8 @@
 background = #222
 background-alt = #444
 ;foreground = ${xrdb:color7:#222}
-foreground = #dfdfdf
-foreground-alt = #555
+foreground = #eee
+foreground-alt = #888
 primary = #ffb52a
 secondary = #e60053
 alert = #bd2c40
@@ -25,7 +25,7 @@ height = 27
 ;offset-x = 1%
 ;offset-y = 1%
 radius = 3.0
-fixed-center = false
+fixed-center = true
 
 background = ${colors.background}
 foreground = ${colors.foreground}
@@ -39,7 +39,7 @@ border-color = #00000000
 padding-left = 0
 padding-right = 2
 
-module-margin-left = 1
+module-margin-left = 2
 module-margin-right = 2
 
 font-0 = Ubuntu:fontformat=truetype:antialias=true:pixelsize=9;1
@@ -47,12 +47,12 @@ font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
 font-2 = Wuncon Siji:pixelsize=10;1
 font-3 = FontAwesome:pixelsize=10;1
 
-modules-left = bspwm
-modules-center = xwindow
-modules-right = volume filesystem mail xkeyboard memory cpu battery temperature date powermenu
+modules-left = bspwm xwindow
+modules-center = 
+modules-right = volume filesystem mail xkeyboard memory cpu temperature date powermenu
 
 tray-position = right
-;tray-padding = 2
+tray-padding = 1
 ;tray-transparent = true
 ;tray-background = #0063ff
 tray-maxsize = 18
@@ -356,7 +356,7 @@ menu-2-1-exec = menu-open-0
 
 [module/mail]
 type = custom/script
-interval = 300
+interval = 60
 format = <label>
 format-prefix = " "
 format-prefix-foreground = ${colors.foreground-alt}
@@ -371,7 +371,7 @@ screenchange-reload = true
 ;compositing-border = over
 
 [global/wm]
-margin-top = 5
+margin-top = 0
 margin-bottom = 0
 
 ; vim:ft=dosini