Run prompt which is put inside a widget:
-
Clone this repo under ~/.config/awesome/:
git clone https://github.com/streetturtle/awesome-wm-widgets.git ~/.config/awesome/awesome-wm-widgets
-
Require widget at the beginning of rc.lua:
local run_shell = require("awesome-wm-widgets.run-shell.run-shell")
-
Use it (don't forget to comment out the default prompt):
awful.key({modkey}, "r", function () run_shell.launch() end),