1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

polybar: Update to upstream feat/units config

Fix a few things that changed along the way.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
2022-02-21 20:44:17 +00:00
parent 55e492cd8f
commit 0ba6dc8e4b
3 changed files with 9 additions and 10 deletions

View File

@ -1,5 +1,5 @@
[colours]
background = transparent
background = #0000
text = #eceff1
icon = #147a82
warning = #ffcb00
@ -16,7 +16,6 @@ format-offset = 0
screenchange-reload = true
[bar/i3bar]
monitor = ${env:MONITOR:HDMI-0}
dpi = ${xrdb:Xft.dpi:96}
fixed-center = false
enable-ipc = true
@ -46,14 +45,14 @@ line-colour = #f00
modules-left = i3
modules-center =
# modules-right = volume updates weather xkeyboard wlan gateway eth memory cpu xbacklight battery cputemp gputemp date
modules-right = volume updates weather wlan gateway eth memory cpu xbacklight battery cputemp gputemp date
modules-right = volume updates weather wlan eth memory cpu xbacklight battery cputemp gputemp date
tray-position = right
tray-detached = false
tray-background = ${colours.background}
#tray-offset-x = -20
#tray-offset-y = 0
tray-maxsize = 12pt
tray-maxsize = 16pt
tray-padding = 8pt
tray-scale = 1.0
@ -188,10 +187,10 @@ ramp-signal-foreground = ${colours.icon}
[module/eth]
type = internal/network
interface = eth0
interval = 3.0
interface = lan
interval = 10.0
label-connected = %local_ip%
label-connected = %local_ip% & %local_ip6%
format-connected-prefix = " "
format-connected-prefix-foreground = ${colours.icon}
format-connected-underline = ${colours.background}