aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Kelly <kellya@arachnitech.com>2023-05-08 10:26:19 -0400
committerAlex Kelly <kellya@arachnitech.com>2023-05-08 10:26:19 -0400
commit1748c71905756eeb3df54c6dfdd88c1078d5883b (patch)
tree72ca8554150eb2f03cdd443b3ab06291f6a9f3f5
parent06fd86bf78406d9eaca7426853e3a2b45fcdd119 (diff)
parent1a3d1047e06ed59688cf8f4d985952c83d9d71f5 (diff)
downloadrofi-sound-1748c71905756eeb3df54c6dfdd88c1078d5883b.tar.gz
Merge branch 'nivalderramas-main'
-rwxr-xr-xrofi-sound-output-chooser2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-sound-output-chooser b/rofi-sound-output-chooser
index d51c71d..4051e49 100755
--- a/rofi-sound-output-chooser
+++ b/rofi-sound-output-chooser
@@ -15,7 +15,7 @@ then
# the output from the selection will be the desciption. Save that for alerts
desc="$*"
# Figure out what the device name is based on the description passed
- device=$(pactl list sinks|grep -C2 "Description: $desc"|grep Name|cut -d: -f2|xargs)
+ device=$(pactl list sinks|grep -C2 -F "Description: $desc"|grep Name|cut -d: -f2|xargs)
# Try to set the default to the device chosen
if pactl set-default-sink "$device"
then