Leyline is an attempt to make it easier to use the .desktop files that Snap apps create. It accesses the $SNAP_REAL_HOME/.local folder and the $SNAP_REAL_HOME/snap folder via the Document Portal (XDG Desktop Portal). Because of this, it can copy the .desktop files that Snap apps create, and it also tries to change the command in the Exec= field when the command used doesn’t start with ‘snap run’, to prevent them from escaping confinement.
Not all .desktop files are compatible; for example, Wine creates some .desktop files, but they start with ‘env’ in the Exec= field, so I’m ignoring them.
I had this idea because of my experience with the Zordeer shortcut manager.
