🔗 Implememnt KDE Breeze cursors

This commit is contained in:
ful1e5
2021-06-11 16:28:48 +05:30
parent 6f4c3cbc27
commit e62aafcecf
2 changed files with 25 additions and 26 deletions
+2
View File
@@ -14,6 +14,8 @@ X_DELAY: int = 10
# Windows Cursor # Windows Cursor
WIN_DELAY = 1 WIN_DELAY = 1
# TODO: add coordinates
X_CURSORS_CFG: Dict[str, Dict[str, int]] = { X_CURSORS_CFG: Dict[str, Dict[str, int]] = {
########## ##########
# Static # # Static #
+23 -26
View File
@@ -20,28 +20,12 @@ def add_missing_xcursor(directory) -> None:
"src": "bd_double_arrow", "src": "bd_double_arrow",
"links": [ "links": [
"c7088f0f3e6c8088236ef8e1e3e70000", "c7088f0f3e6c8088236ef8e1e3e70000",
"nw-resize",
"nwse-resize", "nwse-resize",
"size_fdiag", "size_fdiag",
],
},
{
"src": "bottom_left_corner",
"links": [
"sw-resize",
],
},
{
"src": "bottom_right_corner",
"links": [
"se-resize", "se-resize",
], ],
}, },
{
"src": "bottom_side",
"links": [
"s-resize",
],
},
{ {
"src": "copy", "src": "copy",
"links": [ "links": [
@@ -64,17 +48,29 @@ def add_missing_xcursor(directory) -> None:
{ {
"src": "crossed_circle", "src": "crossed_circle",
"links": [ "links": [
"circle",
"03b6e0fcb3499374a867c041f52298f0",
"forbidden", "forbidden",
"not-allowed", "not-allowed",
], ],
}, },
{"src": "dnd_no_drop", "links": ["no-drop"]}, {
"src": "dnd_no_drop",
"links": [
"03b6e0fcb3499374a867c041f52298f0",
"circle",
"dnd-no-drop",
"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", "src": "fd_double_arrow",
"links": ["fcf1c3c7cd4491d801f1e1c78f100000", "nesw-resize", "size_bdiag"], "links": [
"fcf1c3c7cd4491d801f1e1c78f100000",
"ne-resize",
"nesw-resize",
"sw-resize",
"size_bdiag",
],
}, },
{"src": "hand1", "links": ["grab", "openhand"]}, {"src": "hand1", "links": ["grab", "openhand"]},
{ {
@@ -102,7 +98,7 @@ def add_missing_xcursor(directory) -> None:
"progress", "progress",
], ],
}, },
{"src": "left_side", "links": ["w-resize"]}, {"src": "left_side", "links": []},
{ {
"src": "link", "src": "link",
"links": [ "links": [
@@ -140,7 +136,6 @@ 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,11 +143,13 @@ def add_missing_xcursor(directory) -> None:
"028006030e0e7ebffc7f7070c0600140", "028006030e0e7ebffc7f7070c0600140",
"14fef782d02440884392942c1120523", "14fef782d02440884392942c1120523",
"col-resize", "col-resize",
"e-resize",
"ew-resize", "ew-resize",
"h_double_arrow", "h_double_arrow",
"size-hor", "size-hor",
"size_hor", "size_hor",
"split_h", "split_h",
"w-resize",
], ],
}, },
{"src": "sb_left_arrow", "links": ["left-arrow"]}, {"src": "sb_left_arrow", "links": ["left-arrow"]},
@@ -164,17 +161,17 @@ def add_missing_xcursor(directory) -> None:
"00008160000006810000408080010102", "00008160000006810000408080010102",
"2870a09082c103050810ffdffffe0204", "2870a09082c103050810ffdffffe0204",
"double_arrow", "double_arrow",
"n-resize",
"ns-resize", "ns-resize",
"row-resize", "row-resize",
"size-ver", "size-ver",
"size_ver", "size_ver",
"s-resize",
"split_v", "split_v",
"v_double_arrow", "v_double_arrow",
], ],
}, },
{"src": "top_left_corner", "links": ["nw-resize"]}, # TODO remove empty
{"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"]},