#!/bin/bash

msgId="3378455"

# Unmute on volume change
# pactl set-mute @DEFAULT_SINK@ 0

volume=$(pactl get-sink-volume @DEFAULT_SINK@ | grep -Eo [0-9]+% | head -1)

notify-send -i $HOME/.config/hypr/scripts/dunst/icons/volume.svg -a "changevolume" -u low -r "$msgId" \
  -h int:value:"$volume" "Громкость: $volume%"
