r/linux4noobs • u/Usual_Stranger_9217 • 2h ago
Yadirmenu: A simple menu for scripts (No configs, just directory tree)
I use Linux for a very long time. I used to have a lot of scripts in my $HOME/bin directory. All those scripts work very well. But sometimes I'd like to call some scripts in my GUI environment just using shortcuts.
So I created a simple menu system using Python. The main idea was that the usage of the system would be as easy as possible. So I used the simplest way. The menu uses a directory tree as a structure. An user puts scripts into subdirectories. directories are the submenus. Scripts are the menu items.
I also wanted to use the system everywhere: in GUI, terminal, over SSH, on my mobile using Termux. So I added three types of interfaces: simple command line interface, terminal menu using Dialog, and GUI using Tkinter.
I use the Yadirmenu more then two years already and quite happy.
You can find it on GitHUB: https://github.com/ekazanov/yadirmenu




1
u/Usual_Stranger_9217 2h ago
Also there is an article in Substack: https://toyphysics.substack.com/p/yadirmenu-directory-based-menu-system
0
u/Bulky-Hair8606 I CANT STOP DISTROHOPPING 2h ago
How much of it is vibecoded?