From de6a818147c380b6d6441ba877835c4d8b617739 Mon Sep 17 00:00:00 2001 From: albert Date: Fri, 14 Jun 2024 10:59:23 +0900 Subject: [PATCH] Update --- 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 d3f2c960..dc3875ad 100644 --- a/nixos/common/desktops/plasma6/default.nix +++ b/nixos/common/desktops/plasma6/default.nix @@ -52,9 +52,9 @@ systemctl --user start get-theme-times.service fi echo "Getting dates:" - SUNRISE=`date -d \`cat /tmp/wttr.sunrise\` +%s` + SUNRISE=`cat /tmp/wttr.sunrise | date +%s` echo "Sunrise: $SUNRISE" - SUNSET=`date -d \`cat /tmp/wttr.sunset\` +%s` + SUNSET=`cat /tmp/wttr.sunset | date +%s` echo "Sunset: $SUNSET" CURRENT=`date +%s` echo "Current: $CURRENT"