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/dec-source-volume
2021-08-25 14:16:40 +09:30

12 lines
204 B
Bash
Executable File

#!/bin/bash
default_loc=/tmp/pactl-default-source
if [ ! -f "$default_loc" ] ; then
/home/solomon/.local/bin/set-default-source
fi
default=$(cat $default_loc)
pactl set-source-volume $default -5%