From b7a2355ccaf78cad929219783e638e22765f374c Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Tue, 17 Nov 2020 15:11:42 -0700 Subject: [PATCH] added login sfx --- bin/desktop/sfx/canberra-gtk-play.sh | 5 ++++- config/xserver/screenlayout/gamedock.sh | 2 ++ config/xserver/screenlayout/hdmidock.sh | 1 + config/xserver/screenlayout/homedock.sh | 2 ++ config/xserver/screenlayout/undock.sh | 2 +- 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/bin/desktop/sfx/canberra-gtk-play.sh b/bin/desktop/sfx/canberra-gtk-play.sh index 07c3e78..65d0979 100755 --- a/bin/desktop/sfx/canberra-gtk-play.sh +++ b/bin/desktop/sfx/canberra-gtk-play.sh @@ -13,6 +13,9 @@ case $1 in 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 ;; * ) ls $SFX ;; esac diff --git a/config/xserver/screenlayout/gamedock.sh b/config/xserver/screenlayout/gamedock.sh index 1b7c19d..91dc12d 100755 --- a/config/xserver/screenlayout/gamedock.sh +++ b/config/xserver/screenlayout/gamedock.sh @@ -18,3 +18,5 @@ for display in $(xrandr | grep connect | awk '{print $1;}' | grep -v "$CURRENT_M done; feh --bg-fill --randomize $HOME/.config/wryn/wallpaper; + +[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx gamedock diff --git a/config/xserver/screenlayout/hdmidock.sh b/config/xserver/screenlayout/hdmidock.sh index 7f7f8bc..16a768f 100755 --- a/config/xserver/screenlayout/hdmidock.sh +++ b/config/xserver/screenlayout/hdmidock.sh @@ -29,3 +29,4 @@ for display in $(xrandr | grep connect | awk '{print $1;}' | grep -v "$NATIVE_MO done; feh --recursive --bg-fill --randomize $HOME/.config/wryn/wallpaper; +[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx login diff --git a/config/xserver/screenlayout/homedock.sh b/config/xserver/screenlayout/homedock.sh index e6ca043..d5cf08b 100755 --- a/config/xserver/screenlayout/homedock.sh +++ b/config/xserver/screenlayout/homedock.sh @@ -16,3 +16,5 @@ for display in $(xrandr | grep connect | awk '{print $1;}' | grep -v "$HOMEDOCK_ done; feh --bg-fill --randomize $HOME/.config/wryn/wallpaper; + +[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx homedock diff --git a/config/xserver/screenlayout/undock.sh b/config/xserver/screenlayout/undock.sh index 86b2fee..bd40446 100755 --- a/config/xserver/screenlayout/undock.sh +++ b/config/xserver/screenlayout/undock.sh @@ -14,4 +14,4 @@ done; feh --bg-fill --randomize $HOME/.config/wryn/wallpaper; -[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx login +[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx undock