;; Colors [colors] background = #c0000000 foreground = #ffffffff transparent = #00000000 disabled = #ff808080 warn = #ffff8080 focused = ${self.foreground} visible = ${self.foreground} unfocused = ${self.transparent} urgent = ${self.warn} ;; Fonts ; https://en.wikipedia.org/wiki/Open-source_Unicode_typefaces [fonts] ; fonts-dejavu-core (usually installed) font-0 = DejaVu Sans Mono:size=10;3 ; fonts-noto-mono (usually installed) font-1 = Noto Sans Mono:size=10;2 ; fonts-freefont-ttf (usually installed) font-2 = FreeMono:style=Bold:size=10;2 font-3 = FreeSans:style=Bold:size=10;2 ; System default monospace font-4 = Monospace:size=10;4 ; fonts-symbola font-5 = Symbola:size=10;3 ; fonts-unifont font-6 = Unifont:size=10;2 font-7 = Unifont Upper:size=10;2 ; fonts-font-awesome ; https://fontawesome.com/v4.7/icons ; font-8 = FontAwesome:size=11;4 ; fonts-material-design-icons-iconfont ; https://jossef.github.io/material-design-icons-iconfont ; https://fonts.google.com/icons ; font-9 = Material Icons:size=11;4 ; fonts-octicons ; https://primer.style/octicons/ ; font-10 = octicons:size=11;4 ;; Icons ; https://www.fileformat.info/info/unicode/char/search.htm ; https://www.fileformat.info/info/unicode/category/So ;;; Unicode [icons] ;;;; Miscellaneous Technical (U+2300 - U+23FF) ; https://www.fileformat.info/info/unicode/block/miscellaneous_technical keyboard = ⌨ ; time = ⌚ ; time = ⏲ ; https://en.wikipedia.org/wiki/Media_control_symbols#Symbols media-play = ⏵ media-pause = ⏸ media-play-pause = ⏯ media-stop = ⏹ media-seekf = ⏩ media-seekb = ⏪ media-next = ⏭ media-prev = ⏮ media-record = ⏺ media-eject = ⏏ ; https://en.wikipedia.org/wiki/Power_symbol#Unicode power-menu-open = ⏻ power-off = ⏻ power-sleep = ⏾ ;;;; Box Drawing (U+2500 - U+257F) ; https://www.fileformat.info/info/unicode/block/box_drawing progress-fill = ─ progress-empty = ─ progress-indicator = ╂ # progress-indicator = ┼ ;;;; Block Elements (U+2580 - U+259F) ; https://www.fileformat.info/info/unicode/block/block_elements load-0 = ▁ load-1 = ▂ load-2 = ▃ load-3 = ▄ load-4 = ▅ load-5 = ▆ load-6 = ▇ load-7 = █ ;;;; Miscellaneous Symbols (U+2600 - U+26FF) ; https://www.fileformat.info/info/unicode/block/miscellaneous_symbols ; backlight = ☀ ; backlight = ☼ ; temperature-warn = ⚠ ; media-music = ♫ ; media-music = ♬ ; weather = ☁ ; weather = ⛅ ;;;; Dingbats (U+2700 - U+27BF) ; https://www.fileformat.info/info/unicode/block/dingbats ; mail = ✉ ;;;; Miscellaneous Symbols and Arrows (U+2B00 - U+2BFF) ; https://www.fileformat.info/info/unicode/block/miscellaneous_symbols_and_arrows ; power-menu-open = ⚙ ; power-menu-open = ⛭ power-menu-close = ⭙ power-reboot = ⭮ ;;;; Miscellaneous Symbols and Pictographs (U+1F300 - U+1F5FF) ; https://www.fileformat.info/info/unicode/block/miscellaneous_symbols_and_pictographs ; backlight = 🔅 ; backlight = 🔆 ; backlight-0 = 🌕 ; backlight-1 = 🌔 ; backlight-2 = 🌓 ; backlight-3 = 🌒 ; backlight-4 = 🌑 ; backlight-0 = 🌑 ; backlight-1 = 🌘 ; backlight-2 = 🌗 ; backlight-3 = 🌖 ; backlight-4 = 🌕 volume-muted = 🔇 volume-0 = 🔈 volume-1 = 🔉 volume-2 = 🔉 volume-3 = 🔊 ; volume-0 = 🕨 ; volume-1 = 🕩 ; volume-2 = 🕩 ; volume-3 = 🕪 battery-charging = 🔌 battery-capacity-0 = 🔋 battery-capacity-1 = 🔋 battery-capacity-2 = 🔋 battery-capacity-3 = 🔋 battery-capacity-4 = 🔋 media-music= 🎜 ; media-music = 🎵 ; https://en.wikipedia.org/wiki/Media_control_symbols#Symbols media-random = 🔀 media-repeat = 🔁 media-single = 🔂 window = 🗖 temperature = 🌡 temperature-warn = 🌡 power-lock = 🔒 date = 🗓 ; date = 📅 ; date = 📆 time = 🕐 eth = 🖧 wlan = 📶 cpu = 💻 ; cpu = 🖳 ; cpu = 🖥 ; cpu = 📺 ; cpu = 📟 ; cpu = 🧮 ; cpu = 🗠 ; cpu = 📈 ; cpu = 📉 ; cpu = 🧠 memory = 🎟 ; memory = 🎫 ; filesystem = 🖫 ; filesystem = 🖴 ; filesystem = 🗀 ; filesystem = 🗁 ; filesystem = 📁 ; filesystem = 📂 ; mail = 📧 ; mail = 📨 ; mail = 📩 ; mail = 🖂 ; weather = 🌦 ;;;; Emoticons (U+1F600 - U+1F64F) ; https://www.fileformat.info/info/unicode/block/emoticons power-logout = 🚪 ;;;; Transport and Map Symbols (U+1F680 - U+1F6FF) ; https://www.fileformat.info/info/unicode/block/transport_and_map_symbols filesystem = 🛢 ;;;; Geometric Shapes Extended (U+1F780 - U+1F7FF) ; https://www.fileformat.info/info/unicode/block/geometric_shapes_extended backlight-0 = 🞻 backlight-1 = 🞼 backlight-2 = 🞽 backlight-3 = 🞾 backlight-4 = 🞿 signal-0 = 🟁 signal-1 = 🟄 signal-2 = 🟉 signal-3 = 🟎 signal-4 = 🟒 ; signal-0 = 🞅 ; signal-1 = 🞆 ; signal-2 = 🞇 ; signal-3 = 🞈 ; signal-4 = 🞉 ;;; Font Awesome [icons-font-awesome] volume-0 =  volume-1 =  volume-2 =  volume-3 =  battery-charging =  battery-capacity-0 =  battery-capacity-1 =  battery-capacity-2 =  battery-capacity-3 =  battery-capacity-4 =  temperature-0 =  temperature-1 =  temperature-2 =  temperature-3 =  temperature-4 =  power-off =  power-sleep =  power-logout =  power-lock =  wlan =  ; wlan =  cpu =  ; cpu =  ; cpu =  ; cpu =  memory =  ; memory =  filesystem =  ; filesystem =  ; filesystem =  ;; Settings [settings] ; pseudo-transparency = true screenchange-reload = true format-underline = ${colors.foreground} ;; Bars [bar-base] inherit = fonts height = 24 border-size = 5 line-size = 2 dpi-x = 0 dpi-y = 0 separator = " " foreground = ${colors.foreground} background = ${colors.background} enable-ipc = true ; cursor-click = pointer ; cursor-scroll = ns-resize [bar-border-base] inherit = bar-base background = ${colors.transparent} [bar/border-top] inherit = bar-border-base bottom = false modules-center = border [bar/border-bottom] inherit = bar-border-base bottom = true modules-center = border [bar-fake-base] inherit = bar-base override-redirect = true border-size = 0 offset-x = 5 offset-y = 5 width = 100%:-10 [bar/fake-top] inherit = bar-fake-base bottom = false modules-left = i3 modules-center = xwindow tray-position = right ; https://github.com/polybar/polybar/pull/2552 ; tray-foreground = ${colors.foreground} tray-background = ${colors.foreground} [bar/fake-bottom] inherit = bar-fake-base bottom = true padding = 1 modules-left = mpd modules-center = date modules-right = eth0 wlan0 eno1 wlo1 battery temperature cpu memory filesystem keyboard backlight volume powermenu ;; Modules ;;; Border [module/border] type = custom/text content = " " ;;; i3 ; https://github.com/polybar/polybar/wiki/Module:-i3 [module/i3] type = internal/i3 pin-workspaces = true format-padding = label-state-padding = 1 label-state = %name% label-focused-padding = ${self.label-state-padding} label-visible-padding = ${self.label-state-padding} label-unfocused-padding = ${self.label-state-padding} label-urgent-padding = ${self.label-state-padding} label-focused = ${self.label-state} label-visible = ${self.label-state} label-unfocused = ${self.label-state} label-urgent = ${self.label-state} label-focused-underline = ${colors.focused} label-visible-underline = ${colors.visible} label-unfocused-underline = ${colors.unfocused} label-urgent-underline = ${colors.urgent} ;;; X Window ; https://github.com/polybar/polybar/wiki/Module:-xwindow [module/xwindow] type = internal/xwindow format-underline = ; format-prefix = ${icons.window} label = %title:0:80:...% ; format-prefix-margin-right = 1 ;;; MPD ; https://github.com/polybar/polybar/wiki/Module:-mpd ; {auto}ssh {-f} -N -L localhost:6600:localhost:6600 mpd.$(dnsdomainname) [module/mpd] type = internal/mpd format-online-underline = format-offline-underline = format-online-prefix = ${icons.media-music} format-offline-prefix = ${icons.media-music} format-online = %{A3:$TERMINAL -e ncmpcpp &:} %{A} format-offline = format-offline-foreground = ${colors.disabled} label-song = %artist% - %title:0:50:...% label-offline = " " toggle-off-foreground = ${colors.disabled} icon-random = ${icons.media-random} icon-repeat = ${icons.media-repeat} icon-single = ${icons.media-single} icon-prev = ${icons.media-prev} icon-seekb = ${icons.media-seekb} icon-stop = ${icons.media-stop} icon-play = ${icons.media-play} icon-pause = ${icons.media-pause} icon-seekf = ${icons.media-seekf} icon-next = ${icons.media-next} bar-progress-width = 7 bar-progress-fill = ${icons.progress-fill} bar-progress-empty = ${icons.progress-empty} bar-progress-indicator = bar-progress-fill-foreground = ${colors.foreground} bar-progress-empty-foreground = ${colors.disabled} format-online-prefix-margin-right = 1 format-offline-prefix-margin-right = 1 ;;; Date ; https://github.com/polybar/polybar/wiki/Module:-date [module/date] type = internal/date date = %a %d %b date-alt = %Y-%m-%d time = %H:%M time-alt = %H:%M:%S format-underline = ; format-prefix = ${icons.date} format = %{A3:$TERMINAL -e ikhal &:}