; ========================================================================== ; polybar — Catppuccin Macchiato ; Font: Inconsolata Nerd Font ; Docs: https://github.com/polybar/polybar/wiki ; ; Hardware-specific values (battery, adapter, network interfaces, backlight) ; are injected as environment variables by launch.sh, with sane fallbacks. ; ========================================================================== [colors] rosewater = #f4dbd6 flamingo = #f0c6c6 pink = #f5bde6 mauve = #c6a0f6 red = #ed8796 maroon = #ee99a0 peach = #f5a97f yellow = #eed49f green = #a6da95 teal = #8bd5ca sky = #91d7e3 sapphire = #7dc4e4 blue = #8aadf4 lavender = #b7bdf8 text = #cad3f5 subtext1 = #b8c0e0 subtext0 = #a5adcb overlay2 = #939ab7 overlay1 = #8087a2 overlay0 = #6e738d surface2 = #5b6078 surface1 = #494d64 surface0 = #363a4f base = #24273a mantle = #1e2030 crust = #181926 background = ${colors.base} background-alt = ${colors.surface0} foreground = ${colors.text} primary = ${colors.mauve} secondary = ${colors.lavender} alert = ${colors.red} disabled = ${colors.overlay0} transparent = #00000000 ; -------------------------------------------------------------------------- ; Bar ; -------------------------------------------------------------------------- [bar/main] monitor = ${env:MONITOR:} monitor-strict = false override-redirect = false width = 100% height = 30pt radius = 0 background = ${colors.background} foreground = ${colors.foreground} line-size = 3pt border-size = 0pt border-color = ${colors.transparent} padding-left = 1 padding-right = 1 module-margin = 1 separator = "│" separator-foreground = ${colors.surface2} font-0 = Inconsolata Nerd Font:style=Regular:size=11;2 font-1 = Inconsolata Nerd Font:style=Bold:size=11;2 font-2 = Symbols Nerd Font Mono:size=13;3 font-3 = Noto Color Emoji:scale=10;2 modules-left = i3 xwindow modules-center = date modules-right = ${env:MODULES_RIGHT:filesystem memory cpu temperature pulseaudio systray} cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true wm-restack = i3 ; -------------------------------------------------------------------------- ; Modules ; -------------------------------------------------------------------------- [module/i3] type = internal/i3 pin-workspaces = true show-urgent = true strip-wsnumbers = true index-sort = true enable-click = true enable-scroll = true wrapping-scroll = false reverse-scroll = false fuzzy-match = true format = label-mode = %mode% label-mode-padding = 1 label-mode-background = ${colors.peach} label-mode-foreground = ${colors.crust} label-focused = %name% label-focused-background = ${colors.surface0} label-focused-foreground = ${colors.mauve} label-focused-underline = ${colors.mauve} label-focused-padding = 1 label-unfocused = %name% label-unfocused-foreground = ${colors.overlay1} label-unfocused-padding = 1 label-visible = %name% label-visible-foreground = ${colors.lavender} label-visible-padding = 1 label-urgent = %name% label-urgent-background = ${colors.red} label-urgent-foreground = ${colors.crust} label-urgent-padding = 1 [module/xwindow] type = internal/xwindow label = %title:0:80:...% label-foreground = ${colors.subtext0} label-empty = [module/date] type = internal/date interval = 1 date = %a %d %b time = %H:%M date-alt = %A, %d %B %Y time-alt = %H:%M:%S format-prefix = " " format-prefix-foreground = ${colors.lavender} label = %date% %time% label-foreground = ${colors.text} [module/filesystem] type = internal/fs interval = 60 mount-0 = / warn-percentage = 85 format-mounted-prefix = " " format-mounted-prefix-foreground = ${colors.green} format-warn-prefix = " " format-warn-prefix-foreground = ${colors.peach} label-mounted = %percentage_used%% label-warn = %percentage_used%% label-unmounted = click-left = kitty --class kitty-float -e btop [module/memory] type = internal/memory interval = 3 warn-percentage = 90 format-prefix = " " format-prefix-foreground = ${colors.yellow} format-warn-prefix = " " format-warn-prefix-foreground = ${colors.red} label = %percentage_used%% label-warn = %percentage_used%% label-warn-foreground = ${colors.red} [module/cpu] type = internal/cpu interval = 3 warn-percentage = 90 format-prefix = " " format-prefix-foreground = ${colors.blue} format-warn-prefix = " " format-warn-prefix-foreground = ${colors.red} label = %percentage:2%% label-warn = %percentage:2%% label-warn-foreground = ${colors.red} [module/temperature] type = internal/temperature interval = 5 thermal-zone = 0 base-temperature = 20 warn-temperature = 80 units = true format =