Not needed
This commit is contained in:
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
# omarchy:summary=Switch between audio outputs while preserving the mute status. By default mapped to Super + Mute.
|
# omarchy:summary=Switch between audio outputs while preserving the mute status. By default mapped to Super + Mute.
|
||||||
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
sinks=$(pactl -f json list sinks | jq '[.[] | select((.ports | length == 0) or ([.ports[]? | .availability != "not available"] | any))]')
|
sinks=$(pactl -f json list sinks | jq '[.[] | select((.ports | length == 0) or ([.ports[]? | .availability != "not available"] | any))]')
|
||||||
sinks_count=$(jq 'length' <<<"$sinks")
|
sinks_count=$(jq 'length' <<<"$sinks")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user