renamed 'media' folder to 'assets' because it sounds cooler

This commit is contained in:
pagedmov
2024-10-21 22:03:39 -04:00
parent fe006e1004
commit 4711456fb1
45 changed files with 165 additions and 46 deletions

View File

@@ -6,13 +6,13 @@
pkgs.writeShellScriptBin "rebuild" ''
#!/run/current-system/sw/bin/bash
scheck && runbg aplay ${self}/media/sound/nixswitch-start.wav
scheck && runbg aplay ${self}/assets/sound/nixswitch-start.wav
set -e
nh os switch -H ${host} $HOME/.sysflake
sudo nixos-rebuild switch --flake "$HOME/.sysflake#${host}"
if [ $? -eq 0 ]; then
scheck && runbg aplay ${self}/media/sound/update.wav
scheck && runbg aplay ${self}/assets/sound/update.wav
else
scheck && runbg aplay ${self}/media/sound/error.wav
scheck && runbg aplay ${self}/assets/sound/error.wav
fi
''