From 58b2df69565de46d65beaa1ea8fdbbf0e3308aa6 Mon Sep 17 00:00:00 2001 From: Mark Date: Sun, 24 Apr 2022 12:54:20 -0700 Subject: [PATCH] Updated keybinds --- binds/system/mpd.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/binds/system/mpd.lua b/binds/system/mpd.lua index 476af5a..348370e 100755 --- a/binds/system/mpd.lua +++ b/binds/system/mpd.lua @@ -1,7 +1,7 @@ return gears.table.join( awful.key( {}, "XF86AudioPrev", function () - bin.mpc.command("prev") + mpc:prev() end, { description = "Previous track", @@ -11,7 +11,7 @@ return gears.table.join( awful.key( {}, "XF86AudioPlay", function () - bin.mpc.command("toggle") + mpc:toggle() end, { description = "Play/Pause", @@ -21,7 +21,7 @@ return gears.table.join( awful.key( {}, "XF86AudioNext", function () - bin.mpc.command("next") + mpc:next() end, { description = "Next track", @@ -31,7 +31,7 @@ return gears.table.join( awful.key( {"Mod4"}, "XF86AudioRaiseVolume", function () - bin.mpc.command("vol +5") + mpc:volume_up() end, { description = "Volume up", @@ -41,7 +41,7 @@ return gears.table.join( awful.key( {"Mod4"}, "XF86AudioLowerVolume", function () - bin.mpc.command("vol -5") + mpc:volume_down() end, { description = "Volume down",