Sounds - km-clay/nixos-config GitHub Wiki
Terminal Sound Effects
My zsh configuration has several aliases and wrapper functions that essentially wrap commands such that they play a sound effect when
invoked. The sound effects are from Earthbound, and are stored in assets/sound
. Notable examples include ls
and cd
which
both play a sound when invoked, among some of the other common utilities, for both GNU and NixOS. For the more common utilities I've tried to make these effects as subtle as possible. I mainly did this just as a way to make the experience of using the terminal a little bit more tactile. If you wish to disable these sound effects, you can do so by changing the SOUNDS_ENABLED
environment variable defined in modules/home/environment/zsh/env.nix
from true
to false
.
The aliases and commands which use sound effects are:
-
grimblast
- Uses:
assets/sound/screenshot.wav
- Uses:
-
ls
- Uses:
assets/sound/ls.wav
- Uses:
-
cd
- Uses:
assets/sound/cd.wav
- Uses:
-
gcomm (alias for 'git commit')
- Uses:
assets/sound/gitcommit.wav
- Uses:
-
gpush (alias for 'git push')
- Uses:
assets/sound/
- Uses:
-
gpull (alias for 'git pull')
- Uses:
assets/sound/gitpull.wav
- Uses:
-
greb (alias for 'git rebase')
- Uses:
assets/sound/gitrebase.wav
- Uses:
-
ga (alias for 'git add')
- Uses:
assets/sound/gitadd.wav
- Uses:
-
gtp (alias for 'gtrash put')
- Uses:
assets/sound/rm.wav
- Uses:
-
rebuild
- Uses:
assets/sound/update.wav
orassets/sound/error.wav
- Uses: