Update pipewire script to filter out duplicate lines

This commit is contained in:
Out Of Ideas 2024-03-21 10:51:18 -05:00
parent bc93160b71
commit 0cfeeea6d6
1 changed files with 1 additions and 1 deletions

View File

@ -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})