zmiany....

This commit is contained in:
2020-11-05 00:01:59 +01:00
parent 282e697ad8
commit 800dc876e8
11 changed files with 242 additions and 92 deletions

9
.config/rofi/scripts/sound.sh Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/bash
sink=$(ponymix -t sink list|awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}'|rofi -theme /usr/share/rofi-menus-git/themes/nmvpnmenu.rasi -dmenu -p 'pulseaudio sink:' -location 6 -width 100|grep -Po '[0-9]+(?=:)') &&
ponymix set-default -d $sink &&
for input in $(ponymix list -t sink-input|grep -Po '[0-9]+(?=:)');do
echo "$input -> $sink"
ponymix -t sink-input -d $input move $sink
done