summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2017-09-24 18:11:05 +0200
committerache <ache@ache.one>2017-09-24 18:11:05 +0200
commit3fd7dcb38b720962d1f4d5bc470031458699f4b1 (patch)
tree3e4a07b7331018fe24aa7f3bffdf2eb03722e449
parentModification du theme (diff)
Rofi integration
-rw-r--r--rc.lua7
1 files 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()