aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.dot/awesome.link/globalkeys.lua20
-rw-r--r--config.dot/awesome.link/keys.lua63
2 files changed, 41 insertions, 42 deletions
diff --git a/config.dot/awesome.link/globalkeys.lua b/config.dot/awesome.link/globalkeys.lua
index 93c6503..c0ff159 100644
--- a/config.dot/awesome.link/globalkeys.lua
+++ b/config.dot/awesome.link/globalkeys.lua
@@ -80,16 +80,16 @@ globalkeys = awful.util.table.join(
awful.key({ modkey, }, "space", function () awful.layout.inc( 1) end, {description = "select next", group = "layout"}),
awful.key({ modkey, "Shift" }, "space", function () awful.layout.inc(-1) end, {description = "select previous", group = "layout"}),
- awful.key({ modkey, "Control" }, "n",
- function ()
- local c = awful.client.restore()
- -- Focus restored client
- if c then
- client.focus = c
- c:raise()
- end
- end,
- {description = "restore minimized", group = "client"}),
+ --awful.key({ modkey, "Control" }, "n",
+ -- function ()
+ -- local c = awful.client.restore()
+ -- -- Focus restored client
+ -- if c then
+ -- client.focus = c
+ -- c:raise()
+ -- end
+ -- end,
+ -- {description = "restore minimized", group = "client"}),
-- Prompt
awful.key({ modkey }, "r", function () awful.screen.focused().mypromptbox:run() end,
diff --git a/config.dot/awesome.link/keys.lua b/config.dot/awesome.link/keys.lua
index ca76e1f..d98412d 100644
--- a/config.dot/awesome.link/keys.lua
+++ b/config.dot/awesome.link/keys.lua
@@ -40,32 +40,33 @@ globalkeys = awful.util.table.join(root.keys(),
awful.key({ }, "XF86Launch1", function () awful.spawn("xhibernate") end, {description = "", group = "client"}),
-- Misc applications
- --awful.key({ modkey, }, "a", function () awful.spawn("thunar") end, {description = "thunar", group = "client"}),
- awful.key({ modkey, }, "a", function () awful.spawn("terminal ranger load") end, {description = "ranger", group = "client"}),
- awful.key({ modkey, }, "b", function () awful.spawn("dangling-archive") end, {description = "dangling-archive", group = "client"}),
- awful.key({ modkey, }, "c", function () awful.spawn("terminal xcalendar") end, {description = "calendar", group = "client"}),
- awful.key({ modkey, }, "d", function () awful.spawn("terminal shell local media") end, {description = "media", group = "client"}),
- awful.key({ modkey, }, "e", function () awful.spawn("screenshot") end, {description = "screenshot", group = "client"}),
- awful.key({ modkey, }, "g", function () awful.spawn("gallery") end, {description = "image gallery", group = "client"}),
- --awful.key({ modkey, }, "g", function () awful.spawn("vmg") end, {description = "vmg", group = "client"}),
- awful.key({ modkey, }, "h", function () awful.spawn("terminal chat") end, {description = "chat", group = "client"}),
- --awful.key({ modkey, }, "i", function () awful.spawn("geeqie load") end, {description = "geeqie", group = "client"}),
- awful.key({ modkey, }, "i", function () awful.spawn("screenshot -s") end, {description = "region screenshot", group = "client"}),
- awful.key({ modkey, }, "l", function () awful.spawn("gpick -s -p") end, {description = "gpick", group = "client"}),
- awful.key({ modkey, }, "m", function () awful.spawn("terminal xmail") end, {description = "mail", group = "client"}),
- --awful.key({ modkey, }, "n", function () awful.spawn("terminal news") end, {description = "news", group = "client"}),
- --awful.key({ modkey, }, "o", function () awful.spawn("chromium-browser --incognito") end, {description = "chromium", group = "client"}),
- awful.key({ modkey, }, "o", function () awful.spawn("terminal-session-chooser") end, {description = "session-chooser", group = "client"}),
- awful.key({ modkey, }, "p", function () awful.spawn("terminal keyringer default sclip") end, {description = "keyringer", group = "client"}),
- --awful.key({ modkey, }, "s", function () awful.spawn("spoolpaste") end, {description = "spoolpaste", group = "client"}),
- awful.key({ modkey, }, "s", function () awful.spawn("xsuspend") end, {description = "suspend", group = "client"}),
- awful.key({ modkey, }, "t", function () awful.spawn("terminal ssh-agent-loadkey") end, {description = "ssh-agent-loadkey", group = "client"}),
- awful.key({ modkey, }, "u", function () awful.spawn("qrpaste") end, {description = "qrpaste", group = "client"}),
- awful.key({ modkey, }, "v", function () awful.spawn("terminal vim") end, {description = "editor", group = "client"}),
- --awful.key({ modkey, }, "x", function () awful.spawn("terminal wicd-curses") end, {description = "network", group = "client"}),
- awful.key({ modkey, }, "x", function () awful.spawn("terminal nmtui connect") end, {description = "network", group = "client"}),
- awful.key({ modkey, }, "y", function () awful.spawn("xclip-clean") end, {description = "clear clipboard", group = "client"}),
- awful.key({ modkey, }, "z", function () awful.spawn("terminal shell root") end, {description = "root", group = "client"}),
+ --awful.key({ modkey, }, "a", function () awful.spawn("thunar") end, {description = "thunar", group = "client"}),
+ awful.key({ modkey, }, "a", function () awful.spawn("terminal ranger load") end, {description = "ranger", group = "client"}),
+ awful.key({ modkey, }, "b", function () awful.spawn("dangling-archive") end, {description = "dangling-archive", group = "client"}),
+ awful.key({ modkey, }, "c", function () awful.spawn("terminal xcalendar") end, {description = "calendar", group = "client"}),
+ awful.key({ modkey, }, "d", function () awful.spawn("terminal shell local media") end, {description = "media", group = "client"}),
+ awful.key({ modkey, }, "e", function () awful.spawn("screenshot") end, {description = "screenshot", group = "client"}),
+ awful.key({ modkey, }, "g", function () awful.spawn("gallery") end, {description = "image gallery", group = "client"}),
+ --awful.key({ modkey, }, "g", function () awful.spawn("vmg") end, {description = "vmg", group = "client"}),
+ awful.key({ modkey, }, "h", function () awful.spawn("terminal chat") end, {description = "chat", group = "client"}),
+ --awful.key({ modkey, }, "i", function () awful.spawn("geeqie load") end, {description = "geeqie", group = "client"}),
+ awful.key({ modkey, }, "i", function () awful.spawn("screenshot -s") end, {description = "region screenshot", group = "client"}),
+ awful.key({ modkey, }, "l", function () awful.spawn("gpick -s -p") end, {description = "gpick", group = "client"}),
+ awful.key({ modkey, }, "m", function () awful.spawn("terminal xmail") end, {description = "mail", group = "client"}),
+ awful.key({ modkey, }, "n", function () awful.spawn("terminal shell local session") end, {description = "session", group = "client"}),
+ --awful.key({ modkey, }, "n", function () awful.spawn("terminal news") end, {description = "news", group = "client"}),
+ --awful.key({ modkey, }, "o", function () awful.spawn("chromium-browser --incognito") end, {description = "chromium", group = "client"}),
+ awful.key({ modkey, }, "o", function () awful.spawn("terminal-session-chooser") end, {description = "session-chooser", group = "client"}),
+ awful.key({ modkey, }, "p", function () awful.spawn("terminal keyringer default ssearch") end, {description = "keyringer", group = "client"}),
+ --awful.key({ modkey, }, "s", function () awful.spawn("spoolpaste") end, {description = "spoolpaste", group = "client"}),
+ awful.key({ modkey, }, "s", function () awful.spawn("xsuspend") end, {description = "suspend", group = "client"}),
+ awful.key({ modkey, }, "t", function () awful.spawn("terminal ssh-agent-loadkey") end, {description = "ssh-agent-loadkey", group = "client"}),
+ awful.key({ modkey, }, "u", function () awful.spawn("qrpaste") end, {description = "qrpaste", group = "client"}),
+ awful.key({ modkey, }, "v", function () awful.spawn("terminal vim") end, {description = "editor", group = "client"}),
+ --awful.key({ modkey, }, "x", function () awful.spawn("terminal wicd-curses") end, {description = "network", group = "client"}),
+ awful.key({ modkey, }, "x", function () awful.spawn("terminal nmtui connect") end, {description = "network", group = "client"}),
+ awful.key({ modkey, }, "y", function () awful.spawn("xclip-clean") end, {description = "clear clipboard", group = "client"}),
+ awful.key({ modkey, }, "z", function () awful.spawn("terminal shell root") end, {description = "root", group = "client"}),
-- Clipboard between virtual machines
awful.key({ modkey, "" }, "Up", function () awful.spawn("kvmx-spice-copy") end, {description = "kvmx-copy", group = "client"}),
@@ -77,12 +78,11 @@ globalkeys = awful.util.table.join(root.keys(),
awful.key({ modkey, "Control" }, "c", function () awful.spawn("kvmx up commerce") end, {description = "vm: commerce", group = "client"}),
awful.key({ modkey, "Control" }, "d", function () awful.spawn("kvmx up doc") end, {description = "vm: doc", group = "client"}),
awful.key({ modkey, "Control" }, "e", function () awful.spawn("kvmx up test") end, {description = "vm: test", group = "client"}),
- awful.key({ modkey, "Control" }, "f", function () awful.spawn("kvmx up funny") end, {description = "vm: funny", group = "client"}),
awful.key({ modkey, "Control" }, "h", function () awful.spawn("kvmx up home") end, {description = "vm: home", group = "client"}),
awful.key({ modkey, "Control" }, "k", function () awful.spawn("kvmx up work") end, {description = "vm: work", group = "client"}),
awful.key({ modkey, "Control" }, "m", function () awful.spawn("kvmx up messenger") end, {description = "vm: messenger", group = "client"}),
- awful.key({ modkey, "Control" }, "s", function () awful.spawn("kvmx up sunny") end, {description = "vm: sunny" , group = "client"}),
- awful.key({ modkey, "Control" }, "v", function () awful.spawn("kvmx up vnc") end, {description = "vm: vnc", group = "client"}),
+ awful.key({ modkey, "Control" }, "p", function () awful.spawn("kvmx up party") end, {description = "vm: party", group = "client"}),
+ --awful.key({ modkey, "Control" }, "v", function () awful.spawn("kvmx up vnc") end, {description = "vm: vnc", group = "client"}),
awful.key({ modkey, "Control" }, "v", function () awful.spawn("kvmx disposable vpn") end, {description = "vm: vpn disposable", group = "client"}),
awful.key({ modkey, "Control" }, "x", function () awful.spawn("kvmx disposable tor") end, {description = "vm: tor disposable", group = "client"}),
awful.key({ modkey, "Control" }, "w", function () awful.spawn("kvmx up web") end, {description = "vm: web", group = "client"}),
@@ -92,11 +92,10 @@ globalkeys = awful.util.table.join(root.keys(),
awful.key({ modkey, "Shift" }, "c", function () awful.spawn("kvmx suspend commerce") end, {description = "vm: down: commerce", group = "client"}),
awful.key({ modkey, "Shift" }, "d", function () awful.spawn("kvmx suspend doc") end, {description = "vm: down: doc", group = "client"}),
awful.key({ modkey, "Shift" }, "e", function () awful.spawn("kvmx suspend test") end, {description = "vm: down: test", group = "client"}),
- awful.key({ modkey, "Shift" }, "f", function () awful.spawn("kvmx suspend funny") end, {description = "vm: down: funny", group = "client"}),
awful.key({ modkey, "Shift" }, "h", function () awful.spawn("kvmx suspend home") end, {description = "vm: down: home", group = "client"}),
awful.key({ modkey, "Shift" }, "k", function () awful.spawn("kvmx suspend work") end, {description = "vm: down: work", group = "client"}),
awful.key({ modkey, "Shift" }, "m", function () awful.spawn("kvmx suspend messenger") end, {description = "vm: down: messenger", group = "client"}),
- awful.key({ modkey, "Shift" }, "s", function () awful.spawn("kvmx suspend sunny") end, {description = "vm: down: sunny", group = "client"}),
+ awful.key({ modkey, "Shift" }, "p", function () awful.spawn("kvmx suspend party") end, {description = "vm: down: party", group = "client"}),
awful.key({ modkey, "Shift" }, "v", function () awful.spawn("kvmx suspend vnc") end, {description = "vm: down: vnc", group = "client"}),
awful.key({ modkey, "Shift" }, "w", function () awful.spawn("kvmx suspend web") end, {description = "vm: down: web", group = "client"}),
@@ -105,10 +104,10 @@ globalkeys = awful.util.table.join(root.keys(),
awful.key({ modkey, "Mod1" }, "c", function () awful.spawn("kvmx poweroff commerce") end, {description = "vm: down: commerce", group = "client"}),
awful.key({ modkey, "Mod1" }, "d", function () awful.spawn("kvmx poweroff doc") end, {description = "vm: down: doc", group = "client"}),
awful.key({ modkey, "Mod1" }, "e", function () awful.spawn("kvmx poweroff test") end, {description = "vm: down: test", group = "client"}),
- awful.key({ modkey, "Mod1" }, "f", function () awful.spawn("kvmx poweroff funny") end, {description = "vm: down: funny", group = "client"}),
awful.key({ modkey, "Mod1" }, "h", function () awful.spawn("kvmx poweroff home") end, {description = "vm: down: home", group = "client"}),
awful.key({ modkey, "Mod1" }, "k", function () awful.spawn("kvmx poweroff work") end, {description = "vm: down: work", group = "client"}),
awful.key({ modkey, "Mod1" }, "m", function () awful.spawn("kvmx poweroff messenger") end, {description = "vm: down: messenger", group = "client"}),
+ awful.key({ modkey, "Mod1" }, "p", function () awful.spawn("kvmx poweroff party") end, {description = "vm: down: party", group = "client"}),
awful.key({ modkey, "Mod1" }, "s", function () awful.spawn("kvmx poweroff sunny") end, {description = "vm: down: sunny", group = "client"}),
awful.key({ modkey, "Mod1" }, "v", function () awful.spawn("kvmx poweroff vnc") end, {description = "vm: down: vnc", group = "client"}),
awful.key({ modkey, "Mod1" }, "w", function () awful.spawn("kvmx poweroff web") end, {description = "vm: down: web", group = "client"})