diff options
Diffstat (limited to 'lwc')
-rwxr-xr-x | lwc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" "$@" |