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