From fe509d267fab15f246badb16067789c82aa4b89a Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 2 Jan 2024 23:35:05 +0900 Subject: [PATCH] test --- nixos/common/desktops/plasma6/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/common/desktops/plasma6/default.nix b/nixos/common/desktops/plasma6/default.nix index eb3ed6e9..1b3a9d5d 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -56,7 +56,7 @@ whoami id source ~/.bashrc - TIME=`x /tmp/wttr.in .weather[0].astronomy[0].sunrise` + TIME=`cat /tmp/wttr.in | grep sunrise | head -n 1 | awk {'print $2" "$3'} | sed -e 's/"//g' | sed -e 's/,//'` echo "Time to run at: $TIME" echo "plasma-apply-colorscheme -platform offscreen Arc" | at $TIME ''; @@ -71,7 +71,7 @@ whoami id source ~/.bashrc - TIME=`fx /tmp/wttr.in .weather[0].astronomy[0].sunset` + TIME=`cat /tmp/wttr.in | grep sunset | head -n 1 | awk {'print $2" "$3'} | sed -e 's/"//g' | sed -e 's/,//'` echo "Time to run at: $TIME" echo "plasma-apply-colorscheme -platform offscreen ArcDark" | at $TIME '';