From e71b23738fb22f15aa0e469ca51eb6749fbef176 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Tue, 2 Feb 2021 17:19:11 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Linear=20cursor=20transations?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- builder/applbuild/constants.py | 66 +++++++++++++++++----------------- svg/static/left_ptr.svg | 8 ++--- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/builder/applbuild/constants.py b/builder/applbuild/constants.py index 16671aa..6216d42 100644 --- a/builder/applbuild/constants.py +++ b/builder/applbuild/constants.py @@ -10,7 +10,7 @@ AUTHOR = "Kaiz Khatri" URL = "https://github.com/ful1e5/apple_cursor" # XCursor -X_DELAY: int = 10 +X_DELAY: int = 5 X_SIZES: List[Tuple[int, int]] = [ (22, 22), (24, 24), @@ -39,51 +39,51 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = { "all-scroll.png": {"xhot": 100, "yhot": 100}, "bottom_left_corner.png": {"xhot": 100, "yhot": 100}, "bottom_right_corner.png": {"xhot": 100, "yhot": 100}, - "bottom_tee.png": {"xhot": 141, "yhot": 99}, - "center_ptr.png": {"xhot": 61, "yhot": 100}, - "crossed_circle.png": {"xhot": 47, "yhot": 39}, - "dnd_no_drop.png": {"xhot": 47, "yhot": 39}, - "context-menu.png": {"xhot": 61, "yhot": 58}, - "copy.png": {"xhot": 47, "yhot": 39}, + "bottom_tee.png": {"xhot": 98, "yhot": 137}, + "center_ptr.png": {"xhot": 100, "yhot": 70}, + "context-menu.png": {"xhot": 43, "yhot": 61}, + "copy.png": {"xhot": 67, "yhot": 46}, "cross.png": {"xhot": 100, "yhot": 100}, + "crossed_circle.png": {"xhot": 67, "yhot": 46}, "crosshair.png": {"xhot": 100, "yhot": 100}, + "dnd_no_drop.png": {"xhot": 100, "yhot": 100}, "dotbox.png": {"xhot": 100, "yhot": 100}, - "hand1.png": {"xhot": 94, "yhot": 105}, - "hand2.png": {"xhot": 66, "yhot": 34}, - "left_ptr.png": {"xhot": 68, "yhot": 41}, + "hand1.png": {"xhot": 94, "yhot": 72}, + "hand2.png": {"xhot": 67, "yhot": 46}, + "left_ptr.png": {"xhot": 69, "yhot": 56}, "left_side.png": {"xhot": 100, "yhot": 100}, - "left_tee.png": {"xhot": 100, "yhot": 58}, - "link.png": {"xhot": 61, "yhot": 105}, - "ll_angle.png": {"xhot": 141, "yhot": 58}, - "lr_angle.png": {"xhot": 141, "yhot": 138}, - "move.png": {"xhot": 80, "yhot": 106}, - "pencil.png": {"xhot": 141, "yhot": 58}, - "plus.png": {"xhot": 100, "yhot": 100}, - "question_arrow.png": {"xhot": 105, "yhot": 105}, - "right_ptr.png": {"xhot": 61, "yhot": 138}, - "right_tee.png": {"xhot": 100, "yhot": 138}, - "sb_down_arrow.png": {"xhot": 133, "yhot": 99}, + "left_tee.png": {"xhot": 100, "yhot": 100}, + "link.png": {"xhot": 120, "yhot": 55}, + "ll_angle.png": {"xhot": 100, "yhot": 100}, + "lr_angle.png": {"xhot": 100, "yhot": 100}, + "move.png": {"xhot": 80, "yhot": 71}, + "pencil.png": {"xhot": 81, "yhot": 117}, + "plus.png": {"xhot": 98, "yhot": 100}, + "question_arrow.png": {"xhot": 99, "yhot": 99}, + "right_ptr.png": {"xhot": 136, "yhot": 66}, + "right_tee.png": {"xhot": 98, "yhot": 99}, + "sb_down_arrow.png": {"xhot": 100, "yhot": 100}, "sb_h_double_arrow.png": {"xhot": 100, "yhot": 100}, - "sb_left_arrow.png": {"xhot": 100, "yhot": 68}, - "sb_right_arrow.png": {"xhot": 100, "yhot": 138}, - "sb_up_arrow.png": {"xhot": 68, "yhot": 99}, + "sb_left_arrow.png": {"xhot": 100, "yhot": 100}, + "sb_right_arrow.png": {"xhot": 100, "yhot": 100}, + "sb_up_arrow.png": {"xhot": 100, "yhot": 100}, "sb_v_double_arrow.png": {"xhot": 100, "yhot": 100}, "top_side.png": {"xhot": 100, "yhot": 100}, - "top_tee.png": {"xhot": 61, "yhot": 99}, - "ul_angle.png": {"xhot": 61, "yhot": 65}, - "ur_angle.png": {"xhot": 61, "yhot": 138}, - "vertical-text.png": {"xhot": 100, "yhot": 102}, + "top_tee.png": {"xhot": 100, "yhot": 100}, + "ul_angle.png": {"xhot": 100, "yhot": 100}, + "ur_angle.png": {"xhot": 100, "yhot": 100}, + "vertical-text.png": {"xhot": 96, "yhot": 99}, "wayland-cursor.png": {"xhot": 100, "yhot": 100}, "X_cursor.png": {"xhot": 100, "yhot": 100}, - "xterm.png": {"xhot": 97, "yhot": 97}, - "zoom-in.png": {"xhot": 76, "yhot": 78}, - "zoom-out.png": {"xhot": 76, "yhot": 78}, + "xterm.png": {"xhot": 100, "yhot": 104}, + "zoom-in.png": {"xhot": 100, "yhot": 100}, + "zoom-out.png": {"xhot": 100, "yhot": 100}, # # Animated # # Note: Animated cursors not need any extension & frames number - "wait": {"xhot": 104, "yhot": 105}, - "left_ptr_watch": {"xhot": 104, "yhot": 105}, + "wait": {"xhot": 100, "yhot": 100}, + "left_ptr_watch": {"xhot": 67, "yhot": 46}, } WIN_CURSORS_CFG: Dict[str, Dict[str, str]] = { diff --git a/svg/static/left_ptr.svg b/svg/static/left_ptr.svg index 4556993..b2d7376 100644 --- a/svg/static/left_ptr.svg +++ b/svg/static/left_ptr.svg @@ -1,10 +1,10 @@ - - - - \ No newline at end of file