Updated keybinds
parent
161576e2cd
commit
58b2df6956
|
@ -1,7 +1,7 @@
|
||||||
return gears.table.join(
|
return gears.table.join(
|
||||||
awful.key( {}, "XF86AudioPrev",
|
awful.key( {}, "XF86AudioPrev",
|
||||||
function ()
|
function ()
|
||||||
bin.mpc.command("prev")
|
mpc:prev()
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Previous track",
|
description = "Previous track",
|
||||||
|
@ -11,7 +11,7 @@ return gears.table.join(
|
||||||
|
|
||||||
awful.key( {}, "XF86AudioPlay",
|
awful.key( {}, "XF86AudioPlay",
|
||||||
function ()
|
function ()
|
||||||
bin.mpc.command("toggle")
|
mpc:toggle()
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Play/Pause",
|
description = "Play/Pause",
|
||||||
|
@ -21,7 +21,7 @@ return gears.table.join(
|
||||||
|
|
||||||
awful.key( {}, "XF86AudioNext",
|
awful.key( {}, "XF86AudioNext",
|
||||||
function ()
|
function ()
|
||||||
bin.mpc.command("next")
|
mpc:next()
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Next track",
|
description = "Next track",
|
||||||
|
@ -31,7 +31,7 @@ return gears.table.join(
|
||||||
|
|
||||||
awful.key( {"Mod4"}, "XF86AudioRaiseVolume",
|
awful.key( {"Mod4"}, "XF86AudioRaiseVolume",
|
||||||
function ()
|
function ()
|
||||||
bin.mpc.command("vol +5")
|
mpc:volume_up()
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Volume up",
|
description = "Volume up",
|
||||||
|
@ -41,7 +41,7 @@ return gears.table.join(
|
||||||
|
|
||||||
awful.key( {"Mod4"}, "XF86AudioLowerVolume",
|
awful.key( {"Mod4"}, "XF86AudioLowerVolume",
|
||||||
function ()
|
function ()
|
||||||
bin.mpc.command("vol -5")
|
mpc:volume_down()
|
||||||
end,
|
end,
|
||||||
{
|
{
|
||||||
description = "Volume down",
|
description = "Volume down",
|
||||||
|
|
Loading…
Reference in New Issue