rather than using hacky methods like xtodo or ... use mpv own API/ABI to pause and, minimize mpv.
Add to input.conf:
b script-binding minimize-window
mpv wayland Boss-key is released under version 3 or later of the GPL, the GNU General Public License.
See license.txt.
The author of mpv wayland Boss-key:
- Copyright (C) 2023-2024 Mohammadreza Hendiani
<[email protected]>