This commit is contained in:
iFargle 2024-01-02 22:45:26 +09:00
parent fbf0cd278c
commit fcddb13608

View file

@ -50,13 +50,21 @@
light-theme = {
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = ''echo "plasma-apply-colorscheme -platform offscreen Arc" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`'';
script = ''
uid
whoami
echo "plasma-apply-colorscheme -platform offscreen Arc" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`
'';
serviceConfig.Type = "oneshot";
};
dark-theme = {
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = ''echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`'';
script = ''
uid
whoami
echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`
'';
serviceConfig.Type = "oneshot";
};
};
@ -73,4 +81,4 @@
timerConfig.OnCalendar = [ "*-*-* *:*:00" ];
};
};
}
}