aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Volume.sh
diff options
context:
space:
mode:
authorKKV9 <ciaranob.cob@gmail.com>2024-01-28 03:06:42 +0000
committerKKV9 <ciaranob.cob@gmail.com>2024-01-28 03:06:42 +0000
commit4ee1bbf3b1ff83f954e323caf6f3ded444d0761c (patch)
tree0c427eec15e56df047d43248aa38564e82fdb362 /config/hypr/scripts/Volume.sh
parent1839a6349add03ce1051c6313fcdd8739a62c840 (diff)
Move sounds to UserScripts
Allow user to mute desktop sounds
Diffstat (limited to 'config/hypr/scripts/Volume.sh')
-rwxr-xr-xconfig/hypr/scripts/Volume.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/Volume.sh b/config/hypr/scripts/Volume.sh
index 8322e29f..8c5af5de 100755
--- a/config/hypr/scripts/Volume.sh
+++ b/config/hypr/scripts/Volume.sh
@@ -3,7 +3,7 @@
# Scripts for volume controls for audio and mic
iDIR="$HOME/.config/swaync/icons"
-sDIR="/usr/share/sounds/freedesktop/stereo"
+sDIR="$HOME/.config/hypr/UserScripts"
# Get Volume
get_volume() {
@@ -35,7 +35,7 @@ notify_user() {
notify-send -e -h string:x-canonical-private-synchronous:volume_notif -u low -i "$(get_icon)" "Volume: Muted"
else
notify-send -e -h int:value:"$(get_volume | sed 's/%//')" -h string:x-canonical-private-synchronous:volume_notif -u low -i "$(get_icon)" "Volume: $(get_volume)"
- pw-play "$sDIR/audio-volume-change.oga"
+ "$sDIR/Sounds.sh" --volume
fi
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage