You are not logged in.
Hey,
Many times I find myself needing to start or stop a service on my computer, mostly for web development needs (restarting nginx, starting mysql etc'). since typing `systemdctl start mysql` over and over again can be frustrating, I looked for a tool to do that easily, and dmenu came to mind.
I found scudmenu ( https://github.com/KaiSforza/scudmenu ), which does almost exactly what I wanted, but for user units and not system units. forking it and changing it to work as I wanted took only a few minutes, but since than I saved a quite a few by using it ;-)
All credit goes to @KaiSforza for scudmenu, as he done almost everything here.
I just thought posting this fork can be helpful for a few people.
On my computer I bound this script to some keyboard key and now I can start/stop/restart services in a second.
Download:
https://github.com/bjesus/sysdmenu
default config uses Consolas font and dmenu with the xft patch ( https://aur.archlinux.org/packages/dmenu-xft/ ) , but that can easily be changed.
Hope you'll find it useful.
Offline