127 lines
2.7 KiB
Plaintext
127 lines
2.7 KiB
Plaintext
[colors]
|
|
foreground-alt = #D8DEE9
|
|
icon = #88C0D0
|
|
|
|
[bar/main]
|
|
height = 20
|
|
width = 100%
|
|
|
|
background = #211B29
|
|
foreground = ${colors.foreground-alt}
|
|
underline-color = #00f
|
|
underline-size = 1
|
|
overline-color = #f00
|
|
|
|
spacing = 2
|
|
padding-right = 2
|
|
module-margin-right = 2
|
|
module-margin-left = 2
|
|
|
|
;override-redirect = true
|
|
|
|
font-0 = lime:size=7;0
|
|
font-1 = Siji:size=10;0
|
|
|
|
modules-left = workspaces
|
|
modules-center = date
|
|
modules-right = mpd network alsa battery
|
|
|
|
[module/title]
|
|
type = internal/xwindow
|
|
label = %title%
|
|
label-maxlen = 50
|
|
|
|
[module/mail]
|
|
type = custom/script
|
|
format-prefix =" "
|
|
exec = python3 ~/.scripts/mail
|
|
interval = 100
|
|
format-foreground = ${colors.foreground-alt}
|
|
|
|
[module/mpd]
|
|
type = internal/mpd
|
|
host = /home/coolneng/.config/mpd/socket
|
|
|
|
format-online = <icon-play> <icon-pause> <label-song>
|
|
format-offline = <label-offline>
|
|
label-song = %title%
|
|
label-offline =
|
|
icon-play =
|
|
icon-pause =
|
|
icon-play-foreground = ${colors.icon}
|
|
icon-pause-foreground = ${colors.icon}
|
|
|
|
interval = 2
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
interval = 1.0
|
|
date = %a %d %b
|
|
time = %H:%M
|
|
format = <label>
|
|
label = %date% %time%
|
|
format-foreground = ${colors.foreground-alt}
|
|
|
|
[module/workspaces]
|
|
type = internal/xworkspaces
|
|
pin-workspaces = false
|
|
enable-click = false
|
|
enable-scroll = false
|
|
format-padding = 0
|
|
;icon-0 = 1
|
|
;icon-1 = 2
|
|
;icon-2 = 3
|
|
;icon-3 = 4
|
|
;icon-default =
|
|
format = <label-state>
|
|
; active
|
|
label-active = %name%
|
|
label-active-padding = 1
|
|
label-active-foreground = ${colors.icon}
|
|
label-active-underline = ${colors.icon}
|
|
; empty
|
|
label-empty = %name%
|
|
label-empty-padding = 1
|
|
label-empty-foreground = ${colors.foreground-alt}
|
|
|
|
[module/network]
|
|
type = internal/network
|
|
interface = wlp2s0
|
|
label-connected = %essid%
|
|
format-connected = <ramp-signal> <label-connected>
|
|
format-disconnected = <label-disconnected>
|
|
ramp-signal-0 =
|
|
ramp-signal-1 =
|
|
ramp-signal-2 =
|
|
ramp-signal-foreground = ${colors.icon}
|
|
|
|
[module/alsa]
|
|
type = internal/alsa
|
|
format-volume = <ramp-volume> <label-volume>
|
|
label-muted =
|
|
label-muted-foreground = ${colors.icon}
|
|
ramp-volume = ${colors.icon}
|
|
ramp-volume-0 =
|
|
ramp-volume-1 =
|
|
ramp-volume-2 =
|
|
ramp-volume-foreground = ${colors.icon}
|
|
|
|
[module/battery]
|
|
type = internal/battery
|
|
battery = BAT0
|
|
adapter = ADP0
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
|
format-charging = <animation-charging> <label-charging>
|
|
format-full = <bar-capacity> <label-full>
|
|
ramp-capacity-0 =
|
|
ramp-capacity-1 =
|
|
ramp-capacity-2 =
|
|
animation-charging-0 =
|
|
bar-capacity-empty =
|
|
bar-capacity-fill=
|
|
bar-capacity-indicator=
|
|
bar-capacity-indicator-foreground = ${colors.icon}
|
|
bar-capacity-width = 10
|
|
animation-charging-foreground = ${colors.icon}
|
|
ramp-capacity-foreground = ${colors.icon}
|