diff --git a/README.md b/README.md index 1b8dd458..91dd3694 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,6 @@ cursor SVGs. - [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. @@ -120,9 +118,7 @@ cursor SVGs. ```bash just all # Build all flavor-accent variants. - 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. ``` diff --git a/build b/build index b3651eae..2617eb07 100755 --- a/build +++ b/build @@ -19,41 +19,6 @@ build_svgs() { done } -create_hyprcursors() { - local src_dir="$1" - local out_dir="$2" - local hypr_dir="$out_dir/hyprcursors" - - [ -d "$out_dir" ] || mkdir -p "$out_dir" - [ -d "$hypr_dir" ] || mkdir -p "$hypr_dir" - - hyprcursor-util -x "$src_dir" -o "$out_dir" >/dev/null -} - -compile_hyprcursors() { - local hl_dir="$1" - local out_dir="$2" - local src_dir="$3" - local theme_name="$(basename "$1" | sed 's/extracted_//')" - - [ -d "$hl_dir" ] || return 1 - [ -d "$out_dir" ] || mkdir -p "$out_dir" - - hyprcursor-util -c "$hl_dir" -o "$out_dir" >/dev/null - # For whatever reason, hyprcursor appends "Extracted Theme" to the end so we have to work around it - mv "$out_dir/theme_Extracted Theme/hyprcursors" "$out_dir/hyprcursors" - rm -rf "$out_dir/theme_Extracted Theme" - - local theme_comment="$(grep Comment "$src_dir"/index.theme)" - - cat >"$out_dir"/manifest.hl <<-EOM -name = ${theme_name%-cursors} -description = ${theme_comment#Comment=} -version = "v1.0.1" # x-release-please-version -cursors_directory = hyprcursors -EOM -} - SCRIPT_DIR="$(dirname "$0")" SRC_DIR="$SCRIPT_DIR/src" OUT_DIR="$SCRIPT_DIR/dist" @@ -66,7 +31,6 @@ LICENSE="$SCRIPT_DIR/LICENSE" ALIASES="$SRC_DIR/cursorList" ACCENTS="blue dark flamingo green lavender light maroon mauve peach pink red rosewater sapphire sky teal yellow" -HYPRCURSOR=0 while getopts "f:a:h" option; do case $option in @@ -77,7 +41,7 @@ while getopts "f:a:h" option; do ACCENTS="$OPTARG" ;; h) - HYPRCURSOR=1 + echo "uneeded, hyprcursor is generated by default now." ;; \?) echo "Invalid option: -$OPTARG" @@ -87,41 +51,31 @@ while getopts "f:a:h" 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 SVGs..." build_svgs $SRC_DIR $FLAVOR echo "[INFO] - Generating SVGs complete." -echo "[INFO] - Converting to xcursor & creating plasma svg cursors..." +echo "[INFO] - Building cursor formats; xcursor, hyprcursor, plasmasvg..." for accent in $ACCENTS; do theme_name="catppuccin-$FLAVOR-$accent-cursors" theme_src_dir="$SVGS_DIR/$theme_name" theme_out_dir="$OUT_DIR/$theme_name" theme_png_dir="$PNG_DIR/$theme_name" + theme_hl_dir="$HL_DIR/$theme_name" - scripts/build-xcursor-plasmasvg "$theme_src_dir" "$theme_png_dir" "$theme_out_dir" + scripts/build-cursors "$theme_src_dir" "$theme_png_dir" "$theme_hl_dir" "$theme_out_dir" cp -f "$AUTHORS" "$theme_out_dir" cp -f "$LICENSE" "$theme_out_dir" cp -f "$theme_src_dir/index.theme" "$theme_out_dir" -done -echo "[INFO] - Converting to xcursor & creating plasma svg cursors complete" - -if [[ $HYPRCURSOR == 1 ]]; then - echo "[INFO] - Generating hyprcursor theme..." - for accent in $ACCENTS; do - theme_name="catppuccin-$FLAVOR-$accent-cursors" - theme_src_dir="$OUT_DIR/$theme_name" - theme_hl_dir="$HL_DIR/extracted_$theme_name" - theme_out_dir="$OUT_DIR/$theme_name" - create_hyprcursors "$theme_src_dir" "$HL_DIR" "$theme_name" - compile_hyprcursors "$theme_hl_dir" "$theme_out_dir" "$theme_src_dir" - done - echo "[INFO] - Generating hyprcursor theme complete" -fi + theme_comment="$(grep Comment "$theme_src_dir"/index.theme)" + cat >"$theme_out_dir"/manifest.hl <<-EOM +name = ${theme_name%-cursors} +description = ${theme_comment#Comment=} +version = "v1.0.1" # x-release-please-version +cursors_directory = hyprcursors +EOM +done +echo "[INFO] - Finished building cursor formats; xcursor, hyprcursor, plasmasvg" diff --git a/default.nix b/default.nix index 497ba42b..21a83593 100644 --- a/default.nix +++ b/default.nix @@ -4,8 +4,6 @@ inkscape, just, xcursorgen, - xcur2png, - hyprcursor, zip, catppuccin-whiskers, python3, @@ -30,9 +28,7 @@ stdenvNoCC.mkDerivation { nativeBuildInputs = [ just xcursorgen - xcur2png inkscape - hyprcursor zip catppuccin-whiskers python3 @@ -43,7 +39,7 @@ stdenvNoCC.mkDerivation { runHook preBuild patchShebangs . - just all_with_hyprcursor + just all just zip runHook postBuild diff --git a/justfile b/justfile index 7f69d0e9..d6172aff 100644 --- a/justfile +++ b/justfile @@ -7,9 +7,8 @@ accents := "blue dark flamingo green lavender light maroon mauve peach pink red clean: rm -rf pngs/ hl/ dist/ releases/ svgs/ -# Remove all hyprcursor related files -clean_hl: - rm -rf hl/ +# Remove all hyprcursor related files // deprecated +clean_hl: clean # Zip all directories inside of "./dist" zip: @@ -26,6 +25,5 @@ build_with_hyprcursor f a=accents: clean_hl # Generate all flavors with their accents 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") - +# Generate all flavors with their accents with hyprcursor support // deprecated +all_with_hyprcursor: all diff --git a/scripts/build-xcursor-plasmasvg b/scripts/build-cursors similarity index 64% rename from scripts/build-xcursor-plasmasvg rename to scripts/build-cursors index 661f8eca..31f90789 100755 --- a/scripts/build-xcursor-plasmasvg +++ b/scripts/build-cursors @@ -4,6 +4,7 @@ set -euo pipefail BIN_DIR="$( dirname "${BASH_SOURCE[0]}" )" SRC_DIR="src" +HL_DIR="$3" BUILD_DIR="$2" RAWSVG_DIR="$1" ALIASES="$SRC_DIR/cursorList" @@ -39,11 +40,12 @@ done inkscape --shell <<<${genPixmaps} &>/dev/null # Generate cursor theme -OUTPUT=$3 +OUTPUT=$4 rm -rf "$OUTPUT" mkdir -p "$OUTPUT/cursors" mkdir -p "$OUTPUT/cursors_scalable" -$BIN_DIR/generate-xcursor-plasmasvg ${RAWSVG_DIR} "$BUILD_DIR" "$OUTPUT/cursors" "$OUTPUT/cursors_scalable" ${NOMINAL_SIZE} ${FRAME_TIME} ${SCALES} +mkdir -p "$HL_DIR" +$BIN_DIR/generate-metadata ${RAWSVG_DIR} "$BUILD_DIR" "$OUTPUT/cursors" "$OUTPUT/cursors_scalable" "$HL_DIR" ${NOMINAL_SIZE} ${FRAME_TIME} ${SCALES} # Generate shortcuts while read ALIAS ; do @@ -67,3 +69,27 @@ while read ALIAS ; do ln -s "$TO" "$OUTPUT/cursors_scalable/$FROM" done < $ALIASES + +while read ALIAS ; do + FROM=${ALIAS% *} + TO=${ALIAS#* } + + if [[ -e "$HL_DIR/$FROM" ]]; then + continue + fi + + if [ -f "$HL_DIR/$TO/meta.hl" ]; then # need to ensure $TO is not a mapping itself + echo -ne "\ndefine_override = $FROM" >> $HL_DIR/$TO/meta.hl; + else + grep=$(grep -m 1 "^$TO " $ALIASES) + TO=${grep#* } + echo -ne "\ndefine_override = $FROM" >> $HL_DIR/$TO/meta.hl + fi +done < $ALIASES + +#zip up hyprcursor +mkdir -p "$OUTPUT/hyprcursors" +for dir in $HL_DIR/*; do + dir_name=$(basename $dir) + zip -qr "$OUTPUT/hyprcursors/$dir_name.hlc" -j "$dir/" +done diff --git a/scripts/generate-xcursor-plasmasvg b/scripts/generate-metadata similarity index 72% rename from scripts/generate-xcursor-plasmasvg rename to scripts/generate-metadata index db4f6471..25209e29 100755 --- a/scripts/generate-xcursor-plasmasvg +++ b/scripts/generate-metadata @@ -15,17 +15,18 @@ from PySide6.QtSvg import QSvgRenderer # from potential off-by-one errors when the cursor is scaled. HOTSPOT_DISPLACE = 1 -if len(sys.argv) <= 7: - print("Usage: " + sys.argv[0] + " ") +if len(sys.argv) <= 8: + print("Usage: " + sys.argv[0] + " ") sys.exit(1) svg_dir = Path(sys.argv[1]) pixmap_dir = Path(sys.argv[2]) xcursor_output_dir = Path(sys.argv[3]) svg_cursor_output_dir = Path(sys.argv[4]) -nominal_size = int(sys.argv[5]) -delay = int(sys.argv[6]) -scales = [int(i) for i in sys.argv[7:]] +hyprcursor_output_dir = Path(sys.argv[5]) +nominal_size = int(sys.argv[6]) +delay = int(sys.argv[7]) +scales = [int(i) for i in sys.argv[8:]] svg_files = list(svg_dir.glob("*.svg")) svg_files.sort() @@ -94,3 +95,23 @@ for svg_file in svg_files: "delay": delay }) json.dump(l, metadata) + # Generate hypr cursor + output_dir = hyprcursor_output_dir / basename + output_dir.mkdir(parents=True, exist_ok=True) + hotspot_x = round(hotspot.x() / nominal_size, 4) # convert to hyprcursor's hotspot format + hotspot_y = round(hotspot.y() / nominal_size, 4) + with open(output_dir / "meta.hl", "w") as meta_file: + meta_data = f"""resize_algorithm = none +hotspot_x = {hotspot_x} +hotspot_y = {hotspot_y}""" + if len(frames) == 0: + filename = svg_file.name + shutil.copyfile(svg_file, output_dir / filename) + meta_data += f"\ndefine_size = 0, {filename}" + meta_file.write(meta_data) + else: + for i in frames: + filename = i.name + shutil.copyfile(i, output_dir / filename) + meta_data += f"\ndefine_size = 0, {filename}, {delay}" + meta_file.write(meta_data) diff --git a/src/config/alias.hl b/src/config/alias.hl deleted file mode 100644 index 3d802669..00000000 --- a/src/config/alias.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 8e18e8fa..00000000 --- a/src/config/all-scroll.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index c2d7ce74..00000000 --- a/src/config/bottom_left_corner.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 391ae598..00000000 --- a/src/config/bottom_right_corner.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index f89d815e..00000000 --- a/src/config/bottom_side.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index f96bb4ae..00000000 --- a/src/config/cell.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index d29f9431..00000000 --- a/src/config/center_ptr.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index ea3aded4..00000000 --- a/src/config/col-resize.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index ac1327ac..00000000 --- a/src/config/color-picker.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index b6bc5e67..00000000 --- a/src/config/context-menu.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index ce8e64d0..00000000 --- a/src/config/copy.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index fdd55019..00000000 --- a/src/config/crosshair.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 1aa087cf..00000000 --- a/src/config/default.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 65229194..00000000 --- a/src/config/dnd-move.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 4fbf83b8..00000000 --- a/src/config/dnd-no-drop.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 8a85bf64..00000000 --- a/src/config/down-arrow.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 9e2dadd4..00000000 --- a/src/config/draft.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index ce1737ff..00000000 --- a/src/config/fleur.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index e80f4c04..00000000 --- a/src/config/help.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 1fe5fa61..00000000 --- a/src/config/left-arrow.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 56f4b2fe..00000000 --- a/src/config/left_side.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 47499846..00000000 --- a/src/config/no-drop.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 8f294369..00000000 --- a/src/config/not-allowed.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 43f4b4b2..00000000 --- a/src/config/openhand.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index c97bf507..00000000 --- a/src/config/pencil.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index aba76cfe..00000000 --- a/src/config/pirate.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 0fd69a4e..00000000 --- a/src/config/pointer.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index e401ca3e..00000000 --- a/src/config/progress.hl +++ /dev/null @@ -1,15 +0,0 @@ -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 deleted file mode 100644 index 24c4437f..00000000 --- a/src/config/right-arrow.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 57e48b87..00000000 --- a/src/config/right_ptr.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 92ecf9d2..00000000 --- a/src/config/right_side.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 9ddc1584..00000000 --- a/src/config/row-resize.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index c8eeaad1..00000000 --- a/src/config/size_bdiag.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 394b8e7b..00000000 --- a/src/config/size_fdiag.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index ca5140db..00000000 --- a/src/config/size_hor.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index cbb18754..00000000 --- a/src/config/size_ver.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 4cf6ea68..00000000 --- a/src/config/text.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 4a3d8248..00000000 --- a/src/config/top_left_corner.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 281bbb3b..00000000 --- a/src/config/top_right_corner.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 82e9b9d3..00000000 --- a/src/config/top_side.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index d5f16681..00000000 --- a/src/config/up-arrow.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index a1423681..00000000 --- a/src/config/vertical-text.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index c345f508..00000000 --- a/src/config/wait.hl +++ /dev/null @@ -1,15 +0,0 @@ -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 deleted file mode 100644 index 27501749..00000000 --- a/src/config/wayland-cursor.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index 48b03510..00000000 --- a/src/config/x-cursor.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index b938e71a..00000000 --- a/src/config/zoom-in.hl +++ /dev/null @@ -1,4 +0,0 @@ -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 deleted file mode 100644 index b18b1f4e..00000000 --- a/src/config/zoom-out.hl +++ /dev/null @@ -1,4 +0,0 @@ -resize_algorithm = bilinear -hotspot_x = 0.40625 -hotspot_y = 0.40625 -define_size = 64, zoom-out.svg