chore: change back to ncspot
This commit is contained in:
parent
fe8e3bdb5c
commit
a7457c8930
4 changed files with 4 additions and 6 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#! /bin/bash
|
||||
|
||||
NUM=$(pactl list clients short | rg "spotify_player" | awk -F 'PipeWire' ' { print $1 } ' | tr -d ' \t\n')
|
||||
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"
|
||||
VOLUME=$(pactl list sink-inputs | rg "$NUM" -A7 | rg "Volume:" | awk -F ' ' ' { print $5 }' | tr -d '%')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue