packages: Add xone

This commit is contained in:
DashieTM 2024-04-29 14:26:02 +02:00
parent fe167fd072
commit cf63b635ac
20 changed files with 798 additions and 813 deletions

View file

@ -1,7 +1,5 @@
ncspot() {
notify-send "$1"
notify-send "$2"
NUM=$(pactl list clients short | rg "ncspot" | awk -F 'PipeWire' ' { print $1 } ' | tr -d ' \t\n')
CHANGE=$(pactl list sink-inputs short | rg "$NUM" | awk -F ' ' ' { print $1 }' | tr -d ' \t\n')
pactl set-sink-input-volume "$CHANGE" "$1"