diff options
author | ache <ache@ache.one> | 2017-09-24 18:11:05 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2017-09-24 18:11:05 +0200 |
commit | 3fd7dcb38b720962d1f4d5bc470031458699f4b1 (patch) | |
tree | 3e4a07b7331018fe24aa7f3bffdf2eb03722e449 | |
parent | Modification du theme (diff) |
Rofi integration
-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() |