diff options
Diffstat (limited to 'config.dot/awesome.link/keys.lua')
-rw-r--r-- | config.dot/awesome.link/keys.lua | 91 |
1 files changed, 43 insertions, 48 deletions
diff --git a/config.dot/awesome.link/keys.lua b/config.dot/awesome.link/keys.lua index 5983ac9..9bd3d66 100644 --- a/config.dot/awesome.link/keys.lua +++ b/config.dot/awesome.link/keys.lua @@ -1,64 +1,59 @@ -- Key bindings globalkeys = awful.util.table.join(root.keys(), - awful.key({ modkey, }, "a", function () awful.util.spawn("thunar") end), - awful.key({ modkey, }, "b", function () awful.util.spawn("firefox-profile default") end), - awful.key({ modkey, }, "c", function () awful.util.spawn("terminal xcalendar") end), - awful.key({ modkey, }, "d", function () awful.util.spawn("terminal shell local media") end), - awful.key({ modkey, }, "e", function () awful.util.spawn("scrot '%Y-%m-%d-%H:%M:%S_$wx$h.png' -e 'mv $f ~/load/'") end), - awful.key({ modkey, }, "g", function () awful.util.spawn("gimp") end), - awful.key({ modkey, }, "h", function () awful.util.spawn("terminal chat") end), - awful.key({ modkey, }, "i", function () awful.util.spawn("geeqie") end), - awful.key({ modkey, }, "j", function () awful.util.spawn("gpick -p") end), - awful.key({ modkey, }, "m", function () awful.util.spawn("terminal xmail") end), - awful.key({ modkey, }, "n", function () awful.util.spawn("terminal news") end), - awful.key({ modkey, }, "o", function () awful.util.spawn("chromium-browser --incognito") end), - awful.key({ modkey, }, "p", function () awful.util.spawn("terminal keyringer default sclip") end), - awful.key({ modkey, }, "s", function () awful.util.spawn("xsuspend") end), - awful.key({ modkey, }, "t", function () awful.util.spawn("tor-browser") end), - awful.key({ modkey, }, "u", function () awful.util.spawn("qrpaste") end), - awful.key({ modkey, }, "v", function () awful.util.spawn("terminal vim") end), - awful.key({ modkey, }, "x", function () awful.util.spawn("terminal wicd-curses") end), - awful.key({ modkey, }, "y", function () awful.util.spawn("xclip-clean") end), - awful.key({ modkey, }, "z", function () awful.util.spawn("terminal shell root") end), + awful.key({ modkey, }, "a", function () awful.util.spawn("thunar") end, {description = "thunar", group = "client"}), + awful.key({ modkey, }, "b", function () awful.util.spawn("firefox-profile default") end, {description = "firefox", group = "client"}), + awful.key({ modkey, }, "c", function () awful.util.spawn("terminal xcalendar") end, {description = "calendar", group = "client"}), + awful.key({ modkey, }, "d", function () awful.util.spawn("terminal shell local media") end, {description = "media", group = "client"}), + awful.key({ modkey, }, "e", function () awful.util.spawn("scrot '%Y-%m-%d-%H:%M:%S_$wx$h.png' -e 'mv $f ~/load/'") end, {description = "screenshot", group = "client"}), + awful.key({ modkey, }, "g", function () awful.util.spawn("gimp") end, {description = "gimp", group = "client"}), + awful.key({ modkey, }, "h", function () awful.util.spawn("terminal chat") end, {description = "chat", group = "client"}), + awful.key({ modkey, }, "i", function () awful.util.spawn("geeqie") end, {description = "geeqie", group = "client"}), + awful.key({ modkey, }, "j", function () awful.util.spawn("gpick -p") end, {description = "gpick", group = "client"}), + awful.key({ modkey, }, "m", function () awful.util.spawn("terminal xmail") end, {description = "mail", group = "client"}), + awful.key({ modkey, }, "n", function () awful.util.spawn("terminal news") end, {description = "news", group = "client"}), + awful.key({ modkey, }, "o", function () awful.util.spawn("chromium-browser --incognito") end, {description = "chromium", group = "client"}), + awful.key({ modkey, }, "p", function () awful.util.spawn("terminal keyringer default sclip") end, {description = "keyringer", group = "client"}), + awful.key({ modkey, }, "s", function () awful.util.spawn("xsuspend") end, {description = "suspend", group = "client"}), + awful.key({ modkey, }, "t", function () awful.util.spawn("tor-browser") end, {description = "tor-browser", group = "client"}), + awful.key({ modkey, }, "u", function () awful.util.spawn("qrpaste") end, {description = "qrpaste", group = "client"}), + awful.key({ modkey, }, "v", function () awful.util.spawn("terminal vim") end, {description = "editor", group = "client"}), + awful.key({ modkey, }, "x", function () awful.util.spawn("terminal wicd-curses") end, {description = "network", group = "client"}), + awful.key({ modkey, }, "y", function () awful.util.spawn("xclip-clean") end, {description = "clear clipboard", group = "client"}), + awful.key({ modkey, }, "z", function () awful.util.spawn("terminal shell root") end, {description = "root", group = "client"}), -- Unused - --awful.key({ modkey, }, "e", function () awful.util.spawn("command") end), - --awful.key({ modkey, }, "u", function () awful.util.spawn("command") end), + --awful.key({ modkey, }, "e", function () awful.util.spawn("command") end, {description = "", group = "client"}), + --awful.key({ modkey, }, "u", function () awful.util.spawn("command") end, {description = "", group = "client"}), -- Xlock - awful.key({ modkey, }, "Print", function () awful.util.spawn("xlock") end), + awful.key({ modkey, }, "Print", function () awful.util.spawn("xlock") end, {description = "", group = "client"}), -- Volume keys - awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 9%+", false) end), - awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 9%-", false) end), - awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer set Master toggle", false) end), + awful.key({ }, "XF86AudioRaiseVolume", function () awful.util.spawn("amixer set Master 9%+", false) end, {description = "volume up", group = "client"}), + awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 9%-", false) end, {description = "volume down", group = "client"}), + awful.key({ }, "XF86AudioMute", function () awful.util.spawn("amixer set Master toggle", false) end, {description = "mute", group = "client"}), -- Hibernate - awful.key({ }, "XF86Launch1", function () awful.util.spawn("xhibernate") end), + 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), - awful.key({ modkey, "Control" }, "b", function () awful.util.spawn("kvmx up bankline") end), - awful.key({ modkey, "Control" }, "e", function () awful.util.spawn("kvmx up test") end), - awful.key({ modkey, "Control" }, "s", function () awful.util.spawn("kvmx up signal") end), - awful.key({ modkey, "Control" }, "t", function () awful.util.spawn("kvmx up tor") end), - awful.key({ modkey, "Control" }, "v", function () awful.util.spawn("kvmx up vpn") end), - awful.key({ modkey, "Control" }, "x", function () awful.util.spawn("kvmx up tor-expendable") end), - awful.key({ modkey, "Control" }, "w", function () awful.util.spawn("kvmx up web") end), - awful.key({ modkey, "Shift" }, "a", function () awful.util.spawn("kvmx hibernate tails") end), - awful.key({ modkey, "Shift" }, "b", function () awful.util.spawn("kvmx hibernate bankline") end), - awful.key({ modkey, "Shift" }, "e", function () awful.util.spawn("kvmx hibernate test") end), - awful.key({ modkey, "Shift" }, "s", function () awful.util.spawn("kvmx hibernate signal") end), - awful.key({ modkey, "Shift" }, "t", function () awful.util.spawn("kvmx hibernate tor") end), - awful.key({ modkey, "Shift" }, "v", function () awful.util.spawn("kvmx hibernate vpn") end), - awful.key({ modkey, "Shift" }, "x", function () awful.util.spawn("kvmx hibernate tor-expendable") end), - awful.key({ modkey, "Shift" }, "w", function () awful.util.spawn("kvmx hibernate web") end) + 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"}) ) --- Append keys from music widget -if awesompd then - musicwidget:append_global_keys() -end - -- Set keys root.keys(globalkeys) |