;===================================================== ; ; To learn more about how to configure Polybar ; go to https://github.com/jaagr/polybar ; ; The README contains alot of information ; ;===================================================== [colors] background = #121212 background-alt = #1c1c1c foreground = #cccccc foreground-alt = #77 foreground-gray = #77 primary = #FFD75F secondary = #d64937 alert = #d64937 [global/wm] margin-bottom = 0 [bar/top] enable-ipc = true bottom = false {{- if eq .chezmoi.hostname "arch" }} monitor = DP-2 {{- else if eq .chezmoi.hostname "buzz" }} monitor = eDP-1 {{- end }} width = 100% height = 16 offset-x = 0 offset-y = 0 background = ${colors.background} foreground = ${colors.foreground} overline-size = 0 overline-color = #f00 underline-size = 0 underline-color = #1c1c1c border-bottom-size = 1 border-bottom-color = #121212 spacing = 1 padding-left = 0 padding-right = 2 module-margin-left = 1 module-margin-right = 1 ; font-N = ; font-0 = "Source Han Code JP R:style=Bold:pixelsize=8;2" font-1 = "NotoEmoji:scale=11" font-2 = "siji:pixelsize=10;2" font-3 = "Font Awesome 6 Free:style=Solid:pixelsize=8;2" font-4 = "Font Awesome 6 Brands:pixelsize=8;2" font-5 = "Symbols Nerd Font:pixelsize=12;2" {{- if eq .chezmoi.hostname "arch" }} modules-left = i3 clicker xwindow modules-center = date modules-right = pueue filesystem temp cpu memory eth-down eth-up ipv6 ollama caffeine cam tray {{- else if eq .chezmoi.hostname "buzz" }} modules-left = i3 xwindow modules-center = date modules-right = filesystem temp cpu memory battery tray {{- end }} ; tray-position = right ; tray-padding = 4 ; tray-maxsize = 12 ; wm-restack = i3 ; override-redirect = true [module/tray] type = internal/tray ; tray-spacing = 2 tray-padding = 4 tray-size = 75% {{ if eq .chezmoi.hostname "buzz" }} [module/battery] type = internal/battery ; This is useful in case the battery never reports 100% charge ; Default: 100 full-at = 98 ; format-low once this charge percentage is reached ; Default: 10 ; New in version 3.6.0 low-at = 15 ; Use the following command to list batteries and adapters: ; $ ls -1 /sys/class/power_supply/ battery = BAT0 adapter = AC ; If an inotify event haven't been reported in this many ; seconds, manually poll for new values. ; ; Needed as a fallback for systems that don't report events ; on sysfs/procfs. ; ; Disable polling by setting the interval to 0. ; ; Default: 5 poll-interval = 5 {{ end }} [module/pueue] type = custom/script interval = 5 exec = /home/inkch/.config/polybar/scripts/pueue-count.py [module/mic] type = custom/script interval = 5 exec = /home/inkch/.config/polybar/scripts/mic.py [module/cam] type = custom/script interval = 5 exec = /home/inkch/.config/polybar/scripts/camera.py [module/vms] type = custom/script interval = 5 exec = /home/inkch/.config/polybar/scripts/vm-stat.py {{ if eq .chezmoi.hostname "arch" }} [module/clicker] type = custom/script format =