g15 media key mappings

This commit is contained in:
crater2150 2009-12-21 19:13:37 +01:00
parent 2667ce7d91
commit e8a2eae804
2 changed files with 5 additions and 1 deletions

4
rc.lua
View file

@ -236,6 +236,10 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "m", function () awful.util.spawn("mpc toggle") end),
awful.key({ modkey }, "n", function () awful.util.spawn("mpc next") end),
awful.key({ modkey , "Shift"}, "n", function () awful.util.spawn("mpc prev") end),
awful.key({ }, "XF86AudioPlay", function () awful.util.spawn("mpc toggle") end),
awful.key({ }, "XF86AudioNext", function () awful.util.spawn("mpc next") end),
awful.key({ }, "XF86AudioPrev", function () awful.util.spawn("mpc prev") end),
awful.key({ }, "XF86AudioStop", function () awful.util.spawn("mpdmenu -a") end),
awful.key({ modkey , "Control" }, "n", function () awful.util.spawn("mpdmenu -j") end),
-- Prompt
awful.key({ modkey }, "r", function () obvious.popup_run_prompt.run_prompt() end),

View file

@ -21,7 +21,7 @@ theme.fg_focus = "#F0DFAF"
theme.fg_urgent = "#CC9393"
theme.bg_normal = "#3F3F3F"
theme.bg_focus = "#1E2320"
theme.bg_urgent = "#3F3F3F"
theme.bg_urgent = "#ff0000"
-- }}}
-- {{{ Borders