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
|
# home/modules/polybar.nix
|
||||||
{
|
{
|
||||||
config,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
services.polybar = {
|
services.polybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
script = ''
|
|
||||||
pkill polybar
|
|
||||||
sleep 1
|
|
||||||
|
|
||||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
script = "polybar bar &";
|
||||||
MONITOR=$m polybar main &
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
"bar/main" = {
|
"bar/main" = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue