From 3fc0e445d413b2e4f840a4357264e0331f850044 Mon Sep 17 00:00:00 2001 From: lanxu Date: Sun, 9 Jun 2019 17:14:11 +0300 Subject: [PATCH] Added rofi to awesome --- .config/awesome/rc.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 50158e9..6d09e7a 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -347,7 +347,7 @@ globalkeys = awful.util.table.join( function () awful.client.focus.history.previous() if client.focus then - client.focus:raise() +client.focus:raise() end end, {description = "go back", group = "client"}), @@ -404,8 +404,15 @@ globalkeys = awful.util.table.join( {description = "lua execute prompt", group = "awesome"}), -- Menubar awful.key({ modkey }, "p", function() menubar.show() end, + {description = "show the menubar", group = "launcher"}), + -- Menubar (dmenu) + awful.key({ modkey }, "d", + function() + --awful.spawn(string.format("dmenu_run -i -b -l 20 -fn 'Fura Code Nerd Font:size=10:style=Regular'")) + awful.spawn(string.format("rofi -show combi -combi-modi 'window,run,ssh' -modi combi")) + end, {description = "show the menubar", group = "launcher"}) -) + ) clientkeys = awful.util.table.join( awful.key({ modkey, }, "f",