This commit is contained in:
iFargle 2024-01-02 23:00:47 +09:00
parent fbcb0310f1
commit d5bdbc61ae

View file

@ -51,7 +51,8 @@
enable = true; enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ]; path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = '' script = ''
/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen Arc source ~/.bashrc
echo "/run/current-system/sw/bin/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";
}; };
@ -59,7 +60,8 @@
enable = true; enable = true;
path = [ pkgs.at pkgs.fx pkgs.nodejs ]; path = [ pkgs.at pkgs.fx pkgs.nodejs ];
script = '' script = ''
/run/current-system/sw/bin/plasma-apply-colorscheme -platform offscreen ArcDark source ~/.bashrc
echo "/run/current-system/sw/bin/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";
}; };