feat: buds scripts
This commit is contained in:
10
hypr/scripts/buds/locate.sh
Executable file
10
hypr/scripts/buds/locate.sh
Executable 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}%
|
||||
Reference in New Issue
Block a user