breaking-change: partitioned configs into multiple files

This commit is contained in:
Abdulkaiz Khatri 2024-06-13 19:32:05 +05:30
parent afb25d6e9e
commit 4460d9118d
9 changed files with 1616 additions and 23 deletions

View file

@ -8,15 +8,17 @@ error() (
"$@" 2> >(sed $'s,.*,\e[31m&\e[m,' >&2) "$@" 2> >(sed $'s,.*,\e[31m&\e[m,' >&2)
) )
get_config_file() { get_config_path() {
local key="${1}" local key="${1}"
local cfg_file="build.toml" local cfg_path="configs"
if [[ $key == *"Right"* ]]; then if [[ $key == *"Right"* ]]; then
cfg_file="build.right.toml" cfg_path="${cfg_path}/right"
else
cfg_path="${cfg_path}/normal"
fi fi
echo $cfg_file echo $cfg_path
} }
with_version() { with_version() {
@ -30,18 +32,18 @@ if ! type -p ctgen >/dev/null; then
fi fi
declare -A names declare -A names
names["Bibata-Modern-Amber"]=$(with_version "Yellowish and rounded edge Bibata cursors") names["Bibata-Modern-Amber"]=$(with_version "Yellowish and rounded edge Bibata")
names["Bibata-Modern-Amber-Right"]=$(with_version "Yellowish and rounded edge right-hand Bibata cursors") names["Bibata-Modern-Amber-Right"]=$(with_version "Yellowish and rounded edge right-hand Bibata")
names["Bibata-Modern-Classic"]=$(with_version "Black and rounded edge Bibata cursors") names["Bibata-Modern-Classic"]=$(with_version "Black and rounded edge Bibata")
names["Bibata-Modern-Classic-Right"]=$(with_version "Black and rounded edge right-hand Bibata cursors") names["Bibata-Modern-Classic-Right"]=$(with_version "Black and rounded edge right-hand Bibata")
names["Bibata-Modern-Ice"]=$(with_version "White and rounded edge Bibata cursors") names["Bibata-Modern-Ice"]=$(with_version "White and rounded edge Bibata")
names["Bibata-Modern-Ice-Right"]=$(with_version "White and rounded edge right-hand Bibata cursors") names["Bibata-Modern-Ice-Right"]=$(with_version "White and rounded edge right-hand Bibata")
names["Bibata-Original-Amber"]=$(with_version "Yellowish and sharp edge Bibata cursors") names["Bibata-Original-Amber"]=$(with_version "Yellowish and sharp edge Bibata")
names["Bibata-Original-Amber-Right"]=$(with_version "Yellowish and sharp edge right-hand Bibata cursors") names["Bibata-Original-Amber-Right"]=$(with_version "Yellowish and sharp edge right-hand Bibata")
names["Bibata-Original-Classic"]=$(with_version "Black and sharp edge Bibata cursors") names["Bibata-Original-Classic"]=$(with_version "Black and sharp edge Bibata")
names["Bibata-Original-Classic-Right"]=$(with_version "Black and sharp edge right-hand Bibata cursors") names["Bibata-Original-Classic-Right"]=$(with_version "Black and sharp edge right-hand Bibata")
names["Bibata-Original-Ice"]=$(with_version "White and sharp edge Bibata cursors") names["Bibata-Original-Ice"]=$(with_version "White and sharp edge Bibata")
names["Bibata-Original-Ice-Right"]=$(with_version "White and sharp edge right-hand Bibata cursors") names["Bibata-Original-Ice-Right"]=$(with_version "White and sharp edge right-hand Bibata")
# Cleanup old builds # Cleanup old builds
rm -rf themes bin rm -rf themes bin
@ -49,9 +51,9 @@ rm -rf themes bin
# Building Bibata XCursor binaries # Building Bibata XCursor binaries
for key in "${!names[@]}"; do for key in "${!names[@]}"; do
comment="${names[$key]}" comment="${names[$key]}"
cfg=$(get_config_file key) cfg_path=$(get_config_path "$key")
ctgen "$cfg" -p x11 -d "bitmaps/$key" -n "$key" -c "$comment" & ctgen "$cfg_path/x.build.toml" -p x11 -d "bitmaps/$key" -n "$key" -c "$comment XCursors" &
PID=$! PID=$!
wait $PID wait $PID
done done
@ -59,12 +61,11 @@ done
# Building Bibata Windows binaries # Building Bibata Windows binaries
for key in "${!names[@]}"; do for key in "${!names[@]}"; do
comment="${names[$key]}" comment="${names[$key]}"
cfg=$(get_config_file key) cfg_path=$(get_config_path "$key")
ctgen "$cfg" -p windows -s 16 -d "bitmaps/$key" -n "$key-Small" -c "$comment" & ctgen "$cfg_path/win_rg.build.toml" -d "bitmaps/$key" -n "$key-Regular" -c "$comment Windows Cursors" &
ctgen "$cfg" -p windows -s 24 -d "bitmaps/$key" -n "$key-Regular" -c "$comment" & ctgen "$cfg_path/win_lg.build.toml" -d "bitmaps/$key" -n "$key-Large" -c "$comment Windows Cursors" &
ctgen "$cfg" -p windows -s 32 -d "bitmaps/$key" -n "$key-Large" -c "$comment" & ctgen "$cfg_path/win_xl.build.toml" -d "bitmaps/$key" -n "$key-Extra-Large" -c "$comment Windows Cursors" &
ctgen "$cfg" -p windows -s 48 -d "bitmaps/$key" -n "$key-Extra-Large" -c "$comment" &
PID=$! PID=$!
wait $PID wait $PID
done done

View file

@ -0,0 +1,128 @@
[theme]
name = 'Bibata Large Windows Cursor'
comment = 'Bibata is open source, compact, and material designed cursor set.'
website = 'https://www.bibata.live'
[config]
bitmaps_dir = '' # This config will assigned with `ctgen -d <path>`
out_dir = '../../themes'
platforms = 'windows'
[cursors]
[cursors.fallback_settings]
win_sizes = ["26:32", "39:48", "52:64", "77:96", "103:128"]
x_hotspot = 128
y_hotspot = 128
win_delay = 1
[cursors.bd_double_arrow]
png = 'bd_double_arrow.png'
win_name = 'Dgn1'
[cursors.circle]
png = 'circle.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Unavailable'
[cursors.crosshair]
png = 'crosshair.png'
win_name = 'Cross'
[cursors.fd_double_arrow]
png = 'fd_double_arrow.png'
win_name = 'Dgn2'
[cursors.grabbing]
png = 'grabbing.png'
x_hotspot = 128
y_hotspot = 66
win_name = 'Grabbing'
[cursors.hand1]
png = 'hand1.png'
x_hotspot = 144
y_hotspot = 79
win_name = 'Pan'
[cursors.hand2]
png = 'hand2.png'
x_hotspot = 114
y_hotspot = 18
win_name = 'Link'
[cursors.left_ptr]
png = 'left_ptr.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Pointer'
[cursors.left_ptr_watch]
png = 'left_ptr_watch-*.png'
win_sizes = "78:96"
x_hotspot = 55
y_hotspot = 17
win_name = 'Work'
[cursors.move]
png = 'move.png'
win_name = 'Move'
[cursors.pencil]
png = 'pencil.png'
x_hotspot = 46
y_hotspot = 211
win_name = 'Handwriting'
[cursors.question_arrow]
png = 'question_arrow.png'
x_hotspot = 42
y_hotspot = 86
win_name = 'Help'
[cursors.right_ptr]
png = 'right_ptr.png'
x_hotspot = 204
y_hotspot = 17
win_name = 'Alternate'
[cursors.sb_h_double_arrow]
png = 'sb_h_double_arrow.png'
win_name = 'Horz'
[cursors.sb_v_double_arrow]
png = 'sb_v_double_arrow.png'
win_name = 'Vert'
[cursors.wait]
png = 'wait-*.png'
win_sizes = "78:96"
win_name = 'Busy'
[cursors.xterm]
png = 'xterm.png'
win_name = 'Text'
[cursors.zoom_in]
png = 'zoom-in.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-in'
[cursors.zoom_out]
png = 'zoom-out.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-out'
[cursors.person]
png = 'person.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Person'
[cursors.pin]
png = 'pin.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Pin'

View file

@ -0,0 +1,128 @@
[theme]
name = 'Bibata Regular Windows Cursor'
comment = 'Bibata is open source, compact, and material designed cursor set.'
website = 'https://www.bibata.live'
[config]
bitmaps_dir = '' # This config will assigned with `ctgen -d <path>`
out_dir = '../../themes'
platforms = 'windows'
[cursors]
[cursors.fallback_settings]
win_sizes = ["22:32", "32:48", "43:64", "64:96", "86:128"]
x_hotspot = 128
y_hotspot = 128
win_delay = 1
[cursors.bd_double_arrow]
png = 'bd_double_arrow.png'
win_name = 'Dgn1'
[cursors.circle]
png = 'circle.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Unavailable'
[cursors.crosshair]
png = 'crosshair.png'
win_name = 'Cross'
[cursors.fd_double_arrow]
png = 'fd_double_arrow.png'
win_name = 'Dgn2'
[cursors.grabbing]
png = 'grabbing.png'
x_hotspot = 128
y_hotspot = 66
win_name = 'Grabbing'
[cursors.hand1]
png = 'hand1.png'
x_hotspot = 144
y_hotspot = 79
win_name = 'Pan'
[cursors.hand2]
png = 'hand2.png'
x_hotspot = 114
y_hotspot = 18
win_name = 'Link'
[cursors.left_ptr]
png = 'left_ptr.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Pointer'
[cursors.left_ptr_watch]
png = 'left_ptr_watch-*.png'
win_sizes = "64:96"
x_hotspot = 55
y_hotspot = 17
win_name = 'Work'
[cursors.move]
png = 'move.png'
win_name = 'Move'
[cursors.pencil]
png = 'pencil.png'
x_hotspot = 46
y_hotspot = 211
win_name = 'Handwriting'
[cursors.question_arrow]
png = 'question_arrow.png'
x_hotspot = 42
y_hotspot = 86
win_name = 'Help'
[cursors.right_ptr]
png = 'right_ptr.png'
x_hotspot = 204
y_hotspot = 17
win_name = 'Alternate'
[cursors.sb_h_double_arrow]
png = 'sb_h_double_arrow.png'
win_name = 'Horz'
[cursors.sb_v_double_arrow]
png = 'sb_v_double_arrow.png'
win_name = 'Vert'
[cursors.wait]
png = 'wait-*.png'
win_sizes = "64:96"
win_name = 'Busy'
[cursors.xterm]
png = 'xterm.png'
win_name = 'Text'
[cursors.zoom_in]
png = 'zoom-in.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-in'
[cursors.zoom_out]
png = 'zoom-out.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-out'
[cursors.person]
png = 'person.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Person'
[cursors.pin]
png = 'pin.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Pin'

View file

@ -0,0 +1,128 @@
[theme]
name = 'Bibata Extra Large Windows Cursor'
comment = 'Bibata is open source, compact, and material designed cursor set.'
website = 'https://www.bibata.live'
[config]
bitmaps_dir = '' # This config will assigned with `ctgen -d <path>`
out_dir = '../../themes'
platforms = 'windows'
[cursors]
[cursors.fallback_settings]
win_sizes = [32, 48, 64, 96, 128]
x_hotspot = 128
y_hotspot = 128
win_delay = 1
[cursors.bd_double_arrow]
png = 'bd_double_arrow.png'
win_name = 'Dgn1'
[cursors.circle]
png = 'circle.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Unavailable'
[cursors.crosshair]
png = 'crosshair.png'
win_name = 'Cross'
[cursors.fd_double_arrow]
png = 'fd_double_arrow.png'
win_name = 'Dgn2'
[cursors.grabbing]
png = 'grabbing.png'
x_hotspot = 128
y_hotspot = 66
win_name = 'Grabbing'
[cursors.hand1]
png = 'hand1.png'
x_hotspot = 144
y_hotspot = 79
win_name = 'Pan'
[cursors.hand2]
png = 'hand2.png'
x_hotspot = 114
y_hotspot = 18
win_name = 'Link'
[cursors.left_ptr]
png = 'left_ptr.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Pointer'
[cursors.left_ptr_watch]
png = 'left_ptr_watch-*.png'
win_sizes = 96
x_hotspot = 55
y_hotspot = 17
win_name = 'Work'
[cursors.move]
png = 'move.png'
win_name = 'Move'
[cursors.pencil]
png = 'pencil.png'
x_hotspot = 46
y_hotspot = 211
win_name = 'Handwriting'
[cursors.question_arrow]
png = 'question_arrow.png'
x_hotspot = 42
y_hotspot = 86
win_name = 'Help'
[cursors.right_ptr]
png = 'right_ptr.png'
x_hotspot = 204
y_hotspot = 17
win_name = 'Alternate'
[cursors.sb_h_double_arrow]
png = 'sb_h_double_arrow.png'
win_name = 'Horz'
[cursors.sb_v_double_arrow]
png = 'sb_v_double_arrow.png'
win_name = 'Vert'
[cursors.wait]
png = 'wait-*.png'
win_sizes = 96
win_name = 'Busy'
[cursors.xterm]
png = 'xterm.png'
win_name = 'Text'
[cursors.zoom_in]
png = 'zoom-in.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-in'
[cursors.zoom_out]
png = 'zoom-out.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-out'
[cursors.person]
png = 'person.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Person'
[cursors.pin]
png = 'pin.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Pin'

412
configs/normal/x.build.toml Normal file
View file

@ -0,0 +1,412 @@
[theme]
name = 'Bibata XCursor'
comment = 'Bibata is open source, compact, and material designed cursor set.'
website = 'https://www.bibata.live'
[config]
bitmaps_dir = '' # This config will assigned with `ctgen -d <path>`
out_dir = '../../themes'
platforms = 'x11'
[cursors]
[cursors.fallback_settings]
x11_sizes = [16, 20, 22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96]
x_hotspot = 128
y_hotspot = 128
x11_delay = 40
[cursors.bd_double_arrow]
png = 'bd_double_arrow.png'
x11_name = 'bd_double_arrow'
x11_symlinks = ["c7088f0f3e6c8088236ef8e1e3e70000", "nwse-resize", "size_fdiag"]
[cursors.bottom_left_corner]
png = 'bottom_left_corner.png'
x_hotspot = 26
y_hotspot = 232
x11_name = 'bottom_left_corner'
x11_symlinks = ["sw-resize"]
[cursors.bottom_right_corner]
png = 'bottom_right_corner.png'
x_hotspot = 229
y_hotspot = 232
x11_name = 'bottom_right_corner'
x11_symlinks = ['se-resize']
[cursors.bottom_side]
png = 'bottom_side.png'
x_hotspot = 129
y_hotspot = 234
x11_name = 'bottom_side'
x11_symlinks = ['s-resize']
[cursors.bottom_tee]
png = 'bottom_tee.png'
x_hotspot = 128
y_hotspot = 230
x11_name = 'bottom_tee'
[cursors.center_ptr]
png = 'center_ptr.png'
x_hotspot = 127
y_hotspot = 17
x11_name = 'center_ptr'
[cursors.circle]
png = 'circle.png'
x_hotspot = 55
y_hotspot = 17
x11_name = 'circle'
x11_symlinks = ['forbidden']
[cursors.context-menu]
png = 'context-menu.png'
x_hotspot = 57
y_hotspot = 17
x11_name = 'context-menu'
[cursors.copy]
png = 'copy.png'
x_hotspot = 55
y_hotspot = 17
x11_name = 'copy'
x11_symlinks = [
"1081e37283d90000800003c07f3ef6bf",
"6407b0e94181790501fd1e167b474872",
"b66166c04f8c3109214a4fbd64a50fc8"
]
[cursors.cross]
png = 'cross.png'
x11_name = 'cross'
x11_symlinks = ["cross_reverse", "diamond_cross"]
[cursors.crossed_circle]
png = 'crossed_circle.png'
x11_name = 'crossed_circle'
x11_symlinks = ["03b6e0fcb3499374a867c041f52298f0", "not-allowed"]
[cursors.crosshair]
png = 'crosshair.png'
x11_name = 'crosshair'
[cursors.dnd_no_drop]
png = 'dnd_no_drop.png'
x_hotspot = 100
y_hotspot = 65
x11_name = 'dnd_no_drop'
x11_symlinks = ["no-drop"]
[cursors.dnd-ask]
png = 'dnd-ask.png'
x_hotspot = 100
y_hotspot = 65
x11_name = 'dnd-ask'
[cursors.dnd-copy]
png = 'dnd-copy.png'
x_hotspot = 100
y_hotspot = 65
x11_name = 'dnd-copy'
[cursors.dnd-link]
png = 'dnd-link.png'
x_hotspot = 100
y_hotspot = 65
x11_name = 'dnd-link'
x11_symlinks = ['alias']
[cursors.dotbox]
png = 'dotbox.png'
x11_name = 'dotbox'
x11_symlinks = ["dot_box_mask", "draped_box", "icon", "target"]
[cursors.fd_double_arrow]
png = 'fd_double_arrow.png'
x11_name = 'fd_double_arrow'
x11_symlinks = ["fcf1c3c7cd4491d801f1e1c78f100000", "nesw-resize", "size_bdiag"]
[cursors.grabbing]
png = 'grabbing.png'
x_hotspot = 128
y_hotspot = 66
x11_name = 'grabbing'
x11_symlinks = [
"closedhand",
"dnd-move",
"dnd-none",
"fcf21c00b30f7e3f83fe0dfd12e71cff"
]
[cursors.hand1]
png = 'hand1.png'
x_hotspot = 144
y_hotspot = 79
x11_name = 'hand1'
x11_symlinks = ["grab", "openhand"]
[cursors.hand2]
png = 'hand2.png'
x_hotspot = 114
y_hotspot = 18
x11_name = 'hand2'
x11_symlinks = [
"9d800788f1b08800ae810202380a0822",
"e29285e634086352946a0e7090d73106",
"pointer",
"pointing_hand"
]
[cursors.left_ptr]
png = 'left_ptr.png'
x_hotspot = 55
y_hotspot = 17
x11_name = 'left_ptr'
x11_symlinks = ["arrow", "default", "top_left_arrow"]
[cursors.left_ptr_watch]
png = 'left_ptr_watch-*.png'
x_hotspot = 55
y_hotspot = 17
x11_name = 'left_ptr_watch'
x11_symlinks = [
"00000000000000020006000e7e9ffc3f",
"08e8e1c95fe2fc01f976f1e063a24ccd",
"3ecb610c1bf2410f44200f48c40d3599",
"progress"
]
[cursors.left_side]
png = 'left_side.png'
x_hotspot = 21
y_hotspot = 128
x11_name = 'left_side'
x11_symlinks = ['w-resize']
[cursors.left_tee]
png = 'left_tee.png'
x_hotspot = 230
y_hotspot = 128
x11_name = 'left_tee'
[cursors.link]
png = 'link.png'
x_hotspot = 55
y_hotspot = 17
x11_name = 'link'
x11_symlinks = [
"3085a0e285430894940527032f8b26df",
"640fb0e74195791501fd1ed57b41487f",
"a2a266d0498c3104214a47bd64ab0fc8",
]
[cursors.ll_angle]
png = 'll_angle.png'
x_hotspot = 30
y_hotspot = 223
x11_name = 'll_angle'
[cursors.lr_angle]
png = 'lr_angle.png'
x_hotspot = 224
y_hotspot = 230
x11_name = 'lr_angle'
[cursors.move]
png = 'move.png'
x11_name = 'move'
x11_symlinks = [
"4498f0e0c1937ffe01fd06f973665830",
"9081237383d90e509aa00f00170e968f",
"all-scroll",
"fleur",
"size_all"
]
[cursors.pencil]
png = 'pencil.png'
x_hotspot = 46
y_hotspot = 211
x11_name = 'pencil'
x11_symlinks = ['draft']
[cursors.plus]
png = 'plus.png'
x11_name = 'plus'
x11_symlinks = ['cell']
[cursors.pointer-move]
png = 'pointer-move.png'
x_hotspot = 55
y_hotspot = 17
x11_name = 'pointer-move'
[cursors.question_arrow]
png = 'question_arrow.png'
x_hotspot = 42
y_hotspot = 86
x11_name = 'question_arrow'
x11_symlinks = [
"5c6cd98b3f3ebcb1f9c7f1c204630408",
"d9ce0ab605698f320427677b458ad60b",
"help",
"left_ptr_help",
"whats_this",
]
[cursors.right_ptr]
png = 'right_ptr.png'
x_hotspot = 204
y_hotspot = 17
x11_name = 'right_ptr'
x11_symlinks = ["draft_large", "draft_small"]
[cursors.right_side]
png = 'right_side.png'
x_hotspot = 233
y_hotspot = 128
x11_name = 'right_side'
x11_symlinks = ['e-resize']
[cursors.right_tee]
png = 'right_tee.png'
x_hotspot = 29
y_hotspot = 128
x11_name = 'right_tee'
[cursors.sb_down_arrow]
png = 'sb_down_arrow.png'
x_hotspot = 128
y_hotspot = 222
x11_name = 'sb_down_arrow'
x11_symlinks = ['down-arrow']
[cursors.sb_h_double_arrow]
png = 'sb_h_double_arrow.png'
x11_name = 'sb_h_double_arrow'
x11_symlinks = [
"028006030e0e7ebffc7f7070c0600140",
"14fef782d02440884392942c1120523",
"col-resize",
"ew-resize",
"h_double_arrow",
"size-hor",
"size_hor",
"split_h",
]
[cursors.sb_left_arrow]
png = 'sb_left_arrow.png'
x_hotspot = 33
y_hotspot = 128
x11_name = 'sb_left_arrow'
x11_symlinks = ['left-arrow']
[cursors.sb_right_arrow]
png = 'sb_right_arrow.png'
x_hotspot = 223
y_hotspot = 128
x11_name = 'sb_right_arrow'
x11_symlinks = ['right-arrow']
[cursors.sb_up_arrow]
png = 'sb_up_arrow.png'
x_hotspot = 128
y_hotspot = 33
x11_name = 'sb_up_arrow'
x11_symlinks = ['up-arrow']
[cursors.sb_v_double_arrow]
png = 'sb_v_double_arrow.png'
x11_name = 'sb_v_double_arrow'
x11_symlinks = [
"00008160000006810000408080010102",
"2870a09082c103050810ffdffffe0204",
"double_arrow",
"ns-resize",
"row-resize",
"size-ver",
"size_ver",
"split_v",
"v_double_arrow",
]
[cursors.tcross]
png = 'tcross.png'
x11_name = 'tcross'
x11_symlinks = ['color-picker']
[cursors.top_left_corner]
png = 'top_left_corner.png'
x_hotspot = 29
y_hotspot = 24
x11_name = 'top_left_corner'
x11_symlinks = ['nw-resize']
[cursors.top_right_corner]
png = 'top_right_corner.png'
x_hotspot = 229
y_hotspot = 24
x11_name = 'top_right_corner'
x11_symlinks = ['ne-resize']
[cursors.top_side]
png = 'top_side.png'
x_hotspot = 128
y_hotspot = 23
x11_name = 'top_side'
x11_symlinks = ['n-resize']
[cursors.top_tee]
png = 'top_tee.png'
x_hotspot = 128
y_hotspot = 27
x11_name = 'top_tee'
[cursors.ul_angle]
png = 'ul_angle.png'
x_hotspot = 33
y_hotspot = 33
x11_name = 'ul_angle'
[cursors.ur_angle]
png = 'ur_angle.png'
x_hotspot = 225
y_hotspot = 33
x11_name = 'ur_angle'
[cursors.vertical-text]
png = 'vertical-text.png'
x11_name = 'vertical-text'
[cursors.wait]
png = 'wait-*.png'
x11_name = 'wait'
x11_symlinks = ['watch']
[cursors.wayland-cursor]
png = 'wayland-cursor.png'
x11_name = 'wayland-cursor'
[cursors.X_cursor]
png = 'X_cursor.png'
x11_name = 'X_cursor'
x11_symlinks = ["pirate", "x-cursor"]
[cursors.xterm]
png = 'xterm.png'
x11_name = 'xterm'
x11_symlinks = ["ibeam", "text"]
[cursors.zoom_in]
png = 'zoom-in.png'
x_hotspot = 116
y_hotspot = 116
x11_name = 'zoom-in'
[cursors.zoom_out]
png = 'zoom-out.png'
x_hotspot = 116
y_hotspot = 116
x11_name = 'zoom-out'

View file

@ -0,0 +1,128 @@
[theme]
name = 'Bibata Right Large Windows Cursor'
comment = 'Bibata is open source, compact, and material designed cursor set.'
website = 'https://www.bibata.live'
[config]
bitmaps_dir = '' # This config will assigned with `ctgen -d <path>`
out_dir = '../../themes'
platforms = 'windows'
[cursors]
[cursors.fallback_settings]
win_sizes = ["26:32", "39:48", "52:64", "77:96", "103:128"]
x_hotspot = 128
y_hotspot = 128
win_delay = 1
[cursors.bd_double_arrow]
png = 'bd_double_arrow.png'
win_name = 'Dgn1'
[cursors.circle]
png = 'circle.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Unavailable'
[cursors.crosshair]
png = 'crosshair.png'
win_name = 'Cross'
[cursors.fd_double_arrow]
png = 'fd_double_arrow.png'
win_name = 'Dgn2'
[cursors.grabbing]
png = 'grabbing.png'
x_hotspot = 112
y_hotspot = 64
win_name = 'Grabbing'
[cursors.hand1]
png = 'hand1.png'
x_hotspot = 97
y_hotspot = 80
win_name = 'Pan'
[cursors.hand2]
png = 'hand2.png'
x_hotspot = 138
y_hotspot = 14
win_name = 'Link'
[cursors.left_ptr]
png = 'left_ptr.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Pointer'
[cursors.left_ptr_watch]
png = 'left_ptr_watch-*.png'
x_hotspot = 197
y_hotspot = 24
win_name = 'Work'
win_sizes = "77:96"
[cursors.move]
png = 'move.png'
win_name = 'Move'
[cursors.pencil]
png = 'pencil.png'
x_hotspot = 46
y_hotspot = 211
win_name = 'Handwriting'
[cursors.question_arrow]
png = 'question_arrow.png'
x_hotspot = 42
y_hotspot = 86
win_name = 'Help'
[cursors.right_ptr]
png = 'right_ptr.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Alternate'
[cursors.sb_h_double_arrow]
png = 'sb_h_double_arrow.png'
win_name = 'Horz'
[cursors.sb_v_double_arrow]
png = 'sb_v_double_arrow.png'
win_name = 'Vert'
[cursors.wait]
png = 'wait-*.png'
win_name = 'Busy'
win_sizes = "77:96"
[cursors.xterm]
png = 'xterm.png'
win_name = 'Text'
[cursors.zoom_in]
png = 'zoom-in.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-in'
[cursors.zoom_out]
png = 'zoom-out.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-out'
[cursors.person]
png = 'person.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Person'
[cursors.pin]
png = 'pin.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Pin'

View file

@ -0,0 +1,128 @@
[theme]
name = 'Bibata Right Regular Windows Cursor'
comment = 'Bibata is open source, compact, and material designed cursor set.'
website = 'https://www.bibata.live'
[config]
bitmaps_dir = '' # This config will assigned with `ctgen -d <path>`
out_dir = '../../themes'
platforms = 'windows'
[cursors]
[cursors.fallback_settings]
win_sizes = ["22:32", "32:48", "43:64", "64:96", "86:128"]
x_hotspot = 128
y_hotspot = 128
win_delay = 1
[cursors.bd_double_arrow]
png = 'bd_double_arrow.png'
win_name = 'Dgn1'
[cursors.circle]
png = 'circle.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Unavailable'
[cursors.crosshair]
png = 'crosshair.png'
win_name = 'Cross'
[cursors.fd_double_arrow]
png = 'fd_double_arrow.png'
win_name = 'Dgn2'
[cursors.grabbing]
png = 'grabbing.png'
x_hotspot = 112
y_hotspot = 64
win_name = 'Grabbing'
[cursors.hand1]
png = 'hand1.png'
x_hotspot = 97
y_hotspot = 80
win_name = 'Pan'
[cursors.hand2]
png = 'hand2.png'
x_hotspot = 138
y_hotspot = 14
win_name = 'Link'
[cursors.left_ptr]
png = 'left_ptr.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Pointer'
[cursors.left_ptr_watch]
png = 'left_ptr_watch-*.png'
x_hotspot = 197
y_hotspot = 24
win_name = 'Work'
win_sizes = "64:96"
[cursors.move]
png = 'move.png'
win_name = 'Move'
[cursors.pencil]
png = 'pencil.png'
x_hotspot = 46
y_hotspot = 211
win_name = 'Handwriting'
[cursors.question_arrow]
png = 'question_arrow.png'
x_hotspot = 42
y_hotspot = 86
win_name = 'Help'
[cursors.right_ptr]
png = 'right_ptr.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Alternate'
[cursors.sb_h_double_arrow]
png = 'sb_h_double_arrow.png'
win_name = 'Horz'
[cursors.sb_v_double_arrow]
png = 'sb_v_double_arrow.png'
win_name = 'Vert'
[cursors.wait]
png = 'wait-*.png'
win_name = 'Busy'
win_sizes = "64:96"
[cursors.xterm]
png = 'xterm.png'
win_name = 'Text'
[cursors.zoom_in]
png = 'zoom-in.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-in'
[cursors.zoom_out]
png = 'zoom-out.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-out'
[cursors.person]
png = 'person.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Person'
[cursors.pin]
png = 'pin.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Pin'

View file

@ -0,0 +1,128 @@
[theme]
name = 'Bibata Right Extra Large Windows Cursor'
comment = 'Bibata is open source, compact, and material designed cursor set.'
website = 'https://www.bibata.live'
[config]
bitmaps_dir = '' # This config will assigned with `ctgen -d <path>`
out_dir = '../../themes'
platforms = 'windows'
[cursors]
[cursors.fallback_settings]
win_sizes = [32, 48, 64, 96, 128]
x_hotspot = 128
y_hotspot = 128
win_delay = 1
[cursors.bd_double_arrow]
png = 'bd_double_arrow.png'
win_name = 'Dgn1'
[cursors.circle]
png = 'circle.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Unavailable'
[cursors.crosshair]
png = 'crosshair.png'
win_name = 'Cross'
[cursors.fd_double_arrow]
png = 'fd_double_arrow.png'
win_name = 'Dgn2'
[cursors.grabbing]
png = 'grabbing.png'
x_hotspot = 112
y_hotspot = 64
win_name = 'Grabbing'
[cursors.hand1]
png = 'hand1.png'
x_hotspot = 97
y_hotspot = 80
win_name = 'Pan'
[cursors.hand2]
png = 'hand2.png'
x_hotspot = 138
y_hotspot = 14
win_name = 'Link'
[cursors.left_ptr]
png = 'left_ptr.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Pointer'
[cursors.left_ptr_watch]
png = 'left_ptr_watch-*.png'
x_hotspot = 197
y_hotspot = 24
win_name = 'Work'
win_sizes = 96
[cursors.move]
png = 'move.png'
win_name = 'Move'
[cursors.pencil]
png = 'pencil.png'
x_hotspot = 46
y_hotspot = 211
win_name = 'Handwriting'
[cursors.question_arrow]
png = 'question_arrow.png'
x_hotspot = 42
y_hotspot = 86
win_name = 'Help'
[cursors.right_ptr]
png = 'right_ptr.png'
x_hotspot = 55
y_hotspot = 17
win_name = 'Alternate'
[cursors.sb_h_double_arrow]
png = 'sb_h_double_arrow.png'
win_name = 'Horz'
[cursors.sb_v_double_arrow]
png = 'sb_v_double_arrow.png'
win_name = 'Vert'
[cursors.wait]
png = 'wait-*.png'
win_name = 'Busy'
win_sizes = 96
[cursors.xterm]
png = 'xterm.png'
win_name = 'Text'
[cursors.zoom_in]
png = 'zoom-in.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-in'
[cursors.zoom_out]
png = 'zoom-out.png'
x_hotspot = 116
y_hotspot = 116
win_name = 'Zoom-out'
[cursors.person]
png = 'person.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Person'
[cursors.pin]
png = 'pin.png'
x_hotspot = 207
y_hotspot = 24
win_name = 'Pin'

412
configs/right/x.build.toml Normal file
View file

@ -0,0 +1,412 @@
[theme]
name = 'Bibata Right XCursor'
comment = 'Bibata is open source, compact, and material designed cursor set.'
website = 'https://www.bibata.live'
[config]
bitmaps_dir = '' # This config will assigned with `ctgen -d <path>`
out_dir = '../../themes'
platforms = 'x11'
[cursors]
[cursors.fallback_settings]
x11_sizes = [16, 20, 22, 24, 28, 32, 40, 48, 56, 64, 72, 80, 88, 96]
x_hotspot = 128
y_hotspot = 128
x11_delay = 40
[cursors.bd_double_arrow]
png = 'bd_double_arrow.png'
x11_name = 'bd_double_arrow'
x11_symlinks = ["c7088f0f3e6c8088236ef8e1e3e70000", "nwse-resize", "size_fdiag"]
[cursors.bottom_left_corner]
png = 'bottom_left_corner.png'
x_hotspot = 26
y_hotspot = 232
x11_name = 'bottom_left_corner'
x11_symlinks = ["sw-resize"]
[cursors.bottom_right_corner]
png = 'bottom_right_corner.png'
x_hotspot = 229
y_hotspot = 232
x11_name = 'bottom_right_corner'
x11_symlinks = ['se-resize']
[cursors.bottom_side]
png = 'bottom_side.png'
x_hotspot = 129
y_hotspot = 234
x11_name = 'bottom_side'
x11_symlinks = ['s-resize']
[cursors.bottom_tee]
png = 'bottom_tee.png'
x_hotspot = 128
y_hotspot = 230
x11_name = 'bottom_tee'
[cursors.center_ptr]
png = 'center_ptr.png'
x_hotspot = 127
y_hotspot = 17
x11_name = 'center_ptr'
[cursors.circle]
png = 'circle.png'
x_hotspot = 207
y_hotspot = 24
x11_name = 'circle'
x11_symlinks = ['forbidden']
[cursors.context-menu]
png = 'context-menu.png'
x_hotspot = 207
y_hotspot = 24
x11_name = 'context-menu'
[cursors.copy]
png = 'copy.png'
x_hotspot = 207
y_hotspot = 24
x11_name = 'copy'
x11_symlinks = [
"1081e37283d90000800003c07f3ef6bf",
"6407b0e94181790501fd1e167b474872",
"b66166c04f8c3109214a4fbd64a50fc8"
]
[cursors.cross]
png = 'cross.png'
x11_name = 'cross'
x11_symlinks = ["cross_reverse", "diamond_cross"]
[cursors.crossed_circle]
png = 'crossed_circle.png'
x11_name = 'crossed_circle'
x11_symlinks = ["03b6e0fcb3499374a867c041f52298f0", "not-allowed"]
[cursors.crosshair]
png = 'crosshair.png'
x11_name = 'crosshair'
[cursors.dnd_no_drop]
png = 'dnd_no_drop.png'
x_hotspot = 156
y_hotspot = 68
x11_name = 'dnd_no_drop'
x11_symlinks = ["no-drop"]
[cursors.dnd-ask]
png = 'dnd-ask.png'
x_hotspot = 156
y_hotspot = 68
x11_name = 'dnd-ask'
[cursors.dnd-copy]
png = 'dnd-copy.png'
x_hotspot = 156
y_hotspot = 68
x11_name = 'dnd-copy'
[cursors.dnd-link]
png = 'dnd-link.png'
x_hotspot = 156
y_hotspot = 68
x11_name = 'dnd-link'
x11_symlinks = ['alias']
[cursors.dotbox]
png = 'dotbox.png'
x11_name = 'dotbox'
x11_symlinks = ["dot_box_mask", "draped_box", "icon", "target"]
[cursors.fd_double_arrow]
png = 'fd_double_arrow.png'
x11_name = 'fd_double_arrow'
x11_symlinks = ["fcf1c3c7cd4491d801f1e1c78f100000", "nesw-resize", "size_bdiag"]
[cursors.grabbing]
png = 'grabbing.png'
x_hotspot = 112
y_hotspot = 64
x11_name = 'grabbing'
x11_symlinks = [
"closedhand",
"dnd-move",
"dnd-none",
"fcf21c00b30f7e3f83fe0dfd12e71cff"
]
[cursors.hand1]
png = 'hand1.png'
x_hotspot = 97
y_hotspot = 80
x11_name = 'hand1'
x11_symlinks = ["grab", "openhand"]
[cursors.hand2]
png = 'hand2.png'
x_hotspot = 138
y_hotspot = 14
x11_name = 'hand2'
x11_symlinks = [
"9d800788f1b08800ae810202380a0822",
"e29285e634086352946a0e7090d73106",
"pointer",
"pointing_hand"
]
[cursors.left_ptr]
png = 'left_ptr.png'
x_hotspot = 207
y_hotspot = 24
x11_name = 'left_ptr'
x11_symlinks = ["arrow", "default", "top_left_arrow"]
[cursors.left_ptr_watch]
png = 'left_ptr_watch-*.png'
x_hotspot = 197
y_hotspot = 24
x11_name = 'left_ptr_watch'
x11_symlinks = [
"00000000000000020006000e7e9ffc3f",
"08e8e1c95fe2fc01f976f1e063a24ccd",
"3ecb610c1bf2410f44200f48c40d3599",
"progress"
]
[cursors.left_side]
png = 'left_side.png'
x_hotspot = 21
y_hotspot = 128
x11_name = 'left_side'
x11_symlinks = ['w-resize']
[cursors.left_tee]
png = 'left_tee.png'
x_hotspot = 230
y_hotspot = 128
x11_name = 'left_tee'
[cursors.link]
png = 'link.png'
x_hotspot = 207
y_hotspot = 24
x11_name = 'link'
x11_symlinks = [
"3085a0e285430894940527032f8b26df",
"640fb0e74195791501fd1ed57b41487f",
"a2a266d0498c3104214a47bd64ab0fc8",
]
[cursors.ll_angle]
png = 'll_angle.png'
x_hotspot = 30
y_hotspot = 223
x11_name = 'll_angle'
[cursors.lr_angle]
png = 'lr_angle.png'
x_hotspot = 224
y_hotspot = 230
x11_name = 'lr_angle'
[cursors.move]
png = 'move.png'
x11_name = 'move'
x11_symlinks = [
"4498f0e0c1937ffe01fd06f973665830",
"9081237383d90e509aa00f00170e968f",
"all-scroll",
"fleur",
"size_all"
]
[cursors.pencil]
png = 'pencil.png'
x_hotspot = 46
y_hotspot = 211
x11_name = 'pencil'
x11_symlinks = ['draft']
[cursors.plus]
png = 'plus.png'
x11_name = 'plus'
x11_symlinks = ['cell']
[cursors.pointer-move]
png = 'pointer-move.png'
x_hotspot = 207
y_hotspot = 24
x11_name = 'pointer-move'
[cursors.question_arrow]
png = 'question_arrow.png'
x_hotspot = 42
y_hotspot = 86
x11_name = 'question_arrow'
x11_symlinks = [
"5c6cd98b3f3ebcb1f9c7f1c204630408",
"d9ce0ab605698f320427677b458ad60b",
"help",
"left_ptr_help",
"whats_this",
]
[cursors.right_ptr]
png = 'right_ptr.png'
x_hotspot = 55
y_hotspot = 17
x11_name = 'right_ptr'
x11_symlinks = ["draft_large", "draft_small"]
[cursors.right_side]
png = 'right_side.png'
x_hotspot = 233
y_hotspot = 128
x11_name = 'right_side'
x11_symlinks = ['e-resize']
[cursors.right_tee]
png = 'right_tee.png'
x_hotspot = 29
y_hotspot = 128
x11_name = 'right_tee'
[cursors.sb_down_arrow]
png = 'sb_down_arrow.png'
x_hotspot = 128
y_hotspot = 222
x11_name = 'sb_down_arrow'
x11_symlinks = ['down-arrow']
[cursors.sb_h_double_arrow]
png = 'sb_h_double_arrow.png'
x11_name = 'sb_h_double_arrow'
x11_symlinks = [
"028006030e0e7ebffc7f7070c0600140",
"14fef782d02440884392942c1120523",
"col-resize",
"ew-resize",
"h_double_arrow",
"size-hor",
"size_hor",
"split_h",
]
[cursors.sb_left_arrow]
png = 'sb_left_arrow.png'
x_hotspot = 33
y_hotspot = 128
x11_name = 'sb_left_arrow'
x11_symlinks = ['left-arrow']
[cursors.sb_right_arrow]
png = 'sb_right_arrow.png'
x_hotspot = 223
y_hotspot = 128
x11_name = 'sb_right_arrow'
x11_symlinks = ['right-arrow']
[cursors.sb_up_arrow]
png = 'sb_up_arrow.png'
x_hotspot = 128
y_hotspot = 33
x11_name = 'sb_up_arrow'
x11_symlinks = ['up-arrow']
[cursors.sb_v_double_arrow]
png = 'sb_v_double_arrow.png'
x11_name = 'sb_v_double_arrow'
x11_symlinks = [
"00008160000006810000408080010102",
"2870a09082c103050810ffdffffe0204",
"double_arrow",
"ns-resize",
"row-resize",
"size-ver",
"size_ver",
"split_v",
"v_double_arrow",
]
[cursors.tcross]
png = 'tcross.png'
x11_name = 'tcross'
x11_symlinks = ['color-picker']
[cursors.top_left_corner]
png = 'top_left_corner.png'
x_hotspot = 29
y_hotspot = 24
x11_name = 'top_left_corner'
x11_symlinks = ['nw-resize']
[cursors.top_right_corner]
png = 'top_right_corner.png'
x_hotspot = 229
y_hotspot = 24
x11_name = 'top_right_corner'
x11_symlinks = ['ne-resize']
[cursors.top_side]
png = 'top_side.png'
x_hotspot = 128
y_hotspot = 23
x11_name = 'top_side'
x11_symlinks = ['n-resize']
[cursors.top_tee]
png = 'top_tee.png'
x_hotspot = 128
y_hotspot = 27
x11_name = 'top_tee'
[cursors.ul_angle]
png = 'ul_angle.png'
x_hotspot = 33
y_hotspot = 33
x11_name = 'ul_angle'
[cursors.ur_angle]
png = 'ur_angle.png'
x_hotspot = 225
y_hotspot = 33
x11_name = 'ur_angle'
[cursors.vertical-text]
png = 'vertical-text.png'
x11_name = 'vertical-text'
[cursors.wait]
png = 'wait-*.png'
x11_name = 'wait'
x11_symlinks = ['watch']
[cursors.wayland-cursor]
png = 'wayland-cursor.png'
x11_name = 'wayland-cursor'
[cursors.X_cursor]
png = 'X_cursor.png'
x11_name = 'X_cursor'
x11_symlinks = ["pirate", "x-cursor"]
[cursors.xterm]
png = 'xterm.png'
x11_name = 'xterm'
x11_symlinks = ["ibeam", "text"]
[cursors.zoom_in]
png = 'zoom-in.png'
x_hotspot = 116
y_hotspot = 116
x11_name = 'zoom-in'
[cursors.zoom_out]
png = 'zoom-out.png'
x_hotspot = 116
y_hotspot = 116
x11_name = 'zoom-out'