Big move about + cleanup

This commit is contained in:
yage
2022-02-06 00:15:14 -07:00
parent 220fa678c5
commit a7bf48df9e
134 changed files with 682 additions and 3185 deletions

22
bin/play-sound Executable file
View File

@ -0,0 +1,22 @@
#!/bin/zsh
source "$HOME/.config/wryn/env.zsh"
PLAY() {
eval "$MEDIA_ENGINE" "$SFX_PATH/$1"
true
}
case $1 in
volume ) PLAY yaru-message.oga ;;
mute ) PLAY smooth-dialog-warning.oga ;;
backlight ) PLAY yaru-audio-volume-change.oga ;;
login ) PLAY yaru-desktop-login.oga ;;
logout ) PLAY smooth-desktop-login.oga ;;
notify ) PLAY yaru-complete.oga ;;
undock ) PLAY yaru-desktop-login.oga ;;
homedock ) PLAY homedock.oga ;;
gamedock ) PLAY gamedock.oga ;;
* )
[ -f "$SFX_PATH/$1" ] && PLAY $1 || ls $SFX_PATH
;;
esac