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

Setting custom mouse cursor in miracle-wm #230

Open
mecattaf opened this issue Sep 5, 2024 · 1 comment
Open

Setting custom mouse cursor in miracle-wm #230

mecattaf opened this issue Sep 5, 2024 · 1 comment
Labels
feature New feature or request

Comments

@mecattaf
Copy link

mecattaf commented Sep 5, 2024

Currently in sway I have the following in my config to customize the mouse cursor:

seat seat0 xcursor_theme Bibata-Modern-Classic 24
seat seat0 fallback true

set $gnome-schema org.gnome.desktop.interface
exec_always  {
        gsettings set $gnome-schema cursor-theme 'Bibata-Modern-Classic'
      	gsettings set $gnome-schema cursor-size '24'
}

Sway actually relies on both xcursor and gsettings for the cursor control.
In Hyprland they improved this by introducing hyprcursor, a more efficient cursor format. From their docs:
"Notable advantages over XCursor

  • Automatic scaling according to a configurable, per-cursor method.
  • Support for SVG cursors
  • Way more space-efficient. As an example, Bibata-XCursor is 44.1MB, while it's 6.6MB in hyprcursor."

Whether or not you want to use it and its associated hyprcursor-util please support xcursor and gsettings cursor in miracle-wm.

@mattkae mattkae added the feature New feature or request label Nov 1, 2024
@mattkae
Copy link
Collaborator

mattkae commented Nov 1, 2024

I believe that Mir has support for CursorThemes, which would be what we want here. However, I don't think they are dynamic, which is what I would want. Still, it is worthwhile adding to miracle :)

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

No branches or pull requests

2 participants