mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-29 10:50:59 +02:00
12 lines
202 B
Bash
Executable File
12 lines
202 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SELECTED=$(pactl list short sinks |\
|
|
awk '{print $1 " " $2 " " $7}' |\
|
|
column -t |\
|
|
sort -k3 -r |\
|
|
rofi -dmenu -i |\
|
|
awk '{print $2}'
|
|
)
|
|
echo $SELECTED
|
|
pactl set-default-sink $SELECTED
|