diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1f1a5216..94dcd7da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - name: Build - run: nix build . -Lv + run: nix build . -L - name: Add zips to release run: gh release upload ${{ needs.release-please.outputs.tag_name }} result/*.zip env: diff --git a/.gitignore b/.gitignore index e21b16dc..244cadfc 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ dist/ pngs/ releases/ result +hl/ diff --git a/AUTHORS b/AUTHORS index 0aa1e9d5..885b232e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -9,3 +9,4 @@ Build script: Keefer Rourke Moded by Efus10n & jnzhng from https://github.com/keeferrourke/capitaine-cursors Goudham Suresh - script performance improvements + Jeffrey Geer - hyprcursor support diff --git a/README.md b/README.md index f69cf741..1ed87cb8 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,8 @@ pkgs.catppuccin-cursors.mochaMauve - [xcursorgen](https://wiki.archlinux.org/title/Xcursorgen) to generate the cursors. - [inkscape](https://wiki.inkscape.org/wiki/Inkscape) to convert SVGs to PNGs. +- **(Optional)** [hyprcursor](https://github.com/hyprwm/hyprcursor) to include + hyprcursor variants. - **(Optional)** [just](https://github.com/casey/just) to easily run development commands. @@ -110,13 +112,15 @@ pkgs.catppuccin-cursors.mochaMauve ``` 1. Run the following command(s) if you have just installed, if not then look - inside the [justfile](./justfile) to understand what commands are being run. + inside the [justfile](./justfile) to understand what commands are being run. ```bash just all # Build all flavor-accent variants. - just flavor mocha # To build all variants under one single flavor. - just accents mocha blue # To build only the blue variant under mocha. - just accents mocha 'blue mauve peach' # To build only the blue, mauve, and peach variants under mocha. + just all_with_hyprcursor # Build all flavor-accent variants with hyprcursor support + just build mocha # To build all variants under one single flavor. + just build_with_hyprcursor mocha # To build all variants under one single flavor with hyprcursor support + just build mocha blue # To build only the blue variant under mocha. + just build mocha 'blue mauve peach' # To build only the blue, mauve, and peach variants under mocha. ``` 1. Extract built cursors in `./dist` to `$HOME/.icons` or `/usr/share/icons`. diff --git a/build b/build index 057ec5df..5199f084 100755 --- a/build +++ b/build @@ -58,11 +58,79 @@ create_aliases() { done <"$ALIASES" } +create_hyprcursors() { + local src_dir="$1" + local out_dir="$2" + local theme_name="$3" + local hypr_dir="$out_dir/hyprcursors" + local filename dir cursor_dir base_name symlink target theme_comment + + [ -d "$out_dir" ] || mkdir -p "$out_dir" + [ -d "$hypr_dir" ] || mkdir -p "$hypr_dir" + + for file in "$src_dir"/*.svg; do + filename=$(basename -- "$file") + + # hyprcursor doesn't care about sizes of svgs, can skip the '_24.svg' variant with no impact + if [[ "$filename" == *_24.svg ]]; then + continue + fi + + # we want to put all of the `progress_01, progress_02, etc` into the same directory of `progress` + if [[ "$filename" == *-[0-9][0-9].svg ]]; then + dir="${filename%-[0-9][0-9].svg}" + else + dir="${filename%.svg}" + fi + + cursor_dir="$hypr_dir/$dir" + [ -d "$cursor_dir" ] || mkdir -p "$cursor_dir" + cp -- "$file" "$cursor_dir" + done + + for config in "$CONFIG_DIR"/*.hl; do + [ -f "$config" ] || continue + + base_name="$(basename "$config" .hl)" + cursor_dir="$hypr_dir/$base_name" + [ -d "$cursor_dir" ] || continue + cp "$config" "$cursor_dir/meta.hl" + done + + while read -r symlink target; do + cursor_dir="$out_dir/$target" + if [ -f "$cursor_dir"/meta.hl ]; then + echo "define_override = $symlink" >>"$cursor_dir"/meta.hl + fi + done <"$ALIASES" + + theme_comment="$(grep Comment "$src_dir"/index.theme)" + cat >"$out_dir"/manifest.hl <<-EOM +name = ${theme_name%-cursors} +description = ${theme_comment#Comment=} +version = "v0.2.1" # x-release-please-version +cursors_directory = hyprcursors +EOM +} + +compile_hyprcursors() { + local hl_dir="$1" + local out_dir="$2" + local theme_name="$(basename "$1")" + local compile_dir="$1/../theme_${theme_name%-cursors}" + + [ -d "$hl_dir" ] || return 1 + [ -d "$out_dir" ] || mkdir -p "$out_dir" + + hyprcursor-util -c "$hl_dir" >/dev/null + cp -a "$compile_dir/." "$out_dir/" +} + SCRIPT_DIR="$(dirname "$0")" SRC_DIR="$SCRIPT_DIR/src" OUT_DIR="$SCRIPT_DIR/dist" PNG_DIR="$SCRIPT_DIR/pngs" -BUILD_DIR="$SCRIPT_DIR/build" +HL_DIR="$SCRIPT_DIR/hl" CONFIG_DIR="$SRC_DIR/config" AUTHORS="$SCRIPT_DIR/AUTHORS" @@ -71,8 +139,9 @@ ALIASES="$SRC_DIR/cursorList" ACCENTS="blue dark flamingo green lavender light maroon mauve peach pink red rosewater sapphire sky teal yellow" INKSCAPE_COMMANDS="" +HYPRCURSOR=0 -while getopts "f:a:v" option; do +while getopts "f:a:h" option; do case $option in f) FLAVOR="$OPTARG" @@ -80,9 +149,8 @@ while getopts "f:a:v" option; do a) ACCENTS="$OPTARG" ;; - v) - DEBUG=1 - echo "[DEBUG] - Debug logging enabled" + h) + HYPRCURSOR=1 ;; \?) echo "Invalid option: -$OPTARG" @@ -92,12 +160,16 @@ while getopts "f:a:v" option; do done echo "[INFO] - Flavor: '$FLAVOR'" echo "[INFO] - Accent(s): '$ACCENTS'" +if [ $HYPRCURSOR -eq 1 ]; then + echo "[INFO] - Building with hyprcursor: TRUE" +else + echo "[INFO] - Building with hyprcursor: FALSE" +fi echo "[INFO] - Generating inkscape commands..." for accent in $ACCENTS; do theme_name="catppuccin-$FLAVOR-$accent-cursors" theme_src_dir="$SRC_DIR/$theme_name" - theme_build_dir="$BUILD_DIR/$theme_name" theme_out_dir="$OUT_DIR/$theme_name" theme_png_dir="$PNG_DIR/$theme_name" @@ -106,14 +178,13 @@ done echo "[INFO] - Generating inkscape commands complete" echo "[INFO] - Converting SVGs to PNGs..." -inkscape --shell <<< ${INKSCAPE_COMMANDS} &> /dev/null +inkscape --shell <<<${INKSCAPE_COMMANDS} &>/dev/null echo "[INFO] - Converting SVGs to PNGs complete" echo "[INFO] - Converting to x11cursor & creating aliases..." for accent in $ACCENTS; do theme_name="catppuccin-$FLAVOR-$accent-cursors" theme_src_dir="$SRC_DIR/$theme_name" - theme_build_dir="$BUILD_DIR/$theme_name" theme_out_dir="$OUT_DIR/$theme_name" theme_png_dir="$PNG_DIR/$theme_name" @@ -125,3 +196,17 @@ for accent in $ACCENTS; do cp -f "$LICENSE" "$theme_out_dir" done echo "[INFO] - Converting to x11cursor & creating aliases complete" + +if [[ $HYPRCURSOR == 1 ]]; then + echo "[INFO] - Generating hyprcursor theme..." + for accent in $ACCENTS; do + theme_name="catppuccin-$FLAVOR-$accent-cursors" + theme_src_dir="$SRC_DIR/$theme_name" + theme_hl_dir="$HL_DIR/$theme_name" + theme_out_dir="$OUT_DIR/$theme_name" + + create_hyprcursors "$theme_src_dir" "$theme_hl_dir" "$theme_name" + compile_hyprcursors "$theme_hl_dir" "$theme_out_dir" + done + echo "[INFO] - Generating hyprcursor theme complete" +fi diff --git a/default.nix b/default.nix index 65124784..722a2ab1 100644 --- a/default.nix +++ b/default.nix @@ -26,7 +26,7 @@ stdenvNoCC.mkDerivation { runHook preBuild patchShebangs . - just all + just all_with_hyprcursor just zip runHook postBuild diff --git a/justfile b/justfile index d6455978..75c9c4ad 100644 --- a/justfile +++ b/justfile @@ -3,21 +3,29 @@ _default: accents := "blue dark flamingo green lavender light maroon mauve peach pink red rosewater sapphire sky teal yellow" -# Remove all files in the ".pngs/", "./dist" and "./releases" directories +# Remove all files in the ".pngs/", ".hl/", "./dist" and "./releases" directories clean: - rm -rf pngs/ dist/ releases/ + rm -rf pngs/ hl/ dist/ releases/ + +# Remove all hyprcursor related files +clean_hl: + rm -rf hl/ # Zip all directories inside of "./dist" zip: ./create_zips -# Generate a single flavor with specific accents. E.g. "build mocha 'blue'" -accents f a: +# Generate a single flavor with accents, defaults to all accents +build f a=accents: ./build -f {{f}} -a '{{a}}' -# Generate a single flavor with all accents -flavor f: - ./build -f {{f}} -a "{{accents}}" +# Generate a single flavor with accents with hyprcursor support, defaults to all accents +build_with_hyprcursor f a=accents: clean_hl + ./build -f {{f}} -a '{{a}}' -h # Generate all flavors with their accents -all: clean (flavor "latte") (flavor "frappe") (flavor "macchiato") (flavor "mocha") +all: clean (build "latte") (build "frappe") (build "macchiato") (build "mocha") + +# Generate all flavors with their accents with hyprcursor support +all_with_hyprcursor: clean (build_with_hyprcursor "latte") (build_with_hyprcursor "frappe") (build_with_hyprcursor "macchiato") (build_with_hyprcursor "mocha") + diff --git a/release-please-config.json b/release-please-config.json index 3a1478f6..a3e6764f 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -7,7 +7,8 @@ "release-type": "simple", "draft-pull-request": true, "extra-files": [ - { "type": "generic", "path": "README.md" } + { "type": "generic", "path": "README.md" }, + { "type": "generic", "path": "build" } ] } }, diff --git a/src/config/alias.hl b/src/config/alias.hl new file mode 100644 index 00000000..3d802669 --- /dev/null +++ b/src/config/alias.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.0625 +hotspot_y = 0.0625 +define_size = 64, alias.svg diff --git a/src/config/all-scroll.hl b/src/config/all-scroll.hl new file mode 100644 index 00000000..8e18e8fa --- /dev/null +++ b/src/config/all-scroll.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, all-scroll.svg diff --git a/src/config/bottom_left_corner.hl b/src/config/bottom_left_corner.hl new file mode 100644 index 00000000..c2d7ce74 --- /dev/null +++ b/src/config/bottom_left_corner.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.1875 +hotspot_y = 0.78125 +define_size = 64, bottom_left_corner.svg diff --git a/src/config/bottom_right_corner.hl b/src/config/bottom_right_corner.hl new file mode 100644 index 00000000..391ae598 --- /dev/null +++ b/src/config/bottom_right_corner.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.78125 +hotspot_y = 0.78125 +define_size = 64, bottom_right_corner.svg diff --git a/src/config/bottom_side.hl b/src/config/bottom_side.hl new file mode 100644 index 00000000..f89d815e --- /dev/null +++ b/src/config/bottom_side.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.65625 +define_size = 64, bottom_side.svg diff --git a/src/config/cell.hl b/src/config/cell.hl new file mode 100644 index 00000000..f96bb4ae --- /dev/null +++ b/src/config/cell.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, cell.svg diff --git a/src/config/center_ptr.hl b/src/config/center_ptr.hl new file mode 100644 index 00000000..d29f9431 --- /dev/null +++ b/src/config/center_ptr.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.21875 +define_size = 64, center_ptr.svg diff --git a/src/config/col-resize.hl b/src/config/col-resize.hl new file mode 100644 index 00000000..ea3aded4 --- /dev/null +++ b/src/config/col-resize.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, col-resize.svg diff --git a/src/config/color-picker.hl b/src/config/color-picker.hl new file mode 100644 index 00000000..ac1327ac --- /dev/null +++ b/src/config/color-picker.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.1875 +hotspot_y = 0.78125 +define_size = 64, color-picker.svg diff --git a/src/config/context-menu.hl b/src/config/context-menu.hl new file mode 100644 index 00000000..b6bc5e67 --- /dev/null +++ b/src/config/context-menu.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.0625 +hotspot_y = 0.0625 +define_size = 64, context-menu.svg diff --git a/src/config/copy.hl b/src/config/copy.hl new file mode 100644 index 00000000..ce8e64d0 --- /dev/null +++ b/src/config/copy.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.0625 +hotspot_y = 0.0625 +define_size = 64, copy.svg diff --git a/src/config/crosshair.hl b/src/config/crosshair.hl new file mode 100644 index 00000000..fdd55019 --- /dev/null +++ b/src/config/crosshair.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, crosshair.svg diff --git a/src/config/default.hl b/src/config/default.hl new file mode 100644 index 00000000..1aa087cf --- /dev/null +++ b/src/config/default.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.0625 +hotspot_y = 0.0625 +define_size = 64, default.svg diff --git a/src/config/dnd-move.hl b/src/config/dnd-move.hl new file mode 100644 index 00000000..65229194 --- /dev/null +++ b/src/config/dnd-move.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, dnd-move.svg diff --git a/src/config/dnd-no-drop.hl b/src/config/dnd-no-drop.hl new file mode 100644 index 00000000..4fbf83b8 --- /dev/null +++ b/src/config/dnd-no-drop.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, dnd-no-drop.svg diff --git a/src/config/down-arrow.hl b/src/config/down-arrow.hl new file mode 100644 index 00000000..8a85bf64 --- /dev/null +++ b/src/config/down-arrow.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.75 +define_size = 64, down-arrow.svg diff --git a/src/config/draft.hl b/src/config/draft.hl new file mode 100644 index 00000000..9e2dadd4 --- /dev/null +++ b/src/config/draft.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.1875 +hotspot_y = 0.46875 +define_size = 64, draft.svg diff --git a/src/config/fleur.hl b/src/config/fleur.hl new file mode 100644 index 00000000..ce1737ff --- /dev/null +++ b/src/config/fleur.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, fleur.svg diff --git a/src/config/help.hl b/src/config/help.hl new file mode 100644 index 00000000..e80f4c04 --- /dev/null +++ b/src/config/help.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.0625 +hotspot_y = 0.0625 +define_size = 64, help.svg diff --git a/src/config/left-arrow.hl b/src/config/left-arrow.hl new file mode 100644 index 00000000..1fe5fa61 --- /dev/null +++ b/src/config/left-arrow.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.21875 +hotspot_y = 0.46875 +define_size = 64, left-arrow.svg diff --git a/src/config/left_side.hl b/src/config/left_side.hl new file mode 100644 index 00000000..56f4b2fe --- /dev/null +++ b/src/config/left_side.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.28125 +hotspot_y = 0.46875 +define_size = 64, left_side.svg diff --git a/src/config/no-drop.hl b/src/config/no-drop.hl new file mode 100644 index 00000000..47499846 --- /dev/null +++ b/src/config/no-drop.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.0625 +hotspot_y = 0.0625 +define_size = 64, no-drop.svg diff --git a/src/config/not-allowed.hl b/src/config/not-allowed.hl new file mode 100644 index 00000000..8f294369 --- /dev/null +++ b/src/config/not-allowed.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, not-allowed.svg diff --git a/src/config/openhand.hl b/src/config/openhand.hl new file mode 100644 index 00000000..43f4b4b2 --- /dev/null +++ b/src/config/openhand.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, openhand.svg diff --git a/src/config/pencil.hl b/src/config/pencil.hl new file mode 100644 index 00000000..c97bf507 --- /dev/null +++ b/src/config/pencil.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.1875 +hotspot_y = 0.78125 +define_size = 64, pencil.svg diff --git a/src/config/pirate.hl b/src/config/pirate.hl new file mode 100644 index 00000000..aba76cfe --- /dev/null +++ b/src/config/pirate.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.3125 +define_size = 64, pirate.svg diff --git a/src/config/pointer.hl b/src/config/pointer.hl new file mode 100644 index 00000000..0fd69a4e --- /dev/null +++ b/src/config/pointer.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.40625 +hotspot_y = 0.1875 +define_size = 64, pointer.svg diff --git a/src/config/progress.hl b/src/config/progress.hl new file mode 100644 index 00000000..e401ca3e --- /dev/null +++ b/src/config/progress.hl @@ -0,0 +1,15 @@ +resize_algorithm = bilinear +hotspot_x = 0.0625 +hotspot_y = 0.0625 +define_size = 64, progress-01.svg, 30 +define_size = 64, progress-02.svg, 30 +define_size = 64, progress-03.svg, 30 +define_size = 64, progress-04.svg, 30 +define_size = 64, progress-05.svg, 30 +define_size = 64, progress-06.svg, 30 +define_size = 64, progress-07.svg, 30 +define_size = 64, progress-08.svg, 30 +define_size = 64, progress-09.svg, 30 +define_size = 64, progress-10.svg, 30 +define_size = 64, progress-11.svg, 30 +define_size = 64, progress-12.svg, 30 diff --git a/src/config/right-arrow.hl b/src/config/right-arrow.hl new file mode 100644 index 00000000..24c4437f --- /dev/null +++ b/src/config/right-arrow.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.75 +hotspot_y = 0.46875 +define_size = 64, right-arrow.svg diff --git a/src/config/right_ptr.hl b/src/config/right_ptr.hl new file mode 100644 index 00000000..57e48b87 --- /dev/null +++ b/src/config/right_ptr.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.875 +hotspot_y = 0.0625 +define_size = 64, right_ptr.svg diff --git a/src/config/right_side.hl b/src/config/right_side.hl new file mode 100644 index 00000000..92ecf9d2 --- /dev/null +++ b/src/config/right_side.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.65625 +hotspot_y = 0.46875 +define_size = 64, right_side.svg diff --git a/src/config/row-resize.hl b/src/config/row-resize.hl new file mode 100644 index 00000000..9ddc1584 --- /dev/null +++ b/src/config/row-resize.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, row-resize.svg diff --git a/src/config/size_bdiag.hl b/src/config/size_bdiag.hl new file mode 100644 index 00000000..c8eeaad1 --- /dev/null +++ b/src/config/size_bdiag.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, size_bdiag.svg diff --git a/src/config/size_fdiag.hl b/src/config/size_fdiag.hl new file mode 100644 index 00000000..394b8e7b --- /dev/null +++ b/src/config/size_fdiag.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, size_fdiag.svg diff --git a/src/config/size_hor.hl b/src/config/size_hor.hl new file mode 100644 index 00000000..ca5140db --- /dev/null +++ b/src/config/size_hor.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, size_hor.svg diff --git a/src/config/size_ver.hl b/src/config/size_ver.hl new file mode 100644 index 00000000..cbb18754 --- /dev/null +++ b/src/config/size_ver.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, size_ver.svg diff --git a/src/config/text.hl b/src/config/text.hl new file mode 100644 index 00000000..4cf6ea68 --- /dev/null +++ b/src/config/text.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, text.svg diff --git a/src/config/top_left_corner.hl b/src/config/top_left_corner.hl new file mode 100644 index 00000000..4a3d8248 --- /dev/null +++ b/src/config/top_left_corner.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.1875 +hotspot_y = 0.1875 +define_size = 64, top_left_corner.svg diff --git a/src/config/top_right_corner.hl b/src/config/top_right_corner.hl new file mode 100644 index 00000000..281bbb3b --- /dev/null +++ b/src/config/top_right_corner.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.78125 +hotspot_y = 0.1875 +define_size = 64, top_right_corner.svg diff --git a/src/config/top_side.hl b/src/config/top_side.hl new file mode 100644 index 00000000..82e9b9d3 --- /dev/null +++ b/src/config/top_side.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.28125 +define_size = 64, top_side.svg diff --git a/src/config/up-arrow.hl b/src/config/up-arrow.hl new file mode 100644 index 00000000..d5f16681 --- /dev/null +++ b/src/config/up-arrow.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.21875 +define_size = 64, up-arrow.svg diff --git a/src/config/vertical-text.hl b/src/config/vertical-text.hl new file mode 100644 index 00000000..a1423681 --- /dev/null +++ b/src/config/vertical-text.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, vertical-text.svg diff --git a/src/config/wait.hl b/src/config/wait.hl new file mode 100644 index 00000000..c345f508 --- /dev/null +++ b/src/config/wait.hl @@ -0,0 +1,15 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, wait-01.svg, 30 +define_size = 64, wait-02.svg, 30 +define_size = 64, wait-03.svg, 30 +define_size = 64, wait-04.svg, 30 +define_size = 64, wait-05.svg, 30 +define_size = 64, wait-06.svg, 30 +define_size = 64, wait-07.svg, 30 +define_size = 64, wait-08.svg, 30 +define_size = 64, wait-09.svg, 30 +define_size = 64, wait-10.svg, 30 +define_size = 64, wait-11.svg, 30 +define_size = 64, wait-12.svg, 30 diff --git a/src/config/wayland-cursor.hl b/src/config/wayland-cursor.hl new file mode 100644 index 00000000..27501749 --- /dev/null +++ b/src/config/wayland-cursor.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, wayland-cursor.svg diff --git a/src/config/x-cursor.hl b/src/config/x-cursor.hl new file mode 100644 index 00000000..48b03510 --- /dev/null +++ b/src/config/x-cursor.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.46875 +hotspot_y = 0.46875 +define_size = 64, x-cursor.svg diff --git a/src/config/zoom-in.hl b/src/config/zoom-in.hl new file mode 100644 index 00000000..b938e71a --- /dev/null +++ b/src/config/zoom-in.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.40625 +hotspot_y = 0.40625 +define_size = 64, zoom-in.svg diff --git a/src/config/zoom-out.hl b/src/config/zoom-out.hl new file mode 100644 index 00000000..b18b1f4e --- /dev/null +++ b/src/config/zoom-out.hl @@ -0,0 +1,4 @@ +resize_algorithm = bilinear +hotspot_x = 0.40625 +hotspot_y = 0.40625 +define_size = 64, zoom-out.svg