spotify-player icon indicating copy to clipboard operation
spotify-player copied to clipboard

add volume modification by mouse scrolling

Open VladWero08 opened this issue 1 year ago • 1 comments

Resolves #446

In this PR we have added two more mouse event listeners, for scroll up and for scroll down of the mouse's wheel. This event listeners should only work if the keymap.toml has the following two entries:

[[keymaps]]
command = "VolumeUp"
key_sequence = "m s u"

[[keymaps]]
command = "VolumeDown"
key_sequence = "m s d"

where m s u stands for MouseScrollUp and m s d for MouseScrollDown.

Instead of mixing the key_sequence configuration with the mouse movements, we think that it would be useful to have a separate configuration for mouse events.

VladWero08 avatar Nov 10 '24 15:11 VladWero08

@VladWero08 sorry for the late reply. Can you merge master and fix the CI?

aome510 avatar Nov 30 '24 15:11 aome510