aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Volume.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-02-14 05:22:34 +0900
committerGitHub <noreply@github.com>2024-02-14 05:22:34 +0900
commita160ceeab550d8fdefc0b19f6b3a0dd6c2784db8 (patch)
treebf2ebecab995012b984c931e2ec22d947897b4b3 /config/hypr/scripts/Volume.sh
parent610a46e8fe3c5c0d0b292977b6015d9f858e5e98 (diff)
parente34165295e0856f9f14fffb4e323fb1f2e2220c9 (diff)
Merge pull request #158 from JaKooLit/development
Development to Main
Diffstat (limited to 'config/hypr/scripts/Volume.sh')
-rwxr-xr-xconfig/hypr/scripts/Volume.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/hypr/scripts/Volume.sh b/config/hypr/scripts/Volume.sh
index 1c18211f..8c5af5de 100755
--- a/config/hypr/scripts/Volume.sh
+++ b/config/hypr/scripts/Volume.sh
@@ -3,6 +3,7 @@
# Scripts for volume controls for audio and mic
iDIR="$HOME/.config/swaync/icons"
+sDIR="$HOME/.config/hypr/UserScripts"
# Get Volume
get_volume() {
@@ -34,6 +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)"
+ "$sDIR/Sounds.sh" --volume
fi
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage