1 2 3 4 5
#!/sbin/sh PROFILES=`grep 'Path=' ~/.librewolf/profiles.ini | cut -d'.' -f2` CHOSEN=`echo "$PROFILES" | barmenu -l 15` [ -z "$CHOSEN" ] && exit 2 librewolf -P "$CHOSEN"