Commit 4dca5fd7 authored by Tim van Deurzen's avatar Tim van Deurzen

Add polybar configuration.

parent 36c2fe9a
......@@ -32,3 +32,7 @@
[fish.files.fish]
target = "~/.config/fish/"
type = "symbolic"
[polybar.files.polybar]
target = "~/.config/polybar/"
type = "symbolic"
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #888
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/main]
monitor = ${env:MONITOR:eDP-1}
width = 100%
height = 1.8%
radius = 6.0
fixed-center = false
bottom = true
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0
line-size = 2
padding = 1
module-margin = 1
font-0 = "consolas:size=12;1"
font-1 = "consolas:size=12;1"
font-2 = "Noto Sans Symbols:size=12;1"
font-3 = "Noto Sans Symbols2:size=12;1"
modules-left = ewmh xwindow
modules-center =
modules-right = eth wlan cpu memory battery date
tray-position = center
tray-padding = 2
tray-maxsize = 24
[global/wm]
margin-top = 0
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/ewmh]
type = internal/xworkspaces
pin-workspaces = false
enable-click = false
enable-scroll = false
label-active = " %name% "
label-active-underline = #fba922
label-occupied = " %name% "
label-occupied-foreground = #ffaa00
label-urgent = " %name% "
label-urgent-underline = #9b0a20
label-empty = " %name% "
label-empty-foreground = #555555
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "💻 "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = "🗍 "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc
label = %percentage_used:2%%
[module/wlan]
type = internal/network
interface = wlp61s0
interval = 5.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1
label-connected = %essid%
label-disconnected =
ramp-signal-0 = 🌧
ramp-signal-1 = 🌦
ramp-signal-2 = 🌥
ramp-signal-3 = 🌤
ramp-signal-4 = 🌣
[module/eth]
type = internal/network
interface = eth0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = "🖧 "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
[module/date]
type = internal/date
interval = 5
date = %Y-%m-%d
time = %H:%M
format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = %date% %time%
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
format-charging = <label-charging>
format-charging-underline = #ffb52a
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full = <label-full>
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 = ⚋
ramp-capacity-1 = ⚊
ramp-capacity-2 = ⚍
ramp-capacity-3 = ⚌
ramp-capacity-foreground = ${colors.foreground-alt}
label-charging = ⚡ %percentage%%
label-discharging = %percentage%%
label-full = " ☀ "
[settings]
screenchange-reload = true
; vim:ft=dosini
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment