1
0
Fork 0
dotfiles/dot_config/i3/executable_set_volume.sh

3 lines
184 B
Bash
Raw Normal View History

#!/bin/bash
pactl set-sink-volume @DEFAULT_SINK@ $1 && $send_volume_notif notify-send "Volume" -h int:value:"$(pactl get-sink-volume @DEFAULT_SINK@ | cut -d ' ' -f6 | cut -d '%' -f1)"