-- Key bindings globalkeys = awful.util.table.join(root.keys(), awful.key({ modkey, }, "f", function () awful.util.spawn("firefox") end), awful.key({ modkey, }, "v", function () awful.util.spawn("gvim") end), awful.key({ modkey, }, "m", function () awful.util.spawn("terminal xmutt") end), awful.key({ modkey, }, "g", function () awful.util.spawn("gimp") end), awful.key({ modkey, }, "i", function () awful.util.spawn("gqview") end), awful.key({ modkey, }, "a", function () awful.util.spawn("audacious") end), awful.key({ modkey, }, "l", function () awful.util.spawn("xlock") end), awful.key({ modkey, }, "s", function () awful.util.spawn("xsuspend") end), awful.key({ modkey, }, "h", function () awful.util.spawn("xhibernate") end), awful.key({ modkey, }, "b", function () awful.util.spawn("chromium-browser") end), awful.key({ modkey, }, "n", function () awful.util.spawn("firefox-profile normal") end), awful.key({ modkey, }, "t", function () awful.util.spawn("thunar") end), awful.key({ modkey, }, "c", function () awful.util.spawn("terminal xwyrd") end), awful.key({ modkey, }, "p", function () awful.util.spawn("terminal keyringer default") end), awful.key({ modkey, }, "u", function () awful.util.spawn("luakit") end), --awful.key({ modkey, }, "b", function () awful.util.spawn("terminal irssi") end), -- Xlock awful.key({ }, "XF86ScreenSaver", function () awful.util.spawn("xlock") end), -- 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 sset Master toggle", false) end) ) -- Append keys from music widget if awesompd then musicwidget:append_global_keys() end -- Set keys root.keys(globalkeys)