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]
base03 = #002b36
base02 = #073642
base01 = #586e75
base00 = #657b83
base0 = #839496
base1 = #93a1a1
base2 = #eee8d5
base3 = #fdf6e3
yellow = #b58900
orange = #cb4b16
red = #dc322f
magenta = #d33682
violet = #6c71c4
blue = #268bd2
cyan = #2aa198
green = #859900
background = ${xrdb:color0:#222}
foreground = ${xrdb:color7:#222}
foreground-alt = ${xrdb:color7:#222}
primary = ${xrdb:color1:#222}
secondary = ${xrdb:color2:#222}
alert = ${xrdb:color3:#222}
[bar/top]
width = 100%
height = 27
padding = 1
background = ${colors.base2}
foreground = ${colors.base00}
font-0 = IBMPlexMono-Regular
background = ${colors.background}
foreground = ${colors.foreground}
font-0 = IBMPlexMono-Regular;2
font-1 = FontAwesome:size=16;3
modules-right = battery date
tray-position = right
tray-padding = 2
tray-padding = 3
enable-ipc = true
@ -37,6 +28,28 @@ battery = BAT0
adapter = AC
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]
type = internal/date
interval = 5

View File

@ -229,4 +229,4 @@
(run-shell-command "/usr/bin/dropbox > /tmp/dropbox.log 2>&1")
;; 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")