menugen icon indicating copy to clipboard operation
menugen copied to clipboard

Output dmenu command

Open Tonus1 opened this issue 8 years ago • 1 comments

Hi, This tool looks very cool, despite I just started tinkering with it.

I was curious of the formatted output generated but seems too difficult for me to manage catching such output... Instead, do you think it could be possible to merge the 3 files used ? It would permit advanced configs for each created script.

I was thinking of cutting and pasting the menugenbase in the menugen(cli) but have no idea how to merge script...

I might end in duplicating the menugen files...

Tonus1 avatar May 18 '16 15:05 Tonus1

Hi, sorry for the long delay for my reply. I was unavailable.

The reason I split menugen into three separate files, was to create a GUI and TUI interface. Personally, I do a lot of stuff from the command line, and being able to run the same scripts in both the GUI and the terminal seemed useful to me. menugenbase contains all the logic required by both the TUI and GUI parts. Then there are two separate wrappers for the TUI which declare some settings required for either the GUI or the TUI. The reason I did this was to make the base logic reusable, and make it easy to use that base logic in whatever frontend one desires. Personally, I'm not that interested in merging the three files unless absolutely necessary, but I'd love to hear some more about what ideas you have for advanced configs.

octotep avatar May 28 '16 14:05 octotep