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.
This commit is contained in:
KarimAlaswad
2026-05-21 17:24:47 +03:00
committed by Ivan Molodetskikh
parent cd5ac3e5e0
commit 4294948cf1
+1
View File
@@ -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"; }