feat: buds scripts

This commit is contained in:
2025-09-26 10:42:15 +03:00
parent efc8382c17
commit 623e26a698
2 changed files with 13 additions and 0 deletions

10
hypr/scripts/buds/locate.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
SINK="alsa_output.pci-0000_00_1f.3.analog-stereo"
SOUND="/home/greg/Templates/Sounds/telegram.mp3"
current_volume=$(pactl get-sink-volume $SINK | awk '{print $5}' | sed 's/%//')
pactl set-sink-volume $SINK 100%
pw-cat --target $SINK -p $SOUND --volume 1
pactl set-sink-volume $SINK ${current_volume}%

3
hypr/scripts/buds/lock.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
hyprlock