Update plasma

This commit is contained in:
albert 2024-06-18 10:21:52 +09:00
parent a77eb84fd2
commit edcb39eb15
Signed by: albert
GPG key ID: 3895DD267CA11BA9
2 changed files with 8 additions and 3 deletions

View file

@ -44,7 +44,12 @@ jobs:
nix --extra-experimental-features "nix-command flakes" flake update
echo "Git Diff:"
git diff
- name: "Commit and Upload"
- name: "Nix Flake Check"
run: |
echo "Running Nix Flake Check"
cd /workspace/albert/nix
nix --extra-experimental-features "nix-command flakes" flake check
- if: success()
run: |
git commit -am "[ACTIONS] Flake Update (`date +%Y-%m-%d`)"
git push

View file

@ -52,9 +52,9 @@
systemctl --user start get-theme-times.service
fi
echo "Getting dates:"
SUNRISE=`cat /tmp/wttr.sunrise | date +%s`
SUNRISE=`date $(cat /tmp/wttr.sunset) +%s`
echo "Sunrise: $SUNRISE"
SUNSET=`cat /tmp/wttr.sunset | date +%s`
SUNSET=`date $(cat /tmp/wttr.sunset) +%s`
echo "Sunset: $SUNSET"
CURRENT=`date +%s`
echo "Current: $CURRENT"