Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPRIS: click events not working #2131

Open
redxtech opened this issue Apr 21, 2023 · 3 comments
Open

MPRIS: click events not working #2131

redxtech opened this issue Apr 21, 2023 · 3 comments

Comments

@redxtech
Copy link

I've set my MPRIS module to run a custom script on middle click with this:

"on-middle-click": "~/.local/bin/script"
&
"on-middle-click": "sh ~/.local/bin/script"

but neither of them are calling the script.

is there something i'm doing wrong?

@duffydack
Copy link

duffydack commented Jul 7, 2023

Same here. I'm used to doing things with middle, right, scroll up/down, was nearly a dealbreaker until I found https://gitlab.com/somini/dotfiles/-/blob/master/bin/playerctl-waybar
Not perfect, but good enough for me.

@Rayzeq
Copy link

Rayzeq commented Dec 23, 2023

I read the source code and the doc is broken.
You should use on-click-middle and on-click-right instead of on-middle-click and on-right-click

@robertgzr
Copy link
Contributor

docs were fixed in #2560

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants