diff --git a/builder/bxbuild/constants.py b/builder/bxbuild/constants.py index d48b24d..0c696c3 100644 --- a/builder/bxbuild/constants.py +++ b/builder/bxbuild/constants.py @@ -18,6 +18,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = { ########## # Static # ########## + "all-scroll.png": {"xhot": 100, "yhot": 100}, "bd_double_arrow.png": {"xhot": 100, "yhot": 100}, "bottom_left_corner.png": {"xhot": 100, "yhot": 100}, "bottom_right_corner.png": {"xhot": 100, "yhot": 100}, @@ -76,7 +77,7 @@ WIN_CURSORS_CFG: Dict[str, Dict[str, str]] = { "bottom_right_corner.png": {"to": "Diagonal_1"}, "bottom_left_corner.png": {"to": "Diagonal_2"}, "pencil.png": {"to": "Handwriting"}, - "question_arrow.png": {"to": "Help", "position.png": "top_left"}, + "question_arrow.png": {"to": "Help", "position": "top_left"}, "sb_h_double_arrow.png": {"to": "Horizontal"}, "xterm.png": {"to": "IBeam", "position": "top_left"}, "hand2.png": {"to": "Link", "position": "top_left"}, diff --git a/builder/bxbuild/symlinks.py b/builder/bxbuild/symlinks.py index 84c8f40..e7a7ba5 100644 --- a/builder/bxbuild/symlinks.py +++ b/builder/bxbuild/symlinks.py @@ -16,28 +16,30 @@ def add_missing_xcursor(directory) -> None: symlinks: List[Dict[str, Union[str, List[str]]]] = [ {"src": "all-scroll", "links": ["fleur", "size_all"]}, + { + "src": "bd_double_arrow", + "links": [ + "c7088f0f3e6c8088236ef8e1e3e70000", + "nwse-resize", + "size_fdiag", + ], + }, { "src": "bottom_left_corner", "links": [ - "fcf1c3c7cd4491d801f1e1c78f100000", "sw-resize", - "ne-resize", - "size_bdiag", - "nesw-resize", - "top_right_corner", - "fd_double_arrow", ], }, { "src": "bottom_right_corner", "links": [ - "c7088f0f3e6c8088236ef8e1e3e70000", - "top_left_corner", "se-resize", - "nw-resize", - "size_fdiag", - "nwse-resize", - "bd_double_arrow", + ], + }, + { + "src": "bottom_side", + "links": [ + "s-resize", ], }, { @@ -60,18 +62,20 @@ def add_missing_xcursor(directory) -> None: ], }, { - "src": "dnd_no_drop", + "src": "crossed_circle", "links": [ - "no-drop", - # crossed_circle symlinks - "crossed_circle", - "03b6e0fcb3499374a867c041f52298f0", - "not-allowed", - "forbidden", "circle", + "03b6e0fcb3499374a867c041f52298f0", + "forbidden", + "not-allowed", ], }, + {"src": "dnd_no_drop", "links": ["no-drop"]}, {"src": "dotbox", "links": ["dot_box_mask", "draped_box", "icon", "target"]}, + { + "src": "fd_double_arrow", + "links": ["fcf1c3c7cd4491d801f1e1c78f100000", "nesw-resize", "size_bdiag"], + }, {"src": "hand1", "links": ["grab", "openhand"]}, { "src": "hand2", @@ -87,7 +91,6 @@ def add_missing_xcursor(directory) -> None: "links": [ "arrow", "default", - "center_ptr", ], }, { @@ -99,6 +102,7 @@ def add_missing_xcursor(directory) -> None: "progress", ], }, + {"src": "left_side", "links": ["w-resize"]}, { "src": "link", "links": [ @@ -136,6 +140,7 @@ def add_missing_xcursor(directory) -> None: ], }, {"src": "right_ptr", "links": ["draft_large", "draft_small"]}, # required + {"src": "right_side", "links": ["e-resize"]}, {"src": "sb_down_arrow", "links": ["down-arrow"]}, { "src": "sb_h_double_arrow", @@ -148,10 +153,6 @@ def add_missing_xcursor(directory) -> None: "size-hor", "size_hor", "split_h", - "left_side", - "w-resize", - "right_side", - "e-resize", ], }, {"src": "sb_left_arrow", "links": ["left-arrow"]}, @@ -169,12 +170,11 @@ def add_missing_xcursor(directory) -> None: "size_ver", "split_v", "v_double_arrow", - "top_side", - "s-resize", - "n-resize", - "bottom_side", ], }, + {"src": "top_left_corner", "links": ["nw-resize"]}, + {"src": "top_right_corner", "links": ["ne-resize"]}, + {"src": "top_side", "links": ["n-resize"]}, {"src": "wait", "links": ["watch"]}, {"src": "X_cursor", "links": ["x-cursor"]}, {"src": "xterm", "links": ["ibeam", "text"]},