dotfiles/.config/polybar/config.ini
2023-04-08 16:59:40 +02:00

144 lines
2.5 KiB
INI

[colors]
background = #00000000
foreground = #ffffff
focused = #bcecff
urgent = #ffdb9e
[bar/bar]
width = 100%
height = 36
background = ${colors.background}
foreground = ${colors.foreground}
wm-restack = bspwm
radius = 0.0
line-size = 1
padding-left = 3
padding-right = 4
module-margin = 2
font-0 = sans-serif:size=12;3
font-1 = FontAwesome6FreeSolid:size=12;3
modules-left = bspwm-desktops window-title
modules-center = cpu memory disk
modules-right = battery wired-network wireless-network pulseaudio-volume date-and-time
locale = en_US.UTF-8
tray-position = none
tray-maxsize = 24
tray-offset-x = -8
tray-offset-y = 0
enable-ipc = true
[settings]
screenchange-reload = true
[module/bspwm-desktops]
type = internal/bspwm
pin-workspaces = true
format = <label-state>
label-focused = %name%
label-focused-foreground = ${colors.focused}
label-focused-underline = ${colors.focused}
label-focused-padding = 2
label-occupied = %name%
label-occupied-foreground = ${colors.foreground}
label-occupied-padding = 2
label-urgent = %name%
label-urgent-foreground = ${colors.urgent}
label-urgent-underline = ${colors.urgent}
label-urgent-padding = 2
label-empty =
[module/window-title]
type = internal/xwindow
label = %title%
label-maxlen = 50
[module/cpu]
type = internal/cpu
label = %percentage% %
[module/memory]
type = internal/memory
interval = 1
label = %gb_free%
[module/disk]
type = internal/fs
mount-0 = /
interval = 10
label-mounted = %free%
[module/battery]
type = internal/battery
full-at = 99
battery = BAT0
adapter = AC0
format-charging = <label-charging> <ramp-capacity> 
format-discharging = <label-discharging> <ramp-capacity>
format-full = <label-full> 
label-charging = %percentage%%
label-discharging = %percentage%%
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
[module/wireless-network]
type = internal/network
interface = wlp2s0
format-connected =
;label-disconnected = 
[module/wired-network]
type = internal/network
interface = enp3s0
format-connected =
[module/pulseaudio-volume]
type = internal/pulseaudio
sink = alsa_output.pci-0000_00_1b.0.analog-stereo
use-ui-max = false
format-volume = <label-volume> <ramp-volume>
label-muted =
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 =
[module/keyboard-layout]
type = internal/xkeyboard
format = <label-layout>
[module/date-and-time]
type = internal/date
date = %a, %b %e
date-alt = %A, %B %e, %Y
time = %H:%M
time-alt = %H:%M:%S
label = %date% %time%