mirror of
https://github.com/imgurbot12/rmenu.git
synced 2025-01-27 05:18:33 +01:00
feat: pipewire support
This commit is contained in:
parent
29bb6b5924
commit
cebcbc8b23
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
get_sinks() {
|
get_sinks() {
|
||||||
sinks=`pactl list sinks | grep -e 'Sink' -e 'Name' -e 'Description' | nl -s '>'`
|
sinks=`pactl list sinks | grep -e 'Sink ' -e 'Name: ' -e 'Description: ' | nl -s '>'`
|
||||||
default=`pactl get-default-sink`
|
default=`pactl get-default-sink`
|
||||||
for i in `seq 1 3 $(echo "$sinks" | wc -l)`; do
|
for i in `seq 1 3 $(echo "$sinks" | wc -l)`; do
|
||||||
sink=`echo "$sinks" | grep "$i>" | cut -d '#' -f2`
|
sink=`echo "$sinks" | grep "$i>" | cut -d '#' -f2`
|
||||||
|
|
Loading…
Reference in a new issue