From 80a25470b3b6c605ac95e1e7b7921318a13d294e Mon Sep 17 00:00:00 2001 From: Christian Colglazier Date: Sat, 8 Nov 2025 09:20:00 -0500 Subject: [PATCH] feat(polybar): add config --- home/dot_config/polybar/config | 195 +++++++++++++++++++++++++++++++++ 1 file changed, 195 insertions(+) create mode 100644 home/dot_config/polybar/config diff --git a/home/dot_config/polybar/config b/home/dot_config/polybar/config new file mode 100644 index 0000000..0ef06b8 --- /dev/null +++ b/home/dot_config/polybar/config @@ -0,0 +1,195 @@ +[colors] +black = #BB000000 +blue = #0288D1 +blue-light = #B3E5FC +pink = #E91E63 +pink-light = #FFCDD2 +alert = #E91E63 +white = #FFFFFF + +[bar/aqua] +width = 100% +height = 34 +radius = 0.0 +fixed-center = true +background = ${colors.black} +foreground = ${colors.white} +monitor = ${env:MONITOR:fallback-value} +line-size = 0 +line-color = ${colors.pink} +border-size = 0 +border-color = ${colors.black} +padding-left = 0 +padding-right = 3 +module-margin-left = 1 +module-margin-right = 3 + +font-0 = SF Pro Display:semibold:fixed:pixelsize=17;3 +; Version 4.7 +font-1 = FontAwesome Regular:style=Regular:pixelsize=17 +; Version 5 Regular +font-2 = Font Awesome 5 Free Regular:pixelsize=8; +; Version 5 Solid +font-3 = Font Awesome 5 Free Solid:pixelsize=15;2 +; Version 5 Brands +font-4 = Font Awesome 5 Brands:pixelsize=18;1 +font-5 = Font Awesome 5 Free Solid:pixelsize=70;3 + +modules-left = i3 +modules-center = xwindow +modules-right = backlight volume network battery date + +tray-position = right +tray-padding = 2 + +[module/xwindow] +type = internal/xwindow +label = %title:0:80:...% +format-background = ${colors.black} + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false + +strip-wsnumbers = true +fuzzy-match = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.pink} + +label-focused = %index% +label-focused-background = ${colors.blue} +label-focused-underline = ${colors.pink} +label-focused-padding = 2 + +label-unfocused = %index% +label-unfocused-padding = 2 + +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-background} +label-visible-padding = ${self.label-focused-padding} + +label-urgent = %index%! +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +[module/date] +type = internal/date +interval = 1.0 +time = %I:%M +time-alt = %m-%d-%Y %I:%M:%S +label = %{T4}%{T-}%time% +label-alt = +format-underline = ${colors.blue} + +[module/battery] +type = internal/battery +full-at = 99 +time-format = %-H:%M +; $ ls -1 /sys/class/power_supply/ +battery = BAT0 +adapter = ADP1 +poll-interval = 5 + +format-charging = +format-charging-underline = ${colors.blue} +label-charging = %percentage%%~%time% + +format-discharging = +format-discharging-underline = ${colors.blue-light} +label-discharging = %percentage%%~%time% + +label-full = 100% + +ramp-capacity-0 =  +ramp-capacity-1 =  +ramp-capacity-2 =  +ramp-capacity-3 =  +ramp-capacity-4 =  + +; Only applies if is used +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-3 =  +animation-charging-4 =  +; Framerate in milliseconds +animation-charging-framerate = 500 + +[module/volume] +type = internal/alsa + +format-volume = +label-volume =  %percentage%% +label-volume-foreground = ${root.foreground} +format-volume-underline = ${colors.blue} + +format-muted-prefix = " " +label-muted =  %percentage%% +format-muted-underline = ${colors.pink} + +[module/backlight] +type = internal/backlight +; Use the following command to list available cards: +; $ ls -1 /sys/class/backlight/ +card = intel_backlight + +format =