This commit is contained in:
iFargle 2024-01-02 22:58:02 +09:00
parent 5e60f19c19
commit 6d46f5965a

View file

@ -51,8 +51,7 @@
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = ''
source ~/.bashrc
echo "plasma-apply-colorscheme -platform offscreen Arc" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`
plasma-apply-colorscheme -platform offscreen Arc
'';
serviceConfig.Type = "oneshot";
};
@ -60,8 +59,7 @@
enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = ''
source ~/.bashrc
echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`
plasma-apply-colorscheme -platform offscreen ArcDark
'';
serviceConfig.Type = "oneshot";
};