From 9eb3ed9b1f8f55fabc71f6ca3bd1aea3ad413363 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 22 Mar 2022 11:09:58 +0300 Subject: add polybar config --- dotconfig/polybar/modules | 264 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 264 insertions(+) create mode 100644 dotconfig/polybar/modules (limited to 'dotconfig/polybar/modules') diff --git a/dotconfig/polybar/modules b/dotconfig/polybar/modules new file mode 100644 index 0000000..e10965f --- /dev/null +++ b/dotconfig/polybar/modules @@ -0,0 +1,264 @@ +[module/sep] + type = custom/text + content = | + + content-background = ${color.background} + content-foreground = ${color.background} + +[module/pulseaudio] + type = internal/pulseaudio + + ; Sink to be used, if it exists (find using `pacmd list-sinks`, name field) + ; If not, uses default sink + sink = alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo + + ; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false + use-ui-max = false + + ; Interval for volume increase/decrease (in percent points) + interval = 5 + + ; Available tags: + ; (default) + ; + ; + format-volume = + format-volume-overline = ${color.background} + format-volume-underline = ${color.background} + + label-volume = %percentage%% + label-volume-background = ${color.background-alt} + label-volume-padding = 1 + + ramp-volume-0 =  + ramp-volume-1 =  + ramp-volume-2 =  + ramp-volume-3 =  + ramp-volume-4 =  + ramp-volume-background = ${color.blue} + ramp-volume-padding = 1 + + ; Available tags: + ; (default) + ; + ; + format-muted = + format-muted-prefix =  + format-muted-prefix-background = ${color.red} + format-muted-prefix-padding = 1 + format-muted-overline = ${color.background} + format-muted-underline = ${color.background} + + label-muted = "Muted" + label-muted-foreground = ${color.foreground} + label-muted-background = ${color.background-alt} + label-muted-padding = 1 + + ; Right click + click-right = pavucontrol + +[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 = %Y-%m-%d% + + ; Optional time format + time = "%I:%M %p" + + ; if `date-alt` or `time-alt` is defined, clicking + ; the module will toggle between formats + time-alt = "%a, %d %b %Y" + + ; Available tags: + ;