Audacious hotkeys added.

This commit is contained in:
Kolan Sh 2015-09-28 16:27:21 +03:00
parent 1a1c88e835
commit 434dc96e86
1 changed files with 8 additions and 4 deletions

12
rc.lua
View File

@ -393,10 +393,14 @@ globalkeys = awful.util.table.join(
awful.util.eval, nil, awful.util.eval, nil,
awful.util.getdir("cache") .. "/history_eval") awful.util.getdir("cache") .. "/history_eval")
end), end),
awful.key({ modkey }, "l",function () awful.util.spawn( "mpc play" ) end), awful.key({ modkey }, "l",function () awful.util.spawn( "mpc play" );
awful.key({ modkey }, ";",function () awful.util.spawn( "mpc pause" ) end), awful.util.spawn( "audacious -p" ) end),
awful.key({ modkey }, "'",function () awful.util.spawn( "mpc prev" ) end), awful.key({ modkey }, ";",function () awful.util.spawn( "mpc pause" );
awful.key({ modkey }, "\\",function () awful.util.spawn( "mpc next" ) end) awful.util.spawn( "audacious -u" ) end),
awful.key({ modkey }, "'",function () awful.util.spawn( "mpc prev" );
awful.util.spawn( "audacious -r" ) end),
awful.key({ modkey }, "\\",function () awful.util.spawn( "mpc next" );
awful.util.spawn( "audacious -f" ) end)
) )
clientkeys = awful.util.table.join( clientkeys = awful.util.table.join(