aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Volume.sh
diff options
context:
space:
mode:
authorJa.KooLit <jimmielovejay@gmail.com>2024-01-31 13:38:05 +0900
committerGitHub <noreply@github.com>2024-01-31 13:38:05 +0900
commit24d2811134f929f150f11b026252b833617612de (patch)
tree0082db8f58908d5855b21f888226b48245b924ec /config/hypr/scripts/Volume.sh
parent04d1ae7a82ccb0dacd5cd2723f3e41c1a6c98167 (diff)
parente2c1144266279c6b522b4ff7e96f578f85b0fcbf (diff)
Merge pull request #143 from KKV9/development
Feat: Add freedesktop sound themes
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