Created
May 21, 2019 09:46
-
-
Save kontheocharis/5f7e9a84b75f3984d2bb4041cf5a54da to your computer and use it in GitHub Desktop.
Polybar config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [colors] | |
| background = #00000000 | |
| foreground = #88ffffff | |
| highlight = #33ffffff | |
| error = ${xrdb:color1:#ff7070} | |
| [barsetup] | |
| background = ${colors.background} | |
| foreground = ${colors.foreground} | |
| line-size = 2 | |
| line-color = ${colors.foreground} | |
| dpi = 144 | |
| font-0 = monospace:size=10;0.6 | |
| font-1 = monospace:size=11;0 | |
| font-2 = monospace:size=10:weight=bold;0.6 | |
| font-3 = monospace:italic:size=10;0.6 | |
| font-4 = Fira Code Symbol:size=10;0.6 | |
| cursor-click = pointer | |
| cursor-scroll = ns-resize | |
| enable-ipc = true | |
| width = 100% | |
| monitor-strict = false | |
| height = 45 | |
| padding = 1 | |
| fixed-center = true | |
| [bar/top] | |
| module-margin = 1.2 | |
| modules-left = xwindow | |
| modules-right = temperature pulseaudio wlan battery date | |
| inherit = barsetup | |
| [bar/bottom] | |
| padding-left = 0 | |
| module-margin = 2 | |
| modules-left = i3 | |
| modules-right = mpd | |
| bottom = true | |
| inherit = barsetup | |
| [module/xwindow] | |
| type = internal/xwindow | |
| label = %title:0:110:...% | |
| [module/i3] | |
| type = internal/i3 | |
| format = <label-state> <label-mode> | |
| index-sort = true | |
| wrapping-scroll = false | |
| pin-workspaces = true | |
| label-mode = %mode% | |
| label-mode-background = ${colors.background} | |
| label-mode-padding = 2 | |
| ; focused = Active workspace on focused monitor | |
| label-focused = %{T3}%index% | |
| label-focused-underline = ${colors.foreground} | |
| label-focused-padding = ${self.label-mode-padding} | |
| ; unfocused = Inactive workspace on any monitor | |
| label-unfocused = %{T1}%index% | |
| label-unfocused-padding = ${self.label-mode-padding} | |
| ; visible = Active workspace on unfocused monitor | |
| label-visible = %{T3}%index% | |
| label-visible-underline = ${colors.foreground} | |
| label-visible-padding = ${self.label-mode-padding} | |
| ; urgent = Workspace with urgency hint set | |
| label-urgent = %{T3}%index% | |
| [module/mpd] | |
| type = internal/mpd | |
| format-online = <toggle> <label-song> | |
| icon-pause = | |
| icon-play = | |
| label-song = %{T4}%artist% – %title% | |
| label-song-maxlen = 70 | |
| label-song-ellipsis = true | |
| [module/wlan] | |
| type = internal/network | |
| interface = wlp4s0 | |
| interval = 3.0 | |
| format-connected = <label-connected> | |
| label-connected = %{T2}直%{T-} | |
| format-disconnected = <label-disconnected> | |
| label-disconnected = %{T2}睊%{T-} | |
| [module/date] | |
| type = internal/date | |
| interval = 5 | |
| date = "%a %d %b" | |
| ; this is to use the : ligature for time, because polybar doesnt support ligatures :( | |
| time = %H%%{T5}%%{T-}%M | |
| label = %date% %time% | |
| [module/pulseaudio] | |
| type = internal/pulseaudio | |
| format-volume = <ramp-volume> <label-volume> | |
| label-volume = %percentage% | |
| label-muted = %{T2}婢%{T-} | |
| ramp-volume-0 = %{T2}奄%{T-} | |
| ramp-volume-1 = %{T2}奔%{T-} | |
| ramp-volume-2 = %{T2}奔%{T-} | |
| ramp-volume-3 = %{T2}墳%{T-} | |
| ramp-volume-4 = %{T2}墳%{T-} | |
| ramp-volume-5 = %{T2}墳%{T-} | |
| [module/battery] | |
| type = internal/battery | |
| battery = BAT0 | |
| adapter = ADP1 | |
| full-at = 100 | |
| format-charging = <label-charging> | |
| label-charging = %{T2}ﮣ%{T-} %percentage% | |
| format-discharging = <ramp-capacity> <label-discharging> | |
| label-discharging = %percentage% | |
| label-full = %{T2}%{T-} %percentage% | |
| ramp-capacity-0 = %{T2}%{T-} | |
| ramp-capacity-0-foreground = #ff7070 | |
| ramp-capacity-1 = %{T2}%{T-} | |
| ramp-capacity-1-foreground = #ff7070 | |
| ramp-capacity-2 = %{T2}%{T-} | |
| ramp-capacity-2-foreground = #ff7070 | |
| ramp-capacity-3 = %{T2}%{T-} | |
| ramp-capacity-4 = %{T2}%{T-} | |
| ramp-capacity-5 = %{T2}%{T-} | |
| ramp-capacity-6 = %{T2}%{T-} | |
| ramp-capacity-7 = %{T2}%{T-} | |
| ramp-capacity-8 = %{T2}%{T-} | |
| ramp-capacity-9 = %{T2}%{T-} | |
| ramp-capacity-10 = %{T2}%{T-} | |
| [module/temperature] | |
| type = internal/temperature | |
| hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon3/temp1_input | |
| warn-temperature = 60 | |
| units = false | |
| format = <label> | |
| label = | |
| label-warn = %{T2}﨎%{T-} %temperature-c% | |
| label-warn-foreground = #ff7070 | |
| [settings] | |
| screenchange-reload = true | |
| pseudo-transparency = false | |
| ; vim:ft=dosini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment