From 099a2900bdb067f77438c90bfccdc3443e19ea38 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 29 Aug 2017 20:26:08 -0300 Subject: Switch kvmx key combos from hibernate to suspend --- config.dot/awesome.link/keys.lua | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/config.dot/awesome.link/keys.lua b/config.dot/awesome.link/keys.lua index 20bde9c..dbceff3 100644 --- a/config.dot/awesome.link/keys.lua +++ b/config.dot/awesome.link/keys.lua @@ -37,22 +37,22 @@ globalkeys = awful.util.table.join(root.keys(), awful.key({ }, "XF86Launch1", function () awful.util.spawn("xhibernate") end, {description = "", group = "client"}), -- Virtual environments - awful.key({ modkey, "Control" }, "a", function () awful.util.spawn("kvmx up tails") end, {description = "vm: tails", group = "client"}), - awful.key({ modkey, "Control" }, "b", function () awful.util.spawn("kvmx up bankline") end, {description = "vm: bankline", group = "client"}), - awful.key({ modkey, "Control" }, "e", function () awful.util.spawn("kvmx up test") end, {description = "vm: test", group = "client"}), - awful.key({ modkey, "Control" }, "s", function () awful.util.spawn("kvmx up signal") end, {description = "vm: signal", group = "client"}), - awful.key({ modkey, "Control" }, "t", function () awful.util.spawn("kvmx up tor") end, {description = "vm: tor", group = "client"}), - awful.key({ modkey, "Control" }, "v", function () awful.util.spawn("kvmx up vpn") end, {description = "vm: vpn", group = "client"}), - awful.key({ modkey, "Control" }, "x", function () awful.util.spawn("kvmx up tor-expendable") end, {description = "vm: tor-expendable", group = "client"}), - awful.key({ modkey, "Control" }, "w", function () awful.util.spawn("kvmx up web") end, {description = "vm: web", group = "client"}), - awful.key({ modkey, "Shift" }, "a", function () awful.util.spawn("kvmx hibernate tails") end, {description = "vm: down: tails", group = "client"}), - awful.key({ modkey, "Shift" }, "b", function () awful.util.spawn("kvmx hibernate bankline") end, {description = "vm: down: bankline", group = "client"}), - awful.key({ modkey, "Shift" }, "e", function () awful.util.spawn("kvmx hibernate test") end, {description = "vm: down: test", group = "client"}), - awful.key({ modkey, "Shift" }, "s", function () awful.util.spawn("kvmx hibernate signal") end, {description = "vm: down: signal", group = "client"}), - awful.key({ modkey, "Shift" }, "t", function () awful.util.spawn("kvmx hibernate tor") end, {description = "vm: down: tor", group = "client"}), - awful.key({ modkey, "Shift" }, "v", function () awful.util.spawn("kvmx hibernate vpn") end, {description = "vm: down: vpn", group = "client"}), - awful.key({ modkey, "Shift" }, "x", function () awful.util.spawn("kvmx hibernate tor-expendable") end, {description = "vm: down: tor-expendable", group = "client"}), - awful.key({ modkey, "Shift" }, "w", function () awful.util.spawn("kvmx hibernate web") end, {description = "vm: down: web", group = "client"}) + awful.key({ modkey, "Control" }, "a", function () awful.util.spawn("kvmx up tails") end, {description = "vm: tails", group = "client"}), + awful.key({ modkey, "Control" }, "b", function () awful.util.spawn("kvmx up bankline") end, {description = "vm: bankline", group = "client"}), + awful.key({ modkey, "Control" }, "e", function () awful.util.spawn("kvmx up test") end, {description = "vm: test", group = "client"}), + awful.key({ modkey, "Control" }, "s", function () awful.util.spawn("kvmx up signal") end, {description = "vm: signal", group = "client"}), + awful.key({ modkey, "Control" }, "t", function () awful.util.spawn("kvmx up tor") end, {description = "vm: tor", group = "client"}), + awful.key({ modkey, "Control" }, "v", function () awful.util.spawn("kvmx up vpn") end, {description = "vm: vpn", group = "client"}), + awful.key({ modkey, "Control" }, "x", function () awful.util.spawn("kvmx up tor-expendable") end, {description = "vm: tor-expendable", group = "client"}), + awful.key({ modkey, "Control" }, "w", function () awful.util.spawn("kvmx up web") end, {description = "vm: web", group = "client"}), + awful.key({ modkey, "Shift" }, "a", function () awful.util.spawn("kvmx suspend tails") end, {description = "vm: down: tails", group = "client"}), + awful.key({ modkey, "Shift" }, "b", function () awful.util.spawn("kvmx suspend bankline") end, {description = "vm: down: bankline", group = "client"}), + awful.key({ modkey, "Shift" }, "e", function () awful.util.spawn("kvmx suspend test") end, {description = "vm: down: test", group = "client"}), + awful.key({ modkey, "Shift" }, "s", function () awful.util.spawn("kvmx suspend signal") end, {description = "vm: down: signal", group = "client"}), + awful.key({ modkey, "Shift" }, "t", function () awful.util.spawn("kvmx suspend tor") end, {description = "vm: down: tor", group = "client"}), + awful.key({ modkey, "Shift" }, "v", function () awful.util.spawn("kvmx suspend vpn") end, {description = "vm: down: vpn", group = "client"}), + awful.key({ modkey, "Shift" }, "x", function () awful.util.spawn("kvmx suspend tor-expendable") end, {description = "vm: down: tor-expendable", group = "client"}), + awful.key({ modkey, "Shift" }, "w", function () awful.util.spawn("kvmx suspend web") end, {description = "vm: down: web", group = "client"}) ) -- Set keys -- cgit v1.2.3