1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2026-01-10 09:54:22 +02:00

Add pulse output selector

This commit is contained in:
2020-11-18 20:40:09 +02:00
parent 39d499f37d
commit dbeb233328
3 changed files with 83 additions and 1 deletions

11
.bin/rofi_set_default_sink.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/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