121 lines
3.3 KiB
INI
121 lines
3.3 KiB
INI
;==========================================================
|
|
;
|
|
;==========================================================
|
|
|
|
; Include powerline utility
|
|
include-file = ~/.config/polybar/powerline-for-polybar.config
|
|
|
|
; Include color scheme
|
|
include-file = ~/.config/polybar/colors.config
|
|
|
|
;=======================================
|
|
; Bar
|
|
;=======================================
|
|
|
|
[bar/example]
|
|
; Generic options
|
|
width = 100%
|
|
height = 26
|
|
dpi-x = 96
|
|
dpi-y = 96
|
|
|
|
; Set bar's default background/foreground color
|
|
background = #12151cbb
|
|
foreground = ${colors.white}
|
|
|
|
; Set bar's fonts list
|
|
font-0 = "Noto Sans:size=11:antialias=true;3"
|
|
font-1 = "Source Code Pro:pixelsize=20:antialias=true;6"
|
|
font-2 = "Source Code Pro:size=12:weight=bold:antialias=true;3"
|
|
|
|
; Set modules list
|
|
modules-left = xwindow
|
|
modules-center = i3
|
|
modules-right = pulseaudio temperature memory cpu date
|
|
fixed-center = true
|
|
|
|
;=======================================
|
|
; Modules
|
|
;=======================================
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
inherit = powerline-templates/right-to-left-item
|
|
background = ${colors.blue}
|
|
background-next = ${root.background}
|
|
label-muted-foreground = ${colors.gray}
|
|
format-foreground = ${colors.white}
|
|
format-volume-background = ${colors.blue}
|
|
format-muted-background = ${colors.blue}
|
|
|
|
[module/date]
|
|
; Powerline settings
|
|
inherit = powerline-templates/right-to-left-item
|
|
background = ${colors.blue}
|
|
background-next = ${colors.background}
|
|
; Other settings
|
|
type = internal/date
|
|
format-background = ${self.background}
|
|
format-foreground = ${colors.white}
|
|
date = " %a %b %d, %H:%M:%S "
|
|
|
|
[module/cpu]
|
|
; Powerline settings
|
|
inherit = powerline-templates/right-to-left-item
|
|
background = ${colors.background}
|
|
background-next = ${colors.blue}
|
|
; Other settings
|
|
type = internal/cpu
|
|
format-background = ${self.background}
|
|
format-foreground = ${colors.white}
|
|
label = " CPU: %percentage%% "
|
|
|
|
[module/memory]
|
|
; Powerline settings
|
|
inherit = powerline-templates/right-to-left-item
|
|
background = ${colors.blue}
|
|
background-next = ${colors.background}
|
|
; Other settings
|
|
type = internal/memory
|
|
format-background = ${self.background}
|
|
format-foreground = ${colors.white}
|
|
label = " %gb_used% "
|
|
|
|
[module/temperature]
|
|
; Powerline settings
|
|
inherit = powerline-templates/right-to-left-item
|
|
background = ${colors.background}
|
|
background-next = ${colors.blue}
|
|
; Other settings
|
|
type = internal/temperature
|
|
format-background = ${self.background}
|
|
format-foreground = ${colors.white}
|
|
thermal-zone = 6
|
|
label = " %temperature-c% "
|
|
|
|
[module/xwindow]
|
|
; Other settings
|
|
type = internal/xwindow
|
|
inherit = powerline-templates/left-to-right-item
|
|
background = ${colors.blue}
|
|
background-next = ${root.background}
|
|
format-background = ${self.background}
|
|
format-foreground = ${colors.white}
|
|
label = " %title% "
|
|
|
|
|
|
[module/i3]
|
|
type = internal/i3
|
|
pin-workspaces = true
|
|
show-urgent = true
|
|
index-sort = true
|
|
enable-click = true
|
|
label-unfocused-padding = 3
|
|
label-focused-background = ${colors.blue}
|
|
label-focused-padding = 3
|
|
label-focused-font=3
|
|
label-unfocused-font=3
|
|
label-separator-padding = 2
|
|
label-focused = %index%
|
|
label-unfocused = %index%
|