I tried using polybar again

This commit is contained in:
Geoffrey Frogeye 2021-06-11 21:43:46 +02:00
parent 6b13214c4d
commit 06e24eac37
4 changed files with 17 additions and 1 deletions

11
config/polybar/bars.ini Normal file
View file

@ -0,0 +1,11 @@
[bar/base]
monitor = ${env:display}
bottom = true
[bar/primary]
inherit = bar/base
modules-right = date
[bar/secondary]
inherit = bar/base
modules-right = date

View file

@ -0,0 +1,2 @@
include-file = modules.ini
include-file = bars.ini

View file

@ -21,7 +21,7 @@ do
else else
bar="secondary" bar="secondary"
fi fi
polybar $bar & polybar -q $bar -c ~/.config/polybar/config.ini &
done done
echo "Bars launched..." echo "Bars launched..."

View file

@ -0,0 +1,3 @@
[module/date]
type = internal/date
date = %m-%d %H:%M:%S