octotep / menugen

Generates menu based applications using rofi
31 stars 2 forks source link

Output dmenu command #17

Open Tonus1 opened 8 years ago

Tonus1 commented 8 years ago

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...

octotep commented 8 years ago

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.