rc.lua.template: add rofi with dmenu theme as option

This commit is contained in:
Chinmay Hebbar 2019-01-27 22:28:23 +05:30
parent 3e5b22bc3a
commit 304a021b9b
1 changed files with 9 additions and 0 deletions

View File

@ -507,6 +507,15 @@ globalkeys = my_table.join(
end,
{description = "show dmenu", group = "launcher"})
--]]
-- alternatively use rofi, a dmenu-like application with more features
-- check https://github.com/DaveDavenport/rofi for more details
--[[ rofi
awful.key({ modkey }, "x", function ()
os.execute(string.format("rofi -show %s -theme %s",
'run', 'dmenu'))
end,
{description = "show rofi", group = "launcher"}),
--]]
-- Prompt
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
{description = "run prompt", group = "launcher"}),