non important commit
This commit is contained in:
parent
ef564e084d
commit
b1452bf8ff
1 changed files with 8 additions and 1 deletions
|
|
@ -6,7 +6,14 @@
|
|||
}: {
|
||||
services.polybar = {
|
||||
enable = true;
|
||||
script = "polybar main &";
|
||||
script = ''
|
||||
pkill polybar
|
||||
sleep 1
|
||||
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar main &
|
||||
done
|
||||
'';
|
||||
|
||||
settings = {
|
||||
"bar/main" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue