miracle-wm-org / miracle-wm

Miracle is a Wayland tiling window manager built on Mir
https://miracle-wm.org
GNU General Public License v3.0
409 stars 14 forks source link

Setting custom mouse cursor in miracle-wm #230

Open mecattaf opened 2 months ago

mecattaf commented 2 months ago

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

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

mattkae commented 1 week ago

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 :)