lxqt / lxqt-session

The LXQt session manager
https://lxqt.github.io
GNU Lesser General Public License v2.1
55 stars 52 forks source link

lxqt-config-session/autostart: More strict user inputs #487

Closed luis-pereira closed 7 months ago

luis-pereira commented 7 months ago

Makes name and command mandatory when adding or editing a autostart an application. Check for already existing files when editing.

TODO: Add and Edit functions are almost indentical. Candidates to some refactoring.

Closes https://github.com/lxqt/lxqt-session/issues/486

stefonarch commented 7 months ago

Works fine here.

luis-pereira commented 7 months ago

Rebased and merged.

gfgit commented 6 months ago

@luis-pereira Hi, what about string made of whitespaces which are not empty but sill have no real command specified? See lxqt-panel#1964

luis-pereira commented 5 months ago

@gfgit Done at https://github.com/lxqt/lxqt-session/pull/497 Thanks for the report.