aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-20 19:27:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-20 19:27:16 -0300
commitb15f3f8f5ceae6d6f519ec1b4786c3797081f46c (patch)
treea35b0e7abf6b74de8fa851e1ac78a94d6fd86ce3
parentc59b6cdf410317c000ac1647faf3cadb91c760b3 (diff)
downloadawesome-b15f3f8f5ceae6d6f519ec1b4786c3797081f46c.tar.gz
awesome-b15f3f8f5ceae6d6f519ec1b4786c3797081f46c.tar.bz2
Network shell shortcut
-rw-r--r--config.dot/awesome.link/keys.lua1
-rw-r--r--config.dot/awesome.link/rc.lua18
2 files changed, 10 insertions, 9 deletions
diff --git a/config.dot/awesome.link/keys.lua b/config.dot/awesome.link/keys.lua
index c2fcec4..5e2ec36 100644
--- a/config.dot/awesome.link/keys.lua
+++ b/config.dot/awesome.link/keys.lua
@@ -16,6 +16,7 @@ globalkeys = awful.util.table.join(root.keys(),
awful.key({ modkey, }, "t", function () awful.util.spawn("tor-browser") end),
awful.key({ modkey, }, "u", function () awful.util.spawn("luakit") end),
awful.key({ modkey, }, "v", function () awful.util.spawn("gvim") end),
+ awful.key({ modkey, }, "x", function () awful.util.spawn("terminal shell network") end),
awful.key({ modkey, }, "z", function () awful.util.spawn("terminal shell root") end),
awful.key({ modkey, }, "y", function () awful.util.spawn("xclip-clean") end),
diff --git a/config.dot/awesome.link/rc.lua b/config.dot/awesome.link/rc.lua
index a6cc32e..b56e4c0 100644
--- a/config.dot/awesome.link/rc.lua
+++ b/config.dot/awesome.link/rc.lua
@@ -258,15 +258,15 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(layouts, -1) end),
-- Prompt
- awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end),
-
- awful.key({ modkey }, "x",
- function ()
- awful.prompt.run({ prompt = "Run Lua code: " },
- mypromptbox[mouse.screen].widget,
- awful.util.eval, nil,
- awful.util.getdir("cache") .. "/history_eval")
- end)
+ awful.key({ modkey }, "r", function () mypromptbox[mouse.screen]:run() end)
+
+ --awful.key({ modkey }, "x",
+ -- function ()
+ -- awful.prompt.run({ prompt = "Run Lua code: " },
+ -- mypromptbox[mouse.screen].widget,
+ -- awful.util.eval, nil,
+ -- awful.util.getdir("cache") .. "/history_eval")
+ -- end)
)
clientkeys = awful.util.table.join(