#!/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}%
