Repository navigation
Add mouse bindings for right third of status bar - #1272
Conversation
Default to play/volume.
pgaskin
left a comment
There was a problem hiding this comment.
Tested. Works as expected.
https://copr.fedorainfracloud.org/coprs/pgaskin/cmus-testing/build/6176496/
https://github.com/pgaskin/cmus/commits/001f1a4806e48c9f298e41d047e43d669c9475c8
https://nightly.link/pgaskin/rpms/actions/runs/5568630004
|
Thoughts, @flyingmutant? |
|
Thanks, will review later this week. |
61296c8 to
1bcb35d
Compare
gavtroy
left a comment
There was a problem hiding this comment.
Looks good with the minor caveat that documentation doesn't mention that "_right" means "the rightmost third of the bar", and I'm not sure why we pick 33% rather than 50%. But no big deal.
To make it more intuitive, it might be nice to change the default format_statusline to move the volume indication to the right of the bar (and maybe add the missing % symbol). For instance it could look like -

But the PR does do what it says on the tin.
|
I chose 33% since with 50%, I changed the volume by accident too frequently (especially since my mouse usually starts over the track list). Changing the default position of the volume indicator would probably be a good idea for another PR. |
Default to play/volume.