]> gitweb.fluxo.info Git - rhatto/dotfiles/awesome.git/commitdiff
Keys: organize
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Aug 2020 16:24:54 +0000 (13:24 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 28 Aug 2020 16:24:54 +0000 (13:24 -0300)
config.dot/awesome.link/keys.lua

index 46117ee17fbe5fd831c2e171d14a49807bdbf48d..ca39ddc3b9f1e3f60f6cc3b5dfef9701f569b09e 100644 (file)
@@ -1,30 +1,5 @@
 -- Key bindings
 globalkeys = awful.util.table.join(root.keys(),
-    --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("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, }, "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"}),
-
     -- Unused
     --awful.key({ modkey, }, "t", function () awful.spawn("command") end, {description = "", group = "client"}),
 
@@ -60,6 +35,33 @@ globalkeys = awful.util.table.join(root.keys(),
     -- Hibernate
     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("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, }, "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"}),
     awful.key({ modkey, "" }, "Down", function () awful.spawn("kvmx-spice-paste")          end, {description = "kvmx-paste",     group = "client"}),