;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; To learn more about how to configure Polybar ; go to https://github.com/polybar/polybar ; ; The README contains a lot of information ; ;========================================================== include-file = $HOME/.config/polybar/powerline-for-polybar/powerline-for-polybar.config [colors] ;background = ${xrdb:color0:#222} background = #00000000 ;foreground = ${xrdb:color7:#222} foreground = #DFDFDF foreground-alt = #4B8783 primary = #0065CE secondary = #005DBC alert = #F7001B success = #00B100 module-bg = #171717 module-bg-alt = #1E1E1E ; ============ BARS ============ [common] monitor = ${env:MONITOR:} width = 100% height = 17 radius = 0 fixed-center = false font-0 = FiraCode Nerd Font Mono:size=10:style=Retina,Regular;2 font-1 = FiraCode Nerd Font Mono:size=13:style=Retina,Regular;3 font-2 = FiraCode Nerd Font Mono:size=15:style=Retina,Regular;4 font-3 = Roboto:size=10,Regular;2 background = ${colors.background} foreground = ${colors.foreground} line-size = 2 line-color = #f00 padding-left = 0 padding-right = 0 module-margin-right = 0 module-margin-left = 0 module-padding = 1 cursor-click = pointer [bar/primary] ; inherit = bar/secondary inherit = common modules-left = powermenu i3-alt modules-center = modules-right = xkeyboard clipboard-alt colorpicker-alt emojipicker-alt scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev bottom = true tray-position = right tray-background = ${colors.module-bg} tray-padding = 2 [bar/secondary] inherit = common modules-left = i3 modules-center = modules-right = xkeyboard-alt clipboard colorpicker emojipicker scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev bottom = true [bar/top] inherit = common modules-left = date dunst modules-center = modules-right = pulseaudio battery cpu memory temperature eth wlan vpn ; ============ MODULES ============ [module/xwindow] type = internal/xwindow label = %title:0:50:...% label-font = 4 label-padding = 2 format-background = ${colors.module-bg} format-prefix-foreground = ${colors.module-bg} format-prefix-background = ${colors.background} format-prefix = "" format-suffix-foreground = ${colors.module-bg} format-suffix-background = ${colors.background} format-suffix = "" [module/xkeyboard] type = internal/xkeyboard inherit = powerline-templates/right-to-left-item background = ${colors.module-bg} background-next = ${colors.background} format = "%{} %{F#6E6E6E}%{F-} " format-background = ${colors.module-bg} indicator-icon-default = indicator-icon-0 = caps lock;C;C indicator-icon-1 = num lock;N;N indicator-icon-2 = scroll lock;RS;RS label-indicator-on = "%{F#DFDFDF}%icon%%{F#DFDFDF}" label-indicator-off = "%{F#555}%icon%%{F#DFDFDF}" [module/xkeyboard-alt] inherit = module/xkeyboard background = ${colors.module-bg-alt} format-background = ${colors.module-bg-alt} ; [module/filesystem] ; type = internal/fs ; interval = 25 ; mount-0 = / ; label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% ; label-unmounted = %mountpoint% not mounted ; label-unmounted-foreground = ${colors.foreground-alt} ; [module/bspwm] ; type = internal/bspwm ; label-focused = %index% ; label-focused-background = ${colors.background} ; label-focused-underline= ${colors.primary} ; label-focused-padding = 2 ; label-occupied = %index% ; label-occupied-padding = 2 ; label-urgent = %index%! ; label-urgent-background = ${colors.alert} ; label-urgent-padding = 2 ; label-empty = %index% ; label-empty-foreground = ${colors.foreground-alt} ; label-empty-padding = 2 ; Separator in between workspaces ; label-separator = | [module/i3] type = internal/i3 inherit = powerline-templates/left-to-right-item background = ${colors.module-bg} background-next = ${colors.background} format = "%{B#171717} %{B-}%{B#171717} %{B-}" index-sort = true wrapping-scroll = false ; Only show workspaces on the same output as the bar pin-workspaces = true label-mode = "%{B#171717} %{F#6E6E6E}%{F-} %{F#F7001B}%mode%%{F-}%{B-}" ; focused = Active workspace on focused monitor label-focused = %index% ; label-focused-background = ${colors.background} label-focused-background= ${colors.primary} label-focused-padding = 1 ; unfocused = Inactive workspace on any monitor label-unfocused = %index% label-unfocused-background = ${colors.module-bg} label-unfocused-padding = 1 ; visible = Active workspace on unfocused monitor label-visible = %index% ; label-visible-background = ${self.label-focused-background} label-visible-background = ${colors.secondary} label-visible-padding = ${self.label-focused-padding} ; urgent = Workspace with urgency hint set label-urgent = %index% label-urgent-background = ${colors.alert} label-urgent-padding = 1 ; Separator in between workspaces ; label-separator = | [module/i3-alt] inherit = module/i3 format = "%{B#1E1E1E} %{B-}%{B#1E1E1E} %{B-}" background = ${colors.module-bg-alt} label-mode = "%{B#1E1E1E} %{F#6E6E6E}%{F-} %{F#F7001B}%mode%%{F-}%{B-}" label-mode-background = ${colors.module-bg-alt} label-unfocused-background = ${colors.module-bg-alt} ; [module/mpd] ; type = internal/mpd ; format-online = ; icon-prev =  ; icon-stop =  ; icon-play =  ; icon-pause =  ; icon-next =  ; label-song-maxlen = 25 ; label-song-ellipsis = true ; [module/xbacklight] ; type = internal/xbacklight ; format =