160 lines
2.9 KiB
INI
160 lines
2.9 KiB
INI
[colors]
|
|
bg = ${xrdb:background:#2a2331}
|
|
fg = ${xrdb:foreground:#dedbeb}
|
|
hi = ${xrdb:cursorColor2:#634e75}
|
|
tr = #00000000
|
|
|
|
0 = ${xrdb:color0:#231d29}
|
|
1 = ${xrdb:color1:#e83f80}
|
|
2 = ${xrdb:color2:#a2baa8}
|
|
3 = ${xrdb:color3:#eacac0}
|
|
4 = ${xrdb:color4:#9985d1}
|
|
5 = ${xrdb:color5:#e68ac1}
|
|
6 = ${xrdb:color6:#aabae7}
|
|
7 = ${xrdb:color7:#dedbeb}
|
|
|
|
8 = ${xrdb:color8:#302838}
|
|
9 = ${xrdb:color9:#f55d8f}
|
|
10 = ${xrdb:color10:#bfd1c3}
|
|
11 = ${xrdb:color11:#f0ddd8}
|
|
12 = ${xrdb:color12:#b4a4de}
|
|
13 = ${xrdb:color13:#edabd2}
|
|
14 = ${xrdb:color14:#c4d1f5}
|
|
15 = ${xrdb:color15:#edebf7}
|
|
|
|
[bar/bar]
|
|
width = 100%
|
|
height = 16
|
|
bottom = false
|
|
|
|
background = ${colors.bg}
|
|
foreground = ${colors.fg}
|
|
|
|
line-size = 0
|
|
|
|
border-size = 0
|
|
border-color = ${colors.tr}
|
|
|
|
font-0 = terminus:pixelsize=8;1
|
|
font-1 = siji:pixelsize=8;1
|
|
font-2 = unifont:size=8;1
|
|
|
|
modules-left = workspace
|
|
modules-center = polywins
|
|
modules-right = music cpu ram volume bclock
|
|
|
|
tray-position = right
|
|
tray-padding = 1
|
|
tray-background = ${colors.bg}
|
|
|
|
override-redirect = true
|
|
|
|
[global/wm]
|
|
margin-top = 16
|
|
|
|
[settings]
|
|
format-background = ${colors.bg}
|
|
format-foreground = ${colors.fg}
|
|
format-padding = 1
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
|
|
interval = 1.0
|
|
|
|
time = %H:%M:%S
|
|
time-alt = %a, %m/%d/%Y
|
|
|
|
label = %time%
|
|
label-foreground = ${colors.6}
|
|
|
|
[module/bclock]
|
|
type = custom/script
|
|
|
|
exec = ~/.config/polybar/scripts/binaryclock-polybar.sh
|
|
tail = true
|
|
click-left = "kill -USR1 $(pgrep --oldest --parent %pid%)"
|
|
|
|
label-foreground = ${colors.6}
|
|
|
|
[module/volume]
|
|
type = internal/alsa
|
|
|
|
format-volume = <ramp-volume> <label-volume>
|
|
label-volume = %percentage%%
|
|
format-volume-foreground = ${colors.4}
|
|
label-muted = 0%
|
|
label-muted-foreground = ${colors.1}
|
|
|
|
ramp-volume-0 =
|
|
ramp-volume-1 =
|
|
ramp-volume-2 =
|
|
|
|
[module/ram]
|
|
type = internal/memory
|
|
|
|
format = <label>
|
|
label = %mb_used% %mb_swap_used%
|
|
label-foreground = ${colors.2}
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
|
|
interval = 0.5
|
|
|
|
format = <label>
|
|
label = %percentage-cores%
|
|
label-foreground = ${colors.3}
|
|
|
|
[module/music]
|
|
type = custom/script
|
|
|
|
exec = ~/.config/polybar/scripts/cmus-polybar.sh
|
|
exec-if = pgrep -x cmus
|
|
|
|
tail = true
|
|
|
|
interval = 0.5
|
|
|
|
label-foreground = ${colors.5}
|
|
|
|
[module/window]
|
|
type = internal/xwindow
|
|
|
|
label = %title%
|
|
label-empty =
|
|
|
|
[module/workspace]
|
|
type = internal/bspwm
|
|
|
|
enable-click = true
|
|
enable-scroll = true
|
|
reverse-scroll = false
|
|
|
|
format = <label-state>
|
|
format-padding = 0
|
|
|
|
label-focused = %name%
|
|
label-focused-foreground = ${colors.5}
|
|
label-focused-padding = 1
|
|
|
|
label-occupied = %name%
|
|
label-occupied-foreground = ${colors.hi}
|
|
label-occupied-padding = 1
|
|
|
|
label-urgent = %name%
|
|
label-urgent-foreground = ${colors.1}
|
|
label-urgent-padding = 1
|
|
|
|
label-empty = %name%
|
|
label-empty-foreground = ${colors.fg}
|
|
label-empty-padding = 1
|
|
|
|
[module/polywins]
|
|
type = custom/script
|
|
exec = ~/.config/polybar/scripts/polywins.sh 2>/dev/null
|
|
format = <label>
|
|
label = %output%
|
|
tail = true
|
|
|
|
; vim: ft=dosini
|