mirror of
https://github.com/imgurbot12/rmenu.git
synced 2025-01-26 12:58:08 +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
|
||||
|
||||
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`
|
||||
for i in `seq 1 3 $(echo "$sinks" | wc -l)`; do
|
||||
sink=`echo "$sinks" | grep "$i>" | cut -d '#' -f2`
|
||||
|
|
Loading…
Reference in a new issue