116 lines
2.3 KiB
Text
116 lines
2.3 KiB
Text
|
[colors]
|
||
|
bg = ${xrdb:background}
|
||
|
fg = ${xrdb:foreground}
|
||
|
|
||
|
red = ${xrdb:color1}
|
||
|
orange = ${xrdb:color9}
|
||
|
blue = ${xrdb:color4}
|
||
|
purple = ${xrdb:color5}
|
||
|
reddish = ${xrdb:color1}
|
||
|
|
||
|
[bar/top]
|
||
|
monitor = "HDMI-A-0"
|
||
|
bottom = false
|
||
|
background = ${colors.bg}
|
||
|
foreground = ${colors.fg}
|
||
|
font-0 = "castella:size=12;2"
|
||
|
font-1 = "waffle:size=12;2"
|
||
|
modules-left = ewmh separator title
|
||
|
modules-center = date
|
||
|
modules-right = pulseaudio
|
||
|
padding = 1
|
||
|
height = 28
|
||
|
module-margin = 1
|
||
|
|
||
|
[module/separator]
|
||
|
type = custom/text
|
||
|
content = |
|
||
|
content-foreground = ${colors.fg}
|
||
|
|
||
|
[module/ewmh]
|
||
|
type = internal/xworkspaces
|
||
|
|
||
|
icon-0 = 1;
|
||
|
icon-1 = 2;
|
||
|
icon-2 = 3;
|
||
|
icon-3 = 4;
|
||
|
icon-4 = 5;
|
||
|
icon-default =
|
||
|
|
||
|
format = <label-state>
|
||
|
|
||
|
label-monitor = %name%
|
||
|
|
||
|
label-active = " "
|
||
|
label-active-foreground = ${colors.red}
|
||
|
label-active-background = ${colors.bg}
|
||
|
|
||
|
label-occupied = " "
|
||
|
label-occupied-foreground = ${colors.orange}
|
||
|
label-occupied-background = ${colors.bg}
|
||
|
|
||
|
label-urgent = "%icon% "
|
||
|
label-urgent-foreground = ${colors.reddish}
|
||
|
label-urgent-background = ${colors.bg}
|
||
|
|
||
|
label-empty = "%icon% "
|
||
|
label-empty-foreground = ${colors.fg}
|
||
|
label-empty-background = ${colors.bg}
|
||
|
|
||
|
label-active-padding = 0
|
||
|
label-urgent-padding = 0
|
||
|
label-occupied-padding = 0
|
||
|
label-empty-padding = 0
|
||
|
|
||
|
[module/date]
|
||
|
type = internal/date
|
||
|
|
||
|
; Seconds to sleep between updates
|
||
|
interval = 1.0
|
||
|
|
||
|
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
|
||
|
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
||
|
date = %A, %d %B
|
||
|
|
||
|
; Optional time format
|
||
|
time = %I:%M
|
||
|
|
||
|
; if `date-alt` or `time-alt` is defined, clicking
|
||
|
; the module will toggle between formats
|
||
|
date-alt = "%A, %d %B %Y"
|
||
|
time-alt = "%k:%M:%S"
|
||
|
|
||
|
format = <label>
|
||
|
format-prefix = " "
|
||
|
format-prefix-foreground = ${colors.blue}
|
||
|
label = %date% %time%
|
||
|
|
||
|
[module/pulseaudio]
|
||
|
type = internal/pulseaudio
|
||
|
interval = 5
|
||
|
|
||
|
format-volume = <ramp-volume> <label-volume>
|
||
|
|
||
|
format-muted-prefix =
|
||
|
format-muted-prefix-foreground = ${colors.red}
|
||
|
label-muted = "muted"
|
||
|
label-muted-foreground = ${colors.fg}
|
||
|
|
||
|
ramp-volume-0 =
|
||
|
ramp-volume-1 =
|
||
|
ramp-volume-2 =
|
||
|
|
||
|
click-right = pavucontrol
|
||
|
|
||
|
[module/title]
|
||
|
type = internal/xwindow
|
||
|
|
||
|
format-prefix = " "
|
||
|
format-prefix-foreground = ${colors.purple}
|
||
|
|
||
|
[module/mymotd]
|
||
|
type = custom/script
|
||
|
label = %output%
|
||
|
exec = cat ~/.motd
|
||
|
click-left = st -T todo -e less ~/todo
|