🔗 Symblinks generated

This commit is contained in:
ful1e5
2021-06-11 16:01:10 +05:30
parent 25e3d307cb
commit 6f4c3cbc27
2 changed files with 30 additions and 29 deletions
+2 -1
View File
@@ -18,6 +18,7 @@ X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
########## ##########
# Static # # Static #
########## ##########
"all-scroll.png": {"xhot": 100, "yhot": 100},
"bd_double_arrow.png": {"xhot": 100, "yhot": 100}, "bd_double_arrow.png": {"xhot": 100, "yhot": 100},
"bottom_left_corner.png": {"xhot": 100, "yhot": 100}, "bottom_left_corner.png": {"xhot": 100, "yhot": 100},
"bottom_right_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_right_corner.png": {"to": "Diagonal_1"},
"bottom_left_corner.png": {"to": "Diagonal_2"}, "bottom_left_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": "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"},
+28 -28
View File
@@ -16,28 +16,30 @@ def add_missing_xcursor(directory) -> None:
symlinks: List[Dict[str, Union[str, List[str]]]] = [ symlinks: List[Dict[str, Union[str, List[str]]]] = [
{"src": "all-scroll", "links": ["fleur", "size_all"]}, {"src": "all-scroll", "links": ["fleur", "size_all"]},
{
"src": "bd_double_arrow",
"links": [
"c7088f0f3e6c8088236ef8e1e3e70000",
"nwse-resize",
"size_fdiag",
],
},
{ {
"src": "bottom_left_corner", "src": "bottom_left_corner",
"links": [ "links": [
"fcf1c3c7cd4491d801f1e1c78f100000",
"sw-resize", "sw-resize",
"ne-resize",
"size_bdiag",
"nesw-resize",
"top_right_corner",
"fd_double_arrow",
], ],
}, },
{ {
"src": "bottom_right_corner", "src": "bottom_right_corner",
"links": [ "links": [
"c7088f0f3e6c8088236ef8e1e3e70000",
"top_left_corner",
"se-resize", "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": [ "links": [
"no-drop",
# crossed_circle symlinks
"crossed_circle",
"03b6e0fcb3499374a867c041f52298f0",
"not-allowed",
"forbidden",
"circle", "circle",
"03b6e0fcb3499374a867c041f52298f0",
"forbidden",
"not-allowed",
], ],
}, },
{"src": "dnd_no_drop", "links": ["no-drop"]},
{"src": "dotbox", "links": ["dot_box_mask", "draped_box", "icon", "target"]}, {"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": "hand1", "links": ["grab", "openhand"]},
{ {
"src": "hand2", "src": "hand2",
@@ -87,7 +91,6 @@ def add_missing_xcursor(directory) -> None:
"links": [ "links": [
"arrow", "arrow",
"default", "default",
"center_ptr",
], ],
}, },
{ {
@@ -99,6 +102,7 @@ def add_missing_xcursor(directory) -> None:
"progress", "progress",
], ],
}, },
{"src": "left_side", "links": ["w-resize"]},
{ {
"src": "link", "src": "link",
"links": [ "links": [
@@ -136,6 +140,7 @@ def add_missing_xcursor(directory) -> None:
], ],
}, },
{"src": "right_ptr", "links": ["draft_large", "draft_small"]}, # required {"src": "right_ptr", "links": ["draft_large", "draft_small"]}, # required
{"src": "right_side", "links": ["e-resize"]},
{"src": "sb_down_arrow", "links": ["down-arrow"]}, {"src": "sb_down_arrow", "links": ["down-arrow"]},
{ {
"src": "sb_h_double_arrow", "src": "sb_h_double_arrow",
@@ -148,10 +153,6 @@ def add_missing_xcursor(directory) -> None:
"size-hor", "size-hor",
"size_hor", "size_hor",
"split_h", "split_h",
"left_side",
"w-resize",
"right_side",
"e-resize",
], ],
}, },
{"src": "sb_left_arrow", "links": ["left-arrow"]}, {"src": "sb_left_arrow", "links": ["left-arrow"]},
@@ -169,12 +170,11 @@ def add_missing_xcursor(directory) -> None:
"size_ver", "size_ver",
"split_v", "split_v",
"v_double_arrow", "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": "wait", "links": ["watch"]},
{"src": "X_cursor", "links": ["x-cursor"]}, {"src": "X_cursor", "links": ["x-cursor"]},
{"src": "xterm", "links": ["ibeam", "text"]}, {"src": "xterm", "links": ["ibeam", "text"]},