adi1090x / rofi

A huge collection of Rofi based custom Applets, Launchers & Powermenus.
GNU General Public License v3.0
6.37k stars 298 forks source link

[powermenu] add quit for awesome window manager #91

Closed tobi-wan-kenobi closed 1 year ago

tobi-wan-kenobi commented 2 years ago

quit awesome window manager using its client tool

tobi-wan-kenobi commented 2 years ago

Something of an aside, but: Looking at how many placed needed changing - would a unification/refactoring PR be appreciated?

dev-dsp commented 2 years ago

wow, I just installed awesomewm couple of hours ago, then installed this repo for rofi and found that there is no awesome.quit option. Fixed it locally and wanted to submit PR, and.. here it is! :D

I think, it would be also nice to add example to Usage section (https://github.com/adi1090x/rofi#usage) Something like

    awful.key({ modkey }, "p", function() awful.spawn.with_shell("~/.config/rofi/bin/powermenu") end,
              {description = "show the powermenu", group = "launcher"})