;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; To learn more about how to configure Polybar ; go to https://github.com/polybar/polybar ; ; The README contains a lot of information ; ;========================================================== [colors] background = #ccfdf6e3 background-alt = #ccfdf6e3 foreground = #657b83 primary = #657b83 secondary = #657b83 alert = #A54242 disabled = #707880 [settings] screenchange-reload = true pseudo-transparency = true [bar/biggtop] width = 100% height = 15pt radius = 0 background = ${colors.background} foreground = ${colors.foreground} line-size = 3pt border-size = 0pt border-color = #00000000 padding-left = 1 padding-right = 1 module-margin = 1 separator = separator-foreground = ${colors.disabled} font-0 = Fira Mono:style=Medium:pixelsize=9;2 font-1 = PowerlineSymbols:size=10;2 font-2 = SymbolsNerdFont:size=10;2 modules-left = xwin-bigg modules-center = date modules-right = openvpn wireguard ethernet memory swap cpu pulseaudio xkeyboard powermenu cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true monitor = DVI-D-0 [bar/smoltop] width = 100% height = 15pt radius = 0 background = ${colors.background} foreground = ${colors.foreground} line-size = 3pt border-size = 0pt border-color = #00000000 padding-left = 1 padding-right = 1 module-margin = 1 separator = separator-foreground = ${colors.disabled} font-0 = Fira Mono:style=Medium:pixelsize=9;2 font-1 = PowerlineSymbols:size=10;2 font-2 = SymbolsNerdFont:size=10;2 modules-left = xwin-smol modules-center = date modules-right = pulseaudio xkeyboard powermenu cursor-click = pointer cursor-scroll = ns-resize enable-ipc = false monitor = HDMI-A-0 [bar/biggbott] bottom = true width = 100% height = 15pt radius = 0 background = ${colors.background} foreground = ${colors.foreground} line-size = 3pt border-size = 0pt border-color = #00000000 # padding-left = 1 padding-right = 1 module-margin = 1 separator = separator-foreground = ${colors.disabled} font-0 = Fira Mono:style=Medium:pixelsize=9;2 font-1 = PowerlineSymbols:size=10;2 font-2 = SymbolsNerdFont:size=10;2 modules-left = i3 modules-right = mpd mpdvol weather updates uptime cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true monitor = DVI-D-0 tray-position = right [bar/smolbott] bottom = true width = 100% height = 15pt radius = 0 background = ${colors.background} foreground = ${colors.foreground} line-size = 3pt border-size = 0pt border-color = #00000000 # padding-left = 1 padding-right = 1 module-margin = 1 separator = separator-foreground = ${colors.disabled} font-0 = Fira Mono:style=Medium:pixelsize=9;2 font-1 = PowerlineSymbols:size=10;2 font-2 = SymbolsNerdFont:size=10;2 modules-left = i3 modules-right = root home storage cursor-click = pointer cursor-scroll = ns-resize enable-ipc = false monitor = HDMI-A-0 ############### # CUSTOMS # ############### [module/weather] type = custom/script exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr -d ':,-' tail = false interval = 1800 [module/updates] type = custom/script exec = ~/.config/polybar/scripts/updates.sh interval = 600 [module/uptime] type = custom/script format-prefix = "󰅔 " exec = uptime | sed 's/.*up //;s/,.*user.*//' | tr ' ' ' ' interval = 60 [module/mpdvol] type = custom/ipc interval = 10 initial = 1 hook-0 = echo 󰴸 $(mpc --host=192.168.0.186 status %volume%) hook-1 = mpc --host=192.168.0.186 volume +1 > /dev/null hook-2 = mpc --host=192.168.0.186 volume -1 > /dev/null hook-3 = mpc --host=192.168.0.186 toggleoutput 1 > /dev/null hook-4 = mpc --host=192.168.0.186 volume +5 > /dev/null hook-5 = mpc --host=192.168.0.186 volume -5 > /dev/null [module/ddcci] type = custom/script exec = echo `ddcutil getvcp 10` | sed 's/VCP code 0x10 (Brightness ): current value = //'| sed 's/, max value = 100//' interval = 20 format-prefix = "󰍹 " format-suffix = "%" click-left = ddcutil setvcp 10 + 10 click-right = ddcutil setvcp 10 - 10 click-middle = ddcutil setvcp 10 0 double-click-left = ddcutil setvcp 10 + 25 double-click-right = ddcutil setvcp 10 - 25 [module/powermenu] type = custom/menu menu-0-0 = Poweroff menu-0-0-exec = poweroff menu-0-1 = Suspend menu-0-1-exec = systemctl suspend label-open =  [module/openvpn] type = custom/script exec = hostname -i | sed 's#.*10\.8#10\.8#' | sed 's# 10.66.66.2*##' exec-if = pgrep -x openvpn tail = true interval = 5 format-prefix = "󰢭 " ############### # INTERNAL # ############### [module/i3] type = internal/i3 pin-workspaces = true enable-scroll = true show-urgent = true strip-wsnumbers = true label-focused = %name% label-focused-background = ${colors.background-alt} label-focused-underline= ${colors.primary} label-focused-padding = 1 label-unfocused = %name% label-unfocused-padding = 1 label-visible = %name% label-visible-padding = 1 label-urgent = %name% label-urgent-foreground = #fdf6e3 label-urgent-background = #9a847c label-urgent-underline = #9a847c label-urgent-padding = 1 [xwindow-main] type = internal/xwindow label =  %title% label-ellipsis = true [module/xwin-bigg] inherit = xwindow-main label-maxlen = 123 [module/xwin-smol] inherit = xwindow-main label-maxlen = 59 [filesystem] type = internal/fs interval = 25 label-mounted = 󰋊 %mountpoint% %used%/%total% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.disabled} [module/root] inherit = filesystem mount-0 = / [module/home] inherit = filesystem mount-0 = /home [module/storage] inherit = filesystem mount-0 = /storage [module/mpd] type = internal/mpd host = 192.168.0.186 port = 6600 ; password = mysecretpassword interval = 1 ; Available tags: ; (default) ; ; ; - gets replaced with ; - gets replaced with ; ; ; (deprecated) ; - Toggle playing only a single song. Replaces ; ; ; ; ; ; ; ; format-online = 󰝚 Now playing: format-playing = ${self.format-online} format-paused = ${self.format-online} format-stopped = Press! -> <- format-offline = ; Available tokens: ; %artist% ; %album-artist% ; %album% ; %date% ; %title% ; Default: %artist% - %title% label-song = %artist% - %title:0:115% label-time = %elapsed% / %total% label-offline = 󰝚 mpd is offline icon-play =  icon-pause =  icon-stop =  icon-prev =  icon-next =  [module/temperature] type = internal/temperature ; Seconds to sleep between updates ; Default: 1 interval = 1 format = 