aboutsummaryrefslogtreecommitdiffstats
path: root/rofi-sound-output-chooser
diff options
context:
space:
mode:
Diffstat (limited to 'rofi-sound-output-chooser')
-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