ful1e5 / Bibata_Cursor

Open source, compact, and material designed cursor set.
https://www.bibata.live
GNU General Public License v3.0
2.01k stars 71 forks source link

Left-handed cursors #112

Open unclechu opened 2 years ago

unclechu commented 2 years ago

I couldn’t find support for this. It could be something like a Make flag for instance. In this case most of the cursors (except window resizing ones) would be just horizontally flipped (together with their clicking points). The special treatment is needed only for the question mark sign, and maybe for crossed sign.

unclechu commented 2 years ago

Here I made my own hacky patch for the left-handed cursors: https://github.com/unclechu/nixos-config/commit/a8b44c5e3c8d541946e45aaf56f70806cc041de8

Short recap of what I did:

  1. Added a list of images that has to be horizontally flipped to builder/src/constants.py taking keys of X_CURSORS_CFG dictionary as a source
  2. Patched X_CURSORS_CFG dictionary in that file by taking xhot and subtracting it from the width of the image (so that when the image is flipped the X-axis of the clicking dot is on the right place)
  3. During the build phase I horizontally flipped all of the images listed in builder/src/constants.py file (the list I added above) using ImageMagick library (convert -flop file.png file.png)

Maybe it can help somehow to implement this as a feature for this cursor pack.

ful1e5 commented 1 year ago

This issue has been open for a while. I've been tidying up the repository and improving package distribution. Now, I'm thinking about working on this request if more people show interest.

metaphys commented 9 months ago

Hi, I would also be interested in this...

ful1e5 commented 8 months ago

I just started working on this feature, and it will soon be available in the https://bibata.live. Thanks for your patience.

ful1e5 commented 8 months ago

@unclechu @metaphys This feature request is available on https://bibata.live, supported from v1.0.1 on-wards. I will soon merge the configuration into this repository.

unclechu commented 8 months ago

@ful1e5 My whole system configuration build (including mouse cursors) is automated and incremental, the configuration is just a Git repo. If I need to depend on something (like on this repo for the mouse cursor) I just link to the repo directly, picking some commit and the rest is automatic (e.g. applying patches to the sources, building cursors, setting in the system those cursor as default ones, etc). Going to a website, picking some settings, downloading an archive, extracting it somewhere... It’s all manual work and basically incompatible with the workflow I have.

I will soon merge the configuration into this repository.

I assume it will be available in this repo later?

ful1e5 commented 8 months ago

I assume it will be available in this repo later?

Yes, I'm working on it.

metaphys commented 7 months ago

hi, thanks for your work on this, not so many cursor offer left handed version! it seems to me that all the hand cursor are still in right hand version, or did I got something wrong?

ful1e5 commented 7 months ago

@metaphys Thanks for bringing this to my attention! I'll redesign the hand cursors to ensure they are available for right hands. The updated cursor will be included in the next release.