;========================================================== ; ; THIS IS AN EXAMPLE CONFIGURATION FILE! ; IT IS NOT SUPPOSED TO WORK OUT OF THE BOX SINCE IS CONTAINS ; SETTINGS THAT ARE SPECIFIC TO THE MACHINE WHICH WAS USED ; TO GENERATE IT. ; Please refer to the web documentation hosted at: ; https://github.com/polybar/polybar#configuration ; and ; https://github.com/polybar/polybar/wiki/Configuration ; if you want to automatically generate one for you. ; ;========================================================== ; ; ; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ; ; ; To learn more about how to configure Polybar ; go to https://github.com/polybar/polybar ; ; The README contains a lot of information ; ;========================================================== [colors] ;background = ${xrdb:color0:#222} background = #aa000000 background-alt = #aa000000 ;foreground = ${xrdb:color7:#222} foreground = #dfdfdf foreground-alt = #555 foreground-1 = #fbcdeb primary = #ffb52a secondary = #e60053 alert = #bd2c40 [bar/main] monitor = DP-0.8 monitor-fallback = HDMI-0 width = 100% height = 28 ;offset-x = 1% ;offset-y = 1% radius = 6.0 fixed-center = false background = ${colors.background} foreground = ${colors.foreground} line-size = 3 line-color = #f00 border-size = 4 border-color = #00000000 padding-left = 0 padding-right = 2 module-margin-left = 1 module-margin-right = 2 font-0 = "FantasqueSansMono Nerd Font Mono:style=Bold" ; font-0 = "Monofur Nerd Font Mono:size=12:weight=bold" font-1 = "FontAwesome:size=12" ; modules-left = publicip filesystem modules-left = i3 modules-center = date modules-right = mpd pulseaudio tray-position = right tray-padding = 2 ;tray-background = #0063ff cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true locale = fr_FR.UTF-8 [module/ewmh] type = internal/xworkspaces ; Only show workspaces defined on the same output as the bar ; ; Useful if you want to show monitor specific workspaces ; on different bars ; ; Default: false pin-workspaces = true ; Create click handler used to focus desktop ; Default: true enable-click = false ; Create scroll handlers used to cycle desktops ; Default: true enable-scroll = false ; Reverse the scroll direction ; Default: false ; New in version 3.6.0 reverse-scroll = true [module/filesystem] type = internal/fs interval = 25 mount-0 = / mount-1 = /home spacing = 4 label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.foreground-alt} [module/mpd] type = internal/mpd host = 127.0.0.1 port = 6600 interval = 2 ; format-online = " %{F#fbcdeb}%{F-} %{F#1592a6}%{F-} " format-online = "%{F#fbcdeb}%{F-} %{F#1592a6}%{F-}" icon-prev = %{T2}%{T-} icon-stop = %{T2}%{T-} icon-play = %{T2}%{T-} icon-pause = %{T2}%{T-} icon-next = %{T2}%{T-} ; label-song = %artist%: label-song = %artist% - %title%: label-song-maxlen = 50 label-song-ellipsis = true label-time = %elapsed% / %total% [module/publicip] type = custom/script exec = "curl --silent -L 'ipinfo.io?token=2a605445c3e4fe' | jq -r '.ip'" interval = 86400 format-underline = #268bd2 format-prefix = "%{T2}%{T-} " format-prefix-foreground = #5b [module/eth] type = internal/network interface = enp3s0 interval = 3.0 format-connected-underline = #55aa55 format-connected-prefix = "%{T2}%{T-} " format-connected-prefix-foreground = ${colors.foreground-alt} 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 ; date = %d/%m/%Y date = %A, %d %b %Y date-alt = %A, %d %b %Y time = %H:%M time-alt = %H:%M:%S format-prefix =  format-prefix-foreground = ${colors.foreground-alt} format-underline = #0a6cf5 label = %date% %time% [module/i3] type = internal/i3 ; Only show workspaces defined on the same output as the bar ; ; Useful if you want to show monitor specific workspaces ; on different bars ; ; Default: false pin-workspaces = true ; Show urgent workspaces regardless of whether the workspace is actually hidden ; by pin-workspaces. ; ; Default: false ; New in version 3.6.0 show-urgent = true ; This will split the workspace name on ':' ; Default: false strip-wsnumbers = true ; Sort the workspaces by index instead of the default ; sorting that groups the workspaces by output ; Default: false index-sort = true ; Create click handler used to focus workspace ; Default: true enable-click = false ; Create scroll handlers used to cycle workspaces ; Default: true enable-scroll = false ; Wrap around when reaching the first/last workspace ; Default: true wrapping-scroll = false ; Set the scroll cycle direction ; Default: true reverse-scroll = false ; Use fuzzy (partial) matching on labels when assigning ; icons to workspaces ; Example: code;♚ will apply the icon to all workspaces ; containing 'code' in the label ; Default: false fuzzy-match = true ; ws-icon-[0-9]+ =