[polybar] Fixup polybar

- Remove _some_ unused variables.

- Fix the font, height, and padding for the bar itself, and the modules inside.

- Remove the monitor, I always only have one now.
This commit is contained in:
Tom Willemse 2021-11-02 21:56:30 -07:00
parent 342bb20e05
commit 72d40a0936

View file

@ -1,20 +1,17 @@
; -*- mode: conf-windows; -*- ; -*- mode: conf-windows; -*-
[colors] [colors]
background = #475454 background = #5b6161
background-alt = #222222
foreground = #bfbfbf foreground = #bfbfbf
foreground-alt = #969696 foreground-alt = #969696
primary = #ffb52a primary = #a85454
secondary = #e60053 secondary = #e60053
alert = #bd2c40 alert = #bd2c40
[bar/rincewind] [bar/rincewind]
width = 100% width = 100%
height = 27 height = 31
radius = 6.0
fixed-center = false fixed-center = false
bottom = true bottom = true
monitor = HDMI-A-0
enable-ipc = true enable-ipc = true
background = ${colors.background} background = ${colors.background}
@ -23,17 +20,18 @@ foreground = ${colors.foreground}
line-size = 3 line-size = 3
line-color = #ff0000 line-color = #ff0000
border-size = 4 border-size = 30
border-top-size = 0
border-bottom-size = 0
border-color = #00000000 border-color = #00000000
padding-left = 0
padding-right = 2 padding-right = 2
module-margin-left = 1 module-margin-left = 1
module-margin-right = 2 module-margin-right = 1
font-0 = fixed:pixelsize=10;1 font-0 = Fantasque Sans Mono:pixelsize=16;3
font-1 = Font Awesome 5 Free:style=Solid:pixelsize=10;0 font-1 = Font Awesome 5 Free:style=Solid:pixelsize=10;2
font-2 = siji:pixelsize=10;1 font-2 = siji:pixelsize=10;1
modules-left = ewmh xwindow modules-left = ewmh xwindow
@ -89,15 +87,19 @@ pin-workspaces = false
enable-click = false enable-click = false
enable-scroll = false enable-scroll = false
label-active = " %name%* " label-occupied = " %name% "
label-active = " %name% "
label-empty = " %name% "
label-urgent = " %name% "
label-empty-foreground = #969696 label-active-background = ${colors.primary}
label-empty-foreground = #a2a2a2
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow
label = %title% label = %title%
format-padding = 4 format-padding = 3
format-background = #a85454 format-background = ${colors.primary}
[module/xkeyboard] [module/xkeyboard]
type = internal/xkeyboard type = internal/xkeyboard