diff --git a/hm/desktop/cursor/default.nix b/hm/desktop/cursor/default.nix index 445028a..3517c9d 100644 --- a/hm/desktop/cursor/default.nix +++ b/hm/desktop/cursor/default.nix @@ -21,22 +21,47 @@ let runHook preInstall mkdir -p $out/share/icons mv Menda-Cursor $out/share/icons/menda-cursor + + # Add aliases for cursor missing from phinger + cd $out/share/icons/menda-cursor/cursors + ln -s default arrow + ln -s size_bdiag bd_double_arrow + ln -s crosshair cross_reverse + ln -s crosshair diamond_cross + ln -s help dnd-help + ln -s down-arrow down + ln -s size_hor ew-resize + ln -s size_fdiag fd_double_arrow + ln -s dnd-move grab + ln -s dnd-move grabbing + ln -s left-arrow left + ln -s size_bdiag ne-resize + ln -s size_bdiag nesw-resize + ln -s size_ver ns-resize + ln -s size_fdiag nw-resize + ln -s pencil pen + ln -s color-picker men + ln -s right-arrow right + ln -s size_fdiag se-resize + ln -s size_bdiag sw-resize + ln -s crosshair target + ln -s crosshair tcross + ln -s default top_left_arrow + ln -s up-arrow up + # Missing: kill, middle_finger, rock_and_roll, skull, wayland-cursor, x-cursor (not missing much) + runHook postInstall ''; }; - # Phinger is also not a bad cursor theme, more geometric, has dark/light theme, - # but overall same amount of cursor and not very green innit. - - # That being said, it doesn't seem that cursor change immediately on apply, - # so my idea of dark cursor on light theme and vice-versa might not fly anyways. + # Phinger is also not a bad cursor theme, more geometric, has dark/light theme, more cursors (resize ones). + # Could be nice to redo Menda with it as a base to get its benefits. in { config = { - home.pointerCursor = { + stylix.cursor = { name = "menda-cursor"; package = menda; size = 32; - gtk.enable = true; }; }; }