From 3fd7dcb38b720962d1f4d5bc470031458699f4b1 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 24 Sep 2017 18:11:05 +0200 Subject: Rofi integration --- rc.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rc.lua b/rc.lua index f367dc5..30f7356 100644 --- a/rc.lua +++ b/rc.lua @@ -467,8 +467,8 @@ globalkeys = awful.util.table.join( awful.key({ modkey, }, "w", function () awful.util.spawn("autoWall") end), - awful.key({ modkey, "Control" }, "w", function () awful.util.spawn_with_shell("setxkbmap -option grab:break_actions") end), - awful.key({ modkey, "Control" }, "w", function () awful.util.spawn("xscreensaver-command --lock") end), + awful.key({ modkey, "Control" }, "w", function () act() end), + awful.key({ modkey, "Shift" }, "w", function () awful.util.spawn("passmenu") end), awful.key({ modkey, "Control" }, "x", function () awful.util.spawn("xscreensaver-command --lock") end), -- Layout manipulation @@ -512,12 +512,15 @@ globalkeys = awful.util.table.join( {description = "run prompt", group = "launcher"}), awful.key({ modkey }, "x", function () + --[[ awful.prompt.run { prompt = "Run Lua code: ", textbox = awful.screen.focused().mypromptbox.widget, exe_callback = awful.util.eval, history_path = awful.util.get_cache_dir() .. "/history_eval" } + ]] + awful.util.spawn("rofi -show run -modi run") end), -- Menubar awful.key({ modkey }, "p", function() -- cgit v1.2.3