;===================================================== ;My boring, generic ass polybar config file ;===================================================== [colors] background = #222 background-alt = #444 foreground = #dfdfdf foreground-alt = #555 primary = #ffb52a secondary = #e60053 alert = #bd2c40 [bar/example] width = 100% height = 19 fixed-center = false background = ${colors.background} foreground = ${colors.foreground} line-size = 3 line-color = #f00 padding-left = 0 padding-right = 2 module-margin-left = 1 module-margin-right = 2 font-0 = fixed:pixelsize=10;1 font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 font-2 = siji:pixelsize=10;1 modules-left = i3 modules-right = volume xkeyboard memory cpu wlan eth battery temperature date tray-position = right tray-padding = 2 cursor-click = pointer cursor-scroll = ns-resize [module/xwindow] type = internal/xwindow label = %title:0:30:...% [module/xkeyboard] type = internal/xkeyboard blacklist-0 = num lock format-prefix-foreground = ${colors.foreground-alt} format-prefix-underline = ${colors.secondary} label-layout = %layout% label-layout-underline = ${colors.secondary} label-indicator-padding = 2 label-indicator-margin = 1 label-indicator-background = ${colors.secondary} label-indicator-underline = ${colors.secondary} [module/i3] type = internal/i3 format = index-sort = true wrapping-scroll = false label-mode-padding = 2 label-mode-foreground = #000 label-mode-background = ${colors.primary} label-focused = %index% label-focused-background = ${colors.background-alt} label-focused-underline = ${colors.primary} label-focused-padding = 2 label-unfocused = %index% label-unfocused-padding = 2 label-visible = %index% label-visible-background = ${self.label-focused-background} label-visible-underline = ${self.label-focused-underline} label-visible-padding = ${self.label-focused-padding} label-urgent = %index% label-urgent-background = ${colors.alert} label-urgent-padding = 2 [module/cpu] type = internal/cpu interval = 2 format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} format-underline = #f90000 label = cpu %percentage:2%% [module/memory] type = internal/memory interval = 2 format-prefix-foreground = ${colors.foreground-alt} format-underline = #4bffdc label = mem %percentage_used%% [module/wlan] type = internal/network interface = wlp2s0 interval = 3.0 format-connected = wlan format-connected-underline = #9f78e1 label-connected = %essid% [module/eth] type = internal/network interface = enp3s0 interval = 3.0 format-connected-underline = #55aa55 format-connected-prefix-foreground = ${colors.foreground-alt} label-connected = eth [module/date] type = internal/date interval = 5 date = %d/%m/%Y time = %H:%M format-prefix =  format-prefix-foreground = ${colors.foreground-alt} format-underline = #0a6cf5 label = %date% %time% [module/volume] type = internal/volume format-volume = vol label-volume-foreground = ${root.foreground} format-muted-foreground = ${colors.foreground-alt} label-muted = sound muted bar-volume-width = 10 bar-volume-foreground-0 = #55aa55 bar-volume-foreground-1 = #55aa55 bar-volume-foreground-2 = #55aa55 bar-volume-foreground-3 = #55aa55 bar-volume-foreground-4 = #55aa55 bar-volume-foreground-5 = #f5a70a bar-volume-foreground-6 = #ff5555 bar-volume-gradient = false bar-volume-indicator = | bar-volume-indicator-font = 2 bar-volume-fill = ─ bar-volume-fill-font = 2 bar-volume-empty = ─ bar-volume-empty-font = 2 bar-volume-empty-foreground = ${colors.foreground-alt} [module/battery] type = internal/battery battery = BAT0 adapter = ADP1 full-at = 98 format-charging = bat format-charging-underline = #ffb52a format-discharging = bat format-discharging-underline = ${self.format-charging-underline} format-full-prefix-foreground = ${colors.foreground-alt} format-full-underline = ${self.format-charging-underline} [settings] screenchange-reload = true ;compositing-background = xor ;compositing-background = screen ;compositing-foreground = source ;compositing-border = over [global/wm] margin-top = 5 margin-bottom = 5 ; vim:ft=dosini