From 4294948cf1c70c50e938383c2c865d7ca455ac7e Mon Sep 17 00:00:00 2001 From: KarimAlaswad <102838480+KarimAlaswad@users.noreply.github.com> Date: Thu, 21 May 2026 17:24:47 +0300 Subject: [PATCH] Add XF86AudioPause media key mapping Some Bluetooth earbuds send alternating XF86AudioPlay/XF86AudioPause keycodes on the same physical press. Without a binding for XF86AudioPause, every other press is dropped, making playback toggle unreliable. --- resources/default-config.kdl | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/default-config.kdl b/resources/default-config.kdl index ccad1ac2..28b45cf7 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -383,6 +383,7 @@ binds { // Example media keys mapping using playerctl. // This will work with any MPRIS-enabled media player. XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl play-pause"; } + XF86AudioPause allow-when-locked=true { spawn-sh "playerctl play-pause"; } XF86AudioStop allow-when-locked=true { spawn-sh "playerctl stop"; } XF86AudioPrev allow-when-locked=true { spawn-sh "playerctl previous"; } XF86AudioNext allow-when-locked=true { spawn-sh "playerctl next"; }