dotfiles/polybar/.config/polybar/config

61 lines
1.2 KiB
Plaintext

[colors]
background = ${xrdb:color0:#222}
foreground = ${xrdb:color7:#222}
foreground-alt = ${xrdb:color7:#222}
primary = ${xrdb:color1:#222}
secondary = ${xrdb:color2:#222}
alert = ${xrdb:color3:#222}
[bar/top]
width = 100%
height = 33
padding = 1
module-margin = 2
background = ${colors.background}
foreground = ${colors.foreground}
font-0 = Fira Sans;2
font-1 = Hack Nerd Font:size=16;2
modules-right = battery date
modules-center = title
tray-position = left
tray-padding = 3
enable-ipc = true
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
format-charging = <label-charging>
format-discharging = <label-discharging> <ramp-capacity>
format-full = <label-full>
label-full = %percentage%% 
label-charging = %percentage%% 
label-discharging = %percentage%%
ramp-capacity-0 = 
ramp-capacity-0-foreground = ${colors.alert}
ramp-capacity-1 = 
ramp-capacity-1-foreground = ${colors.secondary}
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-foreground = ${colors.foreground-alt}
[module/date]
type = internal/date
interval = 5
date = "%a"
date-alt = "%a, %b %e"
time = "%l:%M %p"
time-alt = "%l:%M %p"
label = %date% %time%
[module/title]
type = internal/xwindow