🔧 Configure macOSBigSur

This commit is contained in:
ful1e5 2021-01-31 18:00:24 +05:30
parent ab188cf7d4
commit 73c57c7f45

View file

@ -11,56 +11,56 @@ URL = "https://github.com/ful1e5/apple_cursor"
# XCursor # XCursor
X_DELAY: int = 10 X_DELAY: int = 10
X_SIZES: List[Tuple[int, int]] = [(24, 24), (32, 32)] X_SIZES: List[Tuple[int, int]] = [
(22, 22),
(24, 24),
(28, 28),
(32, 32),
(40, 40),
(48, 48),
(56, 56),
(64, 64),
(72, 72),
(80, 80),
(88, 88),
(96, 96),
]
# Windows Cursor # Windows Cursor
WIN_DELAY = 3
CANVAS_SIZE = (32, 32) CANVAS_SIZE = (32, 32)
SIZE = (24, 24) SIZE = (24, 24)
WIN_DELAY = 3
X_CURSORS_CFG: Dict[str, Dict[str, int]] = { X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
# #
# Static # Static
# #
"all_scroll.png": {"xhot": 100, "yhot": 100}, "all-scroll.png": {"xhot": 100, "yhot": 100},
"bottom_left_corner.png": {"xhot": 100, "yhot": 100}, "bottom_left_corner.png": {"xhot": 100, "yhot": 100},
"fd_double_arrow.png": {"xhot": 100, "yhot": 100},
"top_right_corner.png": {"xhot": 100, "yhot": 100},
"bottom_right_corner.png": {"xhot": 100, "yhot": 100}, "bottom_right_corner.png": {"xhot": 100, "yhot": 100},
"bd_double_arrow.png": {"xhot": 100, "yhot": 100},
"top_left_corner.png": {"xhot": 100, "yhot": 100},
"bottom_tee.png": {"xhot": 141, "yhot": 99}, "bottom_tee.png": {"xhot": 141, "yhot": 99},
"center_ptr.png": {"xhot": 61, "yhot": 100}, "center_ptr.png": {"xhot": 61, "yhot": 100},
"circle.png": {"xhot": 47, "yhot": 39}, "circle.png": {"xhot": 47, "yhot": 39},
"crossed_circle.png": {"xhot": 47, "yhot": 39}, "crossed_circle.png": {"xhot": 47, "yhot": 39},
"dnd_no_drop.png": {"xhot": 47, "yhot": 39}, "dnd_no_drop.png": {"xhot": 47, "yhot": 39},
"context_menu.png": {"xhot": 61, "yhot": 58}, "context-menu.png": {"xhot": 61, "yhot": 58},
"copy.png": {"xhot": 47, "yhot": 39}, "copy.png": {"xhot": 47, "yhot": 39},
"dnd_copy.png": {"xhot": 47, "yhot": 39},
"cross.png": {"xhot": 100, "yhot": 100}, "cross.png": {"xhot": 100, "yhot": 100},
"tcross.png": {"xhot": 100, "yhot": 100},
"crosshair.png": {"xhot": 100, "yhot": 100}, "crosshair.png": {"xhot": 100, "yhot": 100},
"dotbox.png": {"xhot": 100, "yhot": 100}, "dotbox.png": {"xhot": 100, "yhot": 100},
"hand1.png": {"xhot": 94, "yhot": 105}, "hand1.png": {"xhot": 94, "yhot": 105},
"hand2.png": {"xhot": 66, "yhot": 34}, "hand2.png": {"xhot": 66, "yhot": 34},
"left_ptr.png": {"xhot": 68, "yhot": 41}, "left_ptr.png": {"xhot": 68, "yhot": 41},
"left_side.png": {"xhot": 100, "yhot": 100}, "left_side.png": {"xhot": 100, "yhot": 100},
"right_side.png": {"xhot": 100, "yhot": 100},
"left_tee.png": {"xhot": 100, "yhot": 58}, "left_tee.png": {"xhot": 100, "yhot": 58},
"link.png": {"xhot": 61, "yhot": 105}, "link.png": {"xhot": 61, "yhot": 105},
"dnd_link.png": {"xhot": 61, "yhot": 105},
"ll_angle.png": {"xhot": 141, "yhot": 58}, "ll_angle.png": {"xhot": 141, "yhot": 58},
"lr_angle.png": {"xhot": 141, "yhot": 138}, "lr_angle.png": {"xhot": 141, "yhot": 138},
"move.png": {"xhot": 80, "yhot": 106}, "move.png": {"xhot": 80, "yhot": 106},
"dnd_move.png": {"xhot": 80, "yhot": 106},
"dnd_none.png": {"xhot": 80, "yhot": 106},
"grabbing.png": {"xhot": 80, "yhot": 106},
"pointer_move.png": {"xhot": 80, "yhot": 106},
"pencil.png": {"xhot": 141, "yhot": 58}, "pencil.png": {"xhot": 141, "yhot": 58},
"plus.png": {"xhot": 100, "yhot": 100}, "plus.png": {"xhot": 100, "yhot": 100},
"question_arrow.png": {"xhot": 105, "yhot": 105}, "question_arrow.png": {"xhot": 105, "yhot": 105},
"dnd_ask.png": {"xhot": 105, "yhot": 105},
"right_ptr.png": {"xhot": 61, "yhot": 138}, "right_ptr.png": {"xhot": 61, "yhot": 138},
"right_tee.png": {"xhot": 100, "yhot": 138}, "right_tee.png": {"xhot": 100, "yhot": 138},
"sb_down_arrow.png": {"xhot": 133, "yhot": 99}, "sb_down_arrow.png": {"xhot": 133, "yhot": 99},
@ -70,16 +70,15 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
"sb_up_arrow.png": {"xhot": 68, "yhot": 99}, "sb_up_arrow.png": {"xhot": 68, "yhot": 99},
"sb_v_double_arrow.png": {"xhot": 100, "yhot": 100}, "sb_v_double_arrow.png": {"xhot": 100, "yhot": 100},
"top_side.png": {"xhot": 100, "yhot": 100}, "top_side.png": {"xhot": 100, "yhot": 100},
"bottom_side.png": {"xhot": 100, "yhot": 100},
"top_tee.png": {"xhot": 61, "yhot": 99}, "top_tee.png": {"xhot": 61, "yhot": 99},
"ul_angle.png": {"xhot": 61, "yhot": 65}, "ul_angle.png": {"xhot": 61, "yhot": 65},
"ur_angle.png": {"xhot": 61, "yhot": 138}, "ur_angle.png": {"xhot": 61, "yhot": 138},
"vertical_text.png": {"xhot": 100, "yhot": 102}, "vertical-text.png": {"xhot": 100, "yhot": 102},
"wayland_cursor.png": {"xhot": 100, "yhot": 100}, "wayland-cursor.png": {"xhot": 100, "yhot": 100},
"x_cursor.png": {"xhot": 100, "yhot": 100}, "X_cursor.png": {"xhot": 100, "yhot": 100},
"xterm.png": {"xhot": 97, "yhot": 97}, "xterm.png": {"xhot": 97, "yhot": 97},
"zoom_in.png": {"xhot": 76, "yhot": 78}, "zoom-in.png": {"xhot": 76, "yhot": 78},
"zoom_out.png": {"xhot": 76, "yhot": 78}, "zoom-out.png": {"xhot": 76, "yhot": 78},
# #
# Animated # Animated
# #
@ -95,15 +94,15 @@ WIN_CURSORS_CFG: Dict[str, Dict[str, str]] = {
"right_ptr.png": {"to": "Alternate", "position": "top_left"}, "right_ptr.png": {"to": "Alternate", "position": "top_left"},
"cross.png": {"to": "Cross"}, "cross.png": {"to": "Cross"},
"left_ptr.png": {"to": "Default", "position": "top_left"}, "left_ptr.png": {"to": "Default", "position": "top_left"},
"fd_double_arrow.png": {"to": "Diagonal_1"}, "bottom_left_corner.png": {"to": "Diagonal_1"},
"bd_double_arrow.png": {"to": "Diagonal_2"}, "bottom_right_corner.png": {"to": "Diagonal_2"},
"pencil.png": {"to": "Handwriting"}, "pencil.png": {"to": "Handwriting"},
"question_arrow.png": {"to": "Help", "position.png": "top_left"}, "question_arrow.png": {"to": "Help", "position.png": "top_left"},
"sb_h_double_arrow.png": {"to": "Horizontal"}, "sb_h_double_arrow.png": {"to": "Horizontal"},
"xterm.png": {"to": "IBeam", "position": "top_left"}, "xterm.png": {"to": "IBeam", "position": "top_left"},
"hand2.png": {"to": "Link", "position": "top_left"}, "hand2.png": {"to": "Link", "position": "top_left"},
"hand1.png": {"to": "Move"}, "hand1.png": {"to": "Move"},
"circle.png": {"to": "Unavailiable", "position": "top_left", "size": (32,32)}, "circle.png": {"to": "Unavailiable", "position": "top_left", "size": (32, 32)},
"sb_v_double_arrow.png": {"to": "Vertical"}, "sb_v_double_arrow.png": {"to": "Vertical"},
# #
# Animated # Animated