I tried using polybar again
This commit is contained in:
parent
6b13214c4d
commit
06e24eac37
11
config/polybar/bars.ini
Normal file
11
config/polybar/bars.ini
Normal 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
|
2
config/polybar/config.ini
Normal file
2
config/polybar/config.ini
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
include-file = modules.ini
|
||||||
|
include-file = bars.ini
|
|
@ -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..."
|
||||||
|
|
3
config/polybar/modules.ini
Normal file
3
config/polybar/modules.ini
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[module/date]
|
||||||
|
type = internal/date
|
||||||
|
date = %m-%d %H:%M:%S
|
Loading…
Reference in a new issue