I tried using polybar again

prenix
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
bar="secondary"
fi
polybar $bar &
polybar -q $bar -c ~/.config/polybar/config.ini &
done
echo "Bars launched..."

View File

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