1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-12-22 19:22:32 +00:00

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

View file

@ -507,6 +507,15 @@ globalkeys = my_table.join(
end, end,
{description = "show dmenu", group = "launcher"}) {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 -- Prompt
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end, awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
{description = "run prompt", group = "launcher"}), {description = "run prompt", group = "launcher"}),