From 18985669ee8468a38dc78024eb4fa000a9a412fe Mon Sep 17 00:00:00 2001 From: Shinyzenith Date: Sun, 6 Mar 2022 18:25:27 +0530 Subject: [PATCH] [fix] Switch KEY_PLAY to KEY_PLAYPAUSE. --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 1407166..107547a 100644 --- a/src/config.rs +++ b/src/config.rs @@ -149,7 +149,7 @@ pub fn parse_contents(contents: String) -> Result, Error> { ("xf86monbrightnessup", evdev::Key::KEY_BRIGHTNESSUP), ("brightnessdown", evdev::Key::KEY_BRIGHTNESSDOWN), ("xf86monbrightnessdown", evdev::Key::KEY_BRIGHTNESSDOWN), - ("xf86audioplay", evdev::Key::KEY_PLAY), + ("xf86audioplay", evdev::Key::KEY_PLAYPAUSE), ("xf86audioprev", evdev::Key::KEY_PREVIOUSSONG), ("xf86audionext", evdev::Key::KEY_NEXTSONG), ("xf86audiostop", evdev::Key::KEY_STOP),