Gen 325: fixed sound file paths

This commit is contained in:
pagedMov
2024-10-11 01:18:29 -04:00
parent 39f6951e08
commit c84a213dfe
6 changed files with 13 additions and 333 deletions

View File

@@ -1,6 +1,6 @@
#!/run/current-system/sw/bin/bash
scheck && (aplay ~/sound/sys/nixswitch-start.wav > /dev/null 2>&1 &)
scheck && runbg aplay ~/media/sound/sys/nixswitch-start.wav
builtin cd "$HOME/sysflakes" || exit
nix flake update
@@ -8,7 +8,7 @@ gen=$(readlink /nix/var/nix/profiles/system | sed 's/.*system-\([0-9]*\)-link/\1
gen=$((gen + 1))
git diff --quiet
if mycmd; then
if [ $? -eq 0 ]; then
echo "Nothing to commit"
return
fi