This repository has been archived on 2025-12-28. You can view files and clone it, but cannot push or open issues or pull requests.
inks-scripts/scripts/setvol

14 lines
237 B
Bash
Executable File

#!/bin/bash
default_loc=/tmp/pactl-default-sink
if [ ! -f "$default_loc" ] ; then
set-default-sink
fi
default=$(cat $default_loc)
value=$(echo -e "" | dmenu -bw 0 -i -p "Set vol to what?")
pactl set-sink-volume $default $value%