You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dotfiles/gui/polybar/config.ini

126 lines
2.3 KiB
INI

[colors]
background = #1D1F21
background-alt = #373B41
foreground = #C5C8C6
primary = #F0C674
secondary = #8ABEB7
disabled = #707880
alert = #A54242
[bar/main-bar]
width = 100%
height = 24pt
radius = 5
; seperator
separator = |
separator-foreground = ${colors.disabled}
module-margin = 1
padding = 2
; font
font-0 = Hack Nerd Font;2
monitor = ${env:MONITOR:}
bottom = false
fixed-center = true
; hybrid bg color, might go lighter grey
background = ${colors.background}
; hybrid fg color, might go lighter if I go lighter grey
foreground = ${colors.foreground}
modules-left = xworkspaces xwindow
modules-center = weather
modules-right = pulseaudio memory cpu eth date
[module/xworkspaces]
type = internal/xworkspaces
label-active = %name%
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-padding = 1
label-occupied = %name%
label-occupied-padding = 1
label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = %name%
label-empty-foreground = ${colors.disabled}
label-empty-padding = 1
[module/xwindow]
type = internal/xwindow
label = %title:0:40:...%
[module/pulseaudio]
type = internal/pulseaudio
format-volume-prefix = "VOL "
format-volume-prefix-foreground = ${colors.primary}
format-volume = <label-volume>
label-volume = %percentage%%
label-muted = muted
label-muted-foreground = ${colors.disabled}
[module/weather]
type = custom/script
exec = weather -pd
interval = 30
[module/memory]
type = internal/memory
interval = 2
format-prefix = "RAM "
format-prefix-foreground = ${colors.primary}
label = %total%
format = <bar-used> <label>
bar-used-indicator =
bar-used-width = 10
bar-used-fill =
bar-used-empty = _
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "CPU "
format-prefix-foreground = ${colors.primary}
label = %percentage:2%%
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
[module/eth]
inherit = network-base
interface-type = wired
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
[module/date]
type = internal/date
interval = 1
date = %A, %b %d %l:%m %P
;date = %H:%M
date-alt = %Y-%m-%d %H:%M:%S
label = %date%
label-foreground = ${colors.primary}
[settings]
screenchange-reload = true