diff options
-rw-r--r-- | rc.lua | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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() |