;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; To learn more about how to configure Polybar ; go to https://github.com/polybar/polybar ; ; The README contains a lot of information ; ;========================================================== [colors] ;background = #dd1e2120 ;background = #b3100b13 background = #1d1f21 foreground = #FFFFFF ;systray-bg = #232627 systray-bg = ${colors.background} ;module-color-0 = #9a30a4 ;module-color-1 = #f56ea5 ;module-color-0 = #9b1bed ;module-color-1 = #ff0aa3 module-color-0 = #a663cc module-color-1 = #fb6f92 ;module-color-0 = #1ca09d ;module-color-1 = #2be38f ;module-bg = #e6100b13 module-bg = ${colors.background} module-bg-alt = ${colors.module-bg} ;xwindow-fg = #9d00ff ;window-fg = #1ca09d xwindow-fg = ${colors.module-color-0} ws-active-fg = #232627 ws-active-bg = ${colors.module-color-1} ws-active-ul = #d33682 ws-occupied-fg = #232627 ws-occupied-bg = ${colors.module-color-0} ws-occupied-ul = #130f23 ws-empty-fg = ${colors.xwindow-fg} ws-empty-bg = ${colors.background} ws-empty-ul = ${colors.background} ws-urgent-fg = ${colors.module-color-1} ws-urgent-bg = ${colors.module-color-0} ws-urgent-ul = #d33682 time-fg = ${colors.module-color-1} time-bg = ${colors.module-bg} uptime-fg = ${colors.module-color-1} uptime-bg = ${colors.module-bg} ethernet-fg = ${colors.module-color-0} ethernet-bg = ${colors.module-bg} wifi-fg = ${colors.ethernet-fg} wifi-bg = ${colors.module-bg} fs-root-fg = ${colors.module-color-1} fs-root-bg = ${colors.module-bg} ;fs-home-fg = ${colors.module-color-1} ;fs-home-bg = ${colors.module-bg} fs-hdd-fg = ${colors.module-color-0} fs-hdd-bg = ${colors.module-bg} cpu-fg = ${colors.module-color-1} cpu-bg = ${colors.module-bg} temp-fg = ${colors.module-color-0} temp-bg = ${colors.module-bg} temp-warn-fg = ${colors.temp-fg} temp-warn-bg = ${colors.module-bg-alt} mem-fg = ${colors.module-color-1} mem-bg = ${colors.module-bg} vol-fg = ${colors.module-color-1} vol-bg = ${colors.module-bg} ;vol-fg-alt = #c32aeb vol-fg-alt = ${colors.module-color-0} batt-charging-bg = ${colors.module-bg} batt-charging-fg = ${colors.module-color-0} batt-discharging-bg = ${colors.module-bg} batt-discharging-fg = ${colors.module-color-1} batt-full-bg = ${colors.module-bg} batt-full-fg = ${colors.module-color-0} ; same as mybar but on second monitor ; also has different font size, bar height, etc ; modules are the same and should be synced if either is changed [bar/mybar2] tray-position = right tray-padding = 2 tray-background = ${colors.systray-bg} monitor = ${env:MONITOR:HDMI-0} enable-ipc = true width = 1920 height = 22 offset-x = 0 offset-y = 0 radius = 0 fixed-center = true bottom = 0 background = ${colors.background} foreground = ${colors.foreground} line-size = 0 line-color = #f00 border-size = 0 border-color = #00000000 padding-left = 0 padding-right = 0 module-margin-left = 0 module-margin-right = 0 font-0 = "SauceCodePro:style=Regular:size=9;3" font-1 = "Source Han Sans JP Normal:size=9;3" font-2 = "RobotoMono Nerd Font Mono:size=22;5" font-3 = fixed:pixelsize=10;1 ;font-4 = unifont:fontformat=truetype:size=8:antialias=false;0 ;font-5 = siji:pixelsize=10;1 modules-left = date uptime wlan eth storage-ssd storage-hdd cpu temperature memory xwindow modules-right = battery pulseaudio ewmh override-redirect = false cursor-click = pointer cursor-scroll = ns-resize [bar/mybar] tray-position = right tray-padding = 2 tray-background = ${colors.systray-bg} monitor = ${env:MONITOR:eDP-1} monitor-fallback = ${env:MONITOR:eDP-1-1} enable-ipc = true width = 1920 height = 28 offset-x = 0 offset-y = 0 radius = 0 fixed-center = true bottom = 0 background = ${colors.background} foreground = ${colors.foreground} line-size = 0 line-color = #f00 border-size = 0 border-color = #00000000 padding-left = 0 padding-right = 0 module-margin-left = 0 module-margin-right = 0 font-0 = "SauceCodePro:style=Regular:size=12;3" font-1 = "Source Han Sans JP Normal:size=11;2" font-2 = "RobotoMono Nerd Font Mono:size=22;5" font-3 = fixed:pixelsize=10;1 ;font-4 = unifont:fontformat=truetype:size=8:antialias=false;0 ;font-5 = siji:pixelsize=10;1 modules-left = date uptime wlan eth storage-ssd storage-hdd cpu temperature memory xwindow modules-right = battery pulseaudio ewmh override-redirect = true cursor-click = pointer cursor-scroll = ns-resize [module/xwindow] type = internal/xwindow label = " %title:0:50:...%" label-foreground = ${colors.xwindow-fg} [module/storage-ssd] type = internal/fs interval = 25 mount-0 = / label-mounted = " SSD: %percentage_used%% " label-mounted-background = ${colors.fs-root-bg} label-mounted-foreground = ${colors.fs-root-fg} [module/storage-hdd] type = internal/fs interval = 25 mount-0 = /hdd label-mounted = " HDD: %percentage_used%% " label-mounted-background = ${colors.fs-hdd-bg} label-mounted-foreground = ${colors.fs-hdd-fg} [module/cpu] type = internal/cpu interval = 2 label = " CPU: %percentage:2%% " label-background = ${colors.cpu-bg} label-foreground = ${colors.cpu-fg} [module/memory] type = internal/memory interval = 2 label-background = ${colors.mem-bg} label-foreground = ${colors.mem-fg} label = " MEM: %percentage_used%% " [module/wlan] type = internal/network interface = wlo1 interval = 3.0 format-connected = format-connected-background = ${colors.wifi-bg} format-connected-foreground = ${colors.wifi-fg} label-connected = "WIFI: %essid% (%local_ip%)" ;label-connected = "%local_ip%" label-disconnected = "" label-disconnected-foreground = ${colors.foreground} label-disconnected-background = ${colors.wifi-bg} ramp-signal-0 = ramp-signal-1 = ramp-signal-2 = ramp-signal-3 = ramp-signal-4 = ramp-signal-foreground = ${colors.foreground} [module/eth] type = internal/network interface = eno1 interval = 3.0 label-connected-background = ${colors.ethernet-bg} label-connected-foreground = ${colors.ethernet-fg} format-connected-underline = #55aa55 format-connected-prefix = "" format-connected-prefix-foreground = ${colors.foreground} label-connected = " %local_ip% " format-disconnected = ;format-disconnected = ;format-disconnected-underline = ${self.format-connected-underline} ;label-disconnected = %ifname% disconnected ;label-disconnected-foreground = ${colors.foreground-alt} [module/date] type = internal/date interval = 5 time = " %I:%M %p " time-alt = " %d %B %Y (%A) %H:%M:%S " format-foreground = ${colors.time-fg} format-background = ${colors.time-bg} label = %{A3:#uptime.module_toggle:}%time%%{A3} [module/uptime] type = custom/script click-left = module_toggle interval = 100 exec = "uptime | awk -F, '{sub(".*up ",x,$1);sub(" min","",$1);sub(":","H ",$1);print $1"M"}'" label = "/ UP: %output% " hidden = true format-foreground = ${colors.uptime-fg} format-background = ${colors.uptime-bg} [module/pulseaudio] type = internal/pulseaudio format-volume = label-volume = " VOL: %percentage%% " label-volume-background = ${colors.vol-bg} label-volume-foreground = ${colors.vol-fg} use-ui-max = false label-muted = " MUTED " label-muted-foreground = ${colors.vol-fg-alt} label-muted-background = ${colors.vol-bg} [module/temperature] type = internal/temperature thermal-zone = 0 warn-temperature = 65 label = " TEMP: %temperature-c% " label-warn-foreground = ${colors.temp-warn-fg} label-warn-background = ${colors.temp-warn-bg} label-background = ${colors.temp-bg} label-foreground = ${colors.temp-fg} [settings] screenchange-reload = true ;compositing-background = xor ;compositing-background = screen ;compositing-foreground = source ;compositing-border = over ;pseudo-transparency = false [global/wm] margin-top = 0 margin-bottom = 0 [module/battery] type = internal/battery ; This is useful in case the battery never reports 100% charge full-at = 100 ; Use the following command to list batteries and adapters: ; $ ls -1 /sys/class/power_supply/ battery = BAT0 adapter = ADP1 poll-interval = 5 label-full = label-discharging = " BATT: %percentage%% " label-charging = " BATT: %percentage%% " label-charging-background = ${colors.batt-charging-bg} label-charging-foreground = ${colors.batt-charging-fg} label-discharging-background = ${colors.batt-discharging-bg} label-discharging-foreground = ${colors.batt-discharging-fg} label-full-background = ${colors.batt-full-bg} label-full-foreground = ${colors.batt-full-fg} [module/ewmh] type = internal/xworkspaces pin-workspaces = false enable-click = true enable-scroll = false format = label-monitor = %name% label-active = %name% label-active-foreground = ${colors.ws-active-fg} label-active-background = ${colors.ws-active-bg} label-active-underline = ${colors.ws-active-ul} label-active-padding = 3 label-occupied = %name% label-occupied-foreground = ${colors.ws-occupied-fg} label-occupied-background = ${colors.ws-occupied-bg} label-occupied-underline = ${colors.ws-occupied-ul} label-occupied-padding = 3 label-empty = %name% label-empty-foreground = ${colors.ws-empty-fg} label-empty-background = ${colors.ws-empty-bg} label-empty-underline = ${colors.ws-empty-ul} label-empty-padding = 3 label-background = #FFFFFF label-urgent = %name% label-urgent-foreground = ${colors.ws-urgent-fg} label-urgent-background = ${colors.ws-urgent-bg} label-urgent-underline = ${colors.ws-urgent-ul} label-urgent-padding = 3