1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2026-08-12 03:57:25 +03: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
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