From 304a021b9ba0ee2be8e6c7a5be86a919c3413501 Mon Sep 17 00:00:00 2001 From: Chinmay Hebbar <4chinmai@gmail.com> Date: Sun, 27 Jan 2019 22:28:23 +0530 Subject: [PATCH] rc.lua.template: add rofi with dmenu theme as option --- rc.lua.template | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rc.lua.template b/rc.lua.template index 75f8026..5b4b615 100644 --- a/rc.lua.template +++ b/rc.lua.template @@ -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"}),