diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index ac34bbc0..ab0d363a 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -51,7 +51,8 @@ enable = true; path = [ pkgs.at pkgs.fx pkgs.nodejs ]; 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"; }; @@ -59,7 +60,8 @@ enable = true; path = [ pkgs.at pkgs.fx pkgs.nodejs ]; 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"; };