Get polybar to something workable

This commit is contained in:
Jeremy Dormitzer 2020-05-17 21:41:09 -04:00
parent 52470089bd
commit 9c99fee9f4
2 changed files with 34 additions and 21 deletions

View File

@ -1,33 +1,24 @@
[colors] [colors]
base03 = #002b36 background = ${xrdb:color0:#222}
base02 = #073642 foreground = ${xrdb:color7:#222}
base01 = #586e75 foreground-alt = ${xrdb:color7:#222}
base00 = #657b83 primary = ${xrdb:color1:#222}
base0 = #839496 secondary = ${xrdb:color2:#222}
base1 = #93a1a1 alert = ${xrdb:color3:#222}
base2 = #eee8d5
base3 = #fdf6e3
yellow = #b58900
orange = #cb4b16
red = #dc322f
magenta = #d33682
violet = #6c71c4
blue = #268bd2
cyan = #2aa198
green = #859900
[bar/top] [bar/top]
width = 100% width = 100%
height = 27 height = 27
padding = 1 padding = 1
background = ${colors.base2} background = ${colors.background}
foreground = ${colors.base00} foreground = ${colors.foreground}
font-0 = IBMPlexMono-Regular font-0 = IBMPlexMono-Regular;2
font-1 = FontAwesome:size=16;3
modules-right = battery date modules-right = battery date
tray-position = right tray-position = right
tray-padding = 2 tray-padding = 3
enable-ipc = true enable-ipc = true
@ -37,6 +28,28 @@ battery = BAT0
adapter = AC adapter = AC
full-at = 98 full-at = 98
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
label-full =  %percentage%%
ramp-capacity-0 = 
ramp-capacity-0-foreground = ${colors.alert}
ramp-capacity-1 = 
ramp-capacity-1-foreground = ${colors.secondary}
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
[module/date] [module/date]
type = internal/date type = internal/date
interval = 5 interval = 5

View File

@ -229,4 +229,4 @@
(run-shell-command "/usr/bin/dropbox > /tmp/dropbox.log 2>&1") (run-shell-command "/usr/bin/dropbox > /tmp/dropbox.log 2>&1")
;; Polybar ;; Polybar
;; (run-shell-command "polybar top --reload >> /tmp/polybar.top.log 2>&1") (run-shell-command "polybar top --reload >> /tmp/polybar.top.log 2>&1")