From fcddb136088f7bf7ed5e54c9114fcaab37b0a633 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 2 Jan 2024 22:45:26 +0900 Subject: [PATCH] test --- nixos/common/desktops/plasma6/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index b0bf34a5..62ba2fe8 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -50,13 +50,21 @@ light-theme = { enable = true; path = [ pkgs.at pkgs.fx pkgs.nodejs ]; - script = ''echo "plasma-apply-colorscheme -platform offscreen Arc" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise`''; + script = '' + uid + whoami + echo "plasma-apply-colorscheme -platform offscreen Arc" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunrise` + ''; serviceConfig.Type = "oneshot"; }; dark-theme = { enable = true; path = [ pkgs.at pkgs.fx pkgs.nodejs ]; - script = ''echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset`''; + script = '' + uid + whoami + echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at `${pkgs.fx}/bin/fx /tmp/wttr.in .weather[0].astronomy[0].sunset` + ''; serviceConfig.Type = "oneshot"; }; }; @@ -73,4 +81,4 @@ timerConfig.OnCalendar = [ "*-*-* *:*:00" ]; }; }; -} +} \ No newline at end of file