Added rofi to awesome

This commit is contained in:
lanxu 2019-06-09 17:14:11 +03:00
parent 8dafabf29d
commit 3fc0e445d4

View File

@ -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",