;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; 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 = #00fdf6e3 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 = false 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 = filesystem modules-right = root home storage cursor-click = pointer cursor-scroll = ns-resize enable-ipc = false monitor = HDMI-A-0 ; tray-position = right ############### # CUSTOMS # ############### [module/weather] ; format-background = ${colors.background-alt} type = custom/script ; hook-0 = ~/.config/polybar/scripts/weather-plugin.sh exec = ~/.config/polybar/scripts/weather-plugin.sh tail = false interval = 900 [module/updates] type = custom/script exec = ~/.config/polybar/scripts/updates.sh interval = 3600 [module/uptime] type = custom/script format-prefix = "󰅔" # exec = echo 󰅔 $(uptime | sed 's/.*up //g;s/,.*user.*//g' ) exec = uptime | sed 's/.*up //g;s/,.*user.*//g' 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 # exec = echo  $(mpc --host=192.168.0.186 status %volume%) # scroll-up = mpc --host=192.168.0.186 volume +5 # scroll-down = mpc --host=192.168.0.186 volume -5 # click-left = mpc --host=192.168.0.186 toggleoutput 1 [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#' 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 ; label-padding-right = 2 [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:100% 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 = 