Skip to content

Add fully functioning separator logic, removed unneeded command line options...

Robin Antix requested to merge Robin-antiX/desktop-menu-antix:test-03 into master

Add fully functioning separator logic. Separators are removed correctly when respective entries are empty. Allows closing brackets to remain, while other following separators are removed automatically. Needed 6 separator options instead of only 4 to make it work.

Removed unneeded command line options --names --generic-names and --comments (replaced by internal logic).

Help file was updated.

Compatibility: Default behavior (e.g. when using the --write-out-global option only is same as original version from antiX 21 has had: Names only, no separators)

Please be carefully when transferring manually, some additional minor fixes where needed to allow it to work properly.

P.S.: The help text entry could read as well:

Values: n[g[c]] -> Name [- Generic Name [- Comment]]
        n[c[g]] -> Name [- Comment [- Generic Name]]
        c[n[g]] -> Comment [- Name [- Generic Name]]
        c[g[n]] -> Comment [- Generic Name [- Name]]
        g[n[c]] -> Generic Name [- Name [- Comment]]
        g[c[n]] -> Generic Name [- Comment [- Name]]

I'm not sure about which version suits best.

After extensive testing together with Marcelo fix for fluxbox was added: Cleared zero width spaces after processing, since fluxbox actually displays these as little boxes, while IceWM and JWM are fine with them left.

Edited by Robin Antix

Merge request reports