]> gitweb.fluxo.info Git - rhatto/dotfiles/awesome.git/commitdiff
Updates keybindings
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 16 Mar 2019 16:53:33 +0000 (13:53 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 16 Mar 2019 16:53:33 +0000 (13:53 -0300)
config.dot/awesome.link/keys.lua

index 773a2b762ab79cb2570dbbc2ed9bc7a654b9a604..72f4f034552f570135db01852e6a04b9ac191030 100644 (file)
@@ -12,7 +12,7 @@ globalkeys = awful.util.table.join(root.keys(),
     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, }, "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"}),
@@ -26,6 +26,7 @@ globalkeys = awful.util.table.join(root.keys(),
 
     -- Unused
     --awful.key({ modkey, }, "b", function () awful.spawn("command") end, {description = "", group = "client"}),
+    --awful.key({ modkey, }, "n", function () awful.spawn("command") end, {description = "", group = "client"}),
     --awful.key({ modkey, }, "t", function () awful.spawn("command") end, {description = "", group = "client"}),
 
     -- Xlock
@@ -66,30 +67,31 @@ globalkeys = awful.util.table.join(root.keys(),
     --awful.key({ modkey, "" }, "Down", function () awful.spawn("terminal kvmx-clipboard") end, {description = "kvmx-clipboard", group = "client"}),
 
     -- Virtual environments
-    awful.key({ modkey, "Control" }, "a", function () awful.spawn("kvmx up tails")               end, {description = "vm: tails",                group = "client"}),
-    awful.key({ modkey, "Control" }, "b", function () awful.spawn("kvmx up bankline")            end, {description = "vm: bankline",             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" }, "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 sandbox")             end, {description = "vm: sadbox",               group = "client"}),
-    awful.key({ modkey, "Control" }, "t", function () awful.spawn("kvmx up tor")                 end, {description = "vm: tor",                  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"}),
-    awful.key({ modkey, "Shift"   }, "a", function () awful.spawn("kvmx suspend tails")          end, {description = "vm: down: tails",          group = "client"}),
-    awful.key({ modkey, "Shift"   }, "b", function () awful.spawn("kvmx suspend bankline")       end, {description = "vm: down: bankline",       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"   }, "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 sandbox")        end, {description = "vm: down: sandbox",        group = "client"}),
-    awful.key({ modkey, "Shift"   }, "t", function () awful.spawn("kvmx suspend tor")            end, {description = "vm: down: tor",            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"})
+    awful.key({ modkey, "Control" }, "a", function () awful.spawn("kvmx up tails")                   end, {description = "vm: tails",                      group = "client"}),
+    awful.key({ modkey, "Control" }, "b", function () awful.spawn("kvmx up bankline")                end, {description = "vm: bankline",                   group = "client"}),
+    awful.key({ modkey, "Control" }, "c", function () awful.spawn("kvmx disposable stretch-desktop") end, {description = "vm: stretch-desktop disposable", 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" }, "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 sandbox")                 end, {description = "vm: sadbox",                     group = "client"}),
+    awful.key({ modkey, "Control" }, "t", function () awful.spawn("kvmx up tor")                     end, {description = "vm: tor",                        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"}),
+    awful.key({ modkey, "Shift"   }, "a", function () awful.spawn("kvmx suspend tails")              end, {description = "vm: down: tails",                group = "client"}),
+    awful.key({ modkey, "Shift"   }, "b", function () awful.spawn("kvmx suspend bankline")           end, {description = "vm: down: bankline",             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"   }, "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 sandbox")            end, {description = "vm: down: sandbox",              group = "client"}),
+    awful.key({ modkey, "Shift"   }, "t", function () awful.spawn("kvmx suspend tor")                end, {description = "vm: down: tor",                  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"})
 )
 
 -- Set keys