summaryrefslogtreecommitdiff
path: root/lwc
diff options
context:
space:
mode:
Diffstat (limited to 'lwc')
-rwxr-xr-xlwc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lwc b/lwc
index d5896ae..05aa370 100755
--- a/lwc
+++ b/lwc
@@ -5,7 +5,7 @@ else
unset NATIVE_PROFILES
fi
if [ -f ~/.var/app/io.gitlab.librewolf-community/.librewolf/profiles.ini ]; then
- FLATPAK_PROFILES=`grep 'Path=' ~/.var/app/io.gitlab.librewolf-community/.librewolf/profiles.ini | cut -d'.' -f2 | sed 's/$/ F/g'2`
+ FLATPAK_PROFILES=`grep 'Path=' ~/.var/app/io.gitlab.librewolf-community/.librewolf/profiles.ini | cut -d'.' -f2 | sed 's/$/ F/g'`
else
unset FLATPAK_PROFILES
fi
@@ -15,7 +15,7 @@ fi
PROFILES="$NATIVE_PROFILES$INT$FLATPAK_PROFILES"
CHOSEN=`printf "$PROFILES" | dmenu -l 15`
[ -z "$CHOSEN" ] && exit 2
-if `echo "$CHOSEN" grep -q ' F$'`; then
+if `echo "$CHOSEN" | grep -qE ' F$'`; then
exec flatpak run io.gitlab.librewolf-community -P `echo "$CHOSEN" | sed 's/ F$//'` "$@"
else
exec librewolf -P "$CHOSEN" "$@"