From 901e67adbd43d2f6ffa6aabded5ff3ad7800ddf4 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 2 Jan 2024 23:31:44 +0900 Subject: [PATCH] test --- nixos/common/desktops/plasma6/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index 794085ee..d12d6e70 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -54,9 +54,9 @@ whoami id source ~/.bashrc - TIME=`${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise` - ${pkgs.bash}/bin/echo "Time to run at: $TIME" - ${pkgs.bash}/bin/echo "plasma-apply-colorscheme -platform offscreen Arc" | ${pkgs.at}/bin/at $TIME + TIME=`x /tmp/wttr.in .weather[0].astronomy[0].sunrise` + echo "Time to run at: $TIME" + echo "plasma-apply-colorscheme -platform offscreen Arc" | at $TIME ''; serviceConfig.Type = "oneshot"; }; @@ -67,9 +67,9 @@ whoami id source ~/.bashrc - TIME=`${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset` - ${pkgs.bash}/bin/echo "Time to run at: $TIME" - ${pkgs.bash}/bin/echo "plasma-apply-colorscheme -platform offscreen ArcDark" | ${pkgs.at}/bin/at $TIME + TIME=`fx /tmp/wttr.in .weather[0].astronomy[0].sunset` + echo "Time to run at: $TIME" + echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at $TIME ''; serviceConfig.Type = "oneshot"; };