Update pipewire script to filter out duplicate lines
This commit is contained in:
parent
bc93160b71
commit
0cfeeea6d6
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
LAUNCHER_CMD="fuzzel --dmenu"
|
||||
DEVICES=$(pactl list sinks short | awk '{print $2}')
|
||||
DEVICES=$(pactl list sinks short | awk '{print $2}' | sort | uniq)
|
||||
|
||||
SELECTED_OPTION=$(echo "$DEVICES" | ${LAUNCHER_CMD})
|
||||
|
||||
|
|
Loading…
Reference in New Issue