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 nix --extra-experimental-features "nix-command flakes" flake update
echo "Git Diff:" echo "Git Diff:"
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: | run: |
git commit -am "[ACTIONS] Flake Update (`date +%Y-%m-%d`)" git commit -am "[ACTIONS] Flake Update (`date +%Y-%m-%d`)"
git push git push

View file

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