non important commit
This commit is contained in:
parent
7840c8c82c
commit
5c2aaf4c5a
1 changed files with 1 additions and 11 deletions
|
|
@ -1,19 +1,9 @@
|
|||
# home/modules/polybar.nix
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.polybar = {
|
||||
enable = true;
|
||||
script = ''
|
||||
pkill polybar
|
||||
sleep 1
|
||||
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar main &
|
||||
done
|
||||
'';
|
||||
script = "polybar bar &";
|
||||
|
||||
settings = {
|
||||
"bar/main" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue