ulyssa / iamb

A Matrix client for Vim addicts
https://iamb.chat
Apache License 2.0
608 stars 45 forks source link

Allow picking profile at startup when one isn't specified #264

Open ulyssa opened 5 months ago

ulyssa commented 5 months ago

When there are multiple profiles, and a default_profile isn't in the config, and -P isn't given on the command-line, then iamb will exit with an error asking one for one. An alternative would be to list the available profiles and ask the user to pick one. This would allow the iamb.desktop file to be more useful for folks with multiple profiles since they can then launch a terminal window running iamb through it and then pick a profile, instead of having it immediately print an error and exit (which currently happens so quickly one can't read it).