2024-03-09 20:27:49 +01:00
|
|
|
[bar/bar]
|
|
|
|
modules-right = tray pulseaudio battery date
|
|
|
|
modules-left = ewmh
|
2024-03-12 14:42:43 +01:00
|
|
|
modules-center = polywin
|
2024-03-09 20:27:49 +01:00
|
|
|
padding-right = 15px
|
|
|
|
padding-left = 10px
|
|
|
|
bottom = true
|
|
|
|
height = 40px
|
|
|
|
background = #99000000
|
|
|
|
font-0 = "SAX2 Nerd Font:size=16;3"
|
|
|
|
enable-ipc = true
|
|
|
|
|
|
|
|
[module/date]
|
|
|
|
type = internal/date
|
|
|
|
date = %Y-%m-%d
|
|
|
|
time = %H:%M
|
|
|
|
label = %date% %time%
|
|
|
|
label-padding-left = 5px
|
|
|
|
|
|
|
|
[module/ewmh]
|
|
|
|
type = internal/xworkspaces
|
|
|
|
|
|
|
|
backgound-color = #999999
|
|
|
|
|
|
|
|
pin-workspaces = true
|
|
|
|
enable-click = true
|
|
|
|
|
|
|
|
icon-0 = 0; ◉
|
|
|
|
icon-1 = 1; ◉
|
|
|
|
icon-2 = 2; ◉
|
|
|
|
icon-3 = 3; ◉
|
|
|
|
icon-default =
|
|
|
|
|
|
|
|
label-active = %icon%
|
|
|
|
label-occupied = %icon%
|
|
|
|
label-empty = %icon%
|
|
|
|
|
|
|
|
label-active-padding = 0.7
|
|
|
|
label-occupied-padding = 0.7
|
|
|
|
label-empty-padding = 0.7
|
|
|
|
|
|
|
|
label-active-foreground = #fff
|
|
|
|
label-occupied-foreground = #999
|
|
|
|
label-empty-foreground = #999
|
|
|
|
|
|
|
|
[module/battery]
|
|
|
|
type = internal/battery
|
|
|
|
|
|
|
|
full-at = 99
|
|
|
|
|
|
|
|
low-at = 10
|
|
|
|
|
|
|
|
battery = BAT0
|
|
|
|
adapter = AC
|
|
|
|
|
|
|
|
poll-interval = 5
|
|
|
|
|
|
|
|
format-full = <ramp-capacity>
|
|
|
|
format-charging = <ramp-capacity>
|
|
|
|
format-discharging = <ramp-capacity>
|
|
|
|
|
|
|
|
format-full-padding = 15px
|
|
|
|
format-charging-padding = 15px
|
|
|
|
format-discharging-padding = 15px
|
|
|
|
|
|
|
|
ramp-capacity-0 =
|
|
|
|
ramp-capacity-1 =
|
|
|
|
ramp-capacity-2 =
|
|
|
|
ramp-capacity-3 =
|
|
|
|
ramp-capacity-4 =
|
|
|
|
|
|
|
|
[module/pulseaudio]
|
|
|
|
type = internal/pulseaudio
|
|
|
|
|
|
|
|
use-ui-max = false
|
|
|
|
format-volume = <ramp-volume>
|
|
|
|
|
|
|
|
label-muted =
|
|
|
|
|
|
|
|
; Only applies if <ramp-volume> is used
|
|
|
|
ramp-volume-0 =
|
|
|
|
ramp-volume-1 =
|
|
|
|
ramp-volume-2 =
|
|
|
|
|
|
|
|
[module/tray]
|
|
|
|
type = internal/tray
|
|
|
|
|
|
|
|
format-margin = 8px
|
|
|
|
tray-spacing = 8px
|
2024-03-12 14:42:43 +01:00
|
|
|
|
|
|
|
[module/polywin]
|
|
|
|
type = custom/script
|
|
|
|
exec = ~/.config/polybar/scripts/polywin.sh
|
|
|
|
format = <label>
|
|
|
|
label = %output%
|
|
|
|
label-padding = 1
|
|
|
|
interval = 1
|