diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 01:25:10 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 01:25:10 -0200 |
commit | 6b9187673ee62d11042832f938913f15131592a7 (patch) | |
tree | 9e70016667efe273a72ab351aafaddbdb099e123 /modules/awesome/config.dot/awesome.link/keys.lua | |
parent | 25235935e6c90557a4d6791c8d8f3a5cdf89681a (diff) | |
download | dotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.gz dotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.bz2 |
Adding metadot script
Diffstat (limited to 'modules/awesome/config.dot/awesome.link/keys.lua')
-rw-r--r-- | modules/awesome/config.dot/awesome.link/keys.lua | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/modules/awesome/config.dot/awesome.link/keys.lua b/modules/awesome/config.dot/awesome.link/keys.lua new file mode 100644 index 0000000..2b1294e --- /dev/null +++ b/modules/awesome/config.dot/awesome.link/keys.lua @@ -0,0 +1,19 @@ +-- Key bindings +globalkeys = awful.util.table.join(root.keys(), + awful.key({ modkey, "Control" }, "f", function () awful.util.spawn("firefox") end), + awful.key({ modkey, "Control" }, "v", function () awful.util.spawn("gvim") end), + awful.key({ modkey, "Control" }, "m", function () awful.util.spawn("terminal mutt") end), + awful.key({ modkey, "Control" }, "g", function () awful.util.spawn("gimp") end), + awful.key({ modkey, "Control" }, "i", function () awful.util.spawn("gqview") end), + awful.key({ modkey, "Control" }, "a", function () awful.util.spawn("audacious") end), + awful.key({ modkey, "Control" }, "l", function () awful.util.spawn("xlock") end), + awful.key({ modkey, "Control" }, "s", function () awful.util.spawn("xsuspend") end), + awful.key({ modkey, "Control" }, "h", function () awful.util.spawn("xhibernate") end), + awful.key({ modkey, "Control" }, "k", function () awful.util.spawn("kedpm") end), + awful.key({ modkey, "Control" }, "c", function () awful.util.spawn("chromium-browser") end), + awful.key({ modkey, "Control" }, "t", function () awful.util.spawn("thunar") end) + --awful.key({ modkey, "Control" }, "b", function () awful.util.spawn("terminal irssi") end), +) + +-- Set keys +root.keys(globalkeys) |