diff --git a/assets/sound/gitadd.wav b/assets/sound/gitadd.wav new file mode 100644 index 0000000..0a8f177 Binary files /dev/null and b/assets/sound/gitadd.wav differ diff --git a/assets/sound/gitcommit.wav b/assets/sound/gitcommit.wav index ebcf43b..f75a41e 100644 Binary files a/assets/sound/gitcommit.wav and b/assets/sound/gitcommit.wav differ diff --git a/assets/sound/gitpush.wav b/assets/sound/gitpush.wav index 0b7984d..c01b7a4 100644 Binary files a/assets/sound/gitpush.wav and b/assets/sound/gitpush.wav differ diff --git a/assets/sound/rm.wav b/assets/sound/rm.wav index 5beb9c1..72e3fb6 100644 Binary files a/assets/sound/rm.wav and b/assets/sound/rm.wav differ diff --git a/modules/home/environment/zshell.nix b/modules/home/environment/zshell.nix index 438aa3d..930345c 100644 --- a/modules/home/environment/zshell.nix +++ b/modules/home/environment/zshell.nix @@ -41,7 +41,7 @@ mv = "mv -v"; cp = "cp -vr"; gt = "gtrash"; - gtp = "gtrash put"; + gtp = "scheck && runbg aplay ${self}/assets/sound/rm.wav; gtrash put"; grub-update = "sudo grub-mkconfig -o /boot/grub/grub.cfg"; sr = "source ~/.zshrc"; ".." = "cd .."; @@ -58,9 +58,18 @@ nixconf = "yazi $FLAKEPATH/modules/sys/ && popd &> /dev/null"; hostconf = "yazi $FLAKEPATH/hosts && popd &> /dev/null"; nvimcfg = "yazi $FLAKEPATH/pkgs/nixvim/config && popd &> /dev/null"; + + #git + "ga." = "scheck && runbg aplay ${self}/assets/sound/gitadd.wav; git add ."; + gcm = "gitcommit_sfx"; + gp = " git push && scheck && runbg aplay ${self}/assets/sound/gitpush.wav;"; }; initExtra = '' + gitcommit_sfx() { + git commit -m "$1" + scheck && runbg aplay ${self}/assets/sound/gitcommit.wav + } unalias ls ls() { eza -1 --group-directories-first --icons "$@"