Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (25 loc) · 1.2 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.2 KB

resize-xcursor

A convenient little command line utility I hacked together to resize Xcursor files. This might be useful if you want to use an old X11 cursor theme on a HiDPI display.

Note that this utility currently only supports integer scales greater than (or equal to) 100%.

Examples

Resize one cursor to 200% scale:

$ resize-xcursor -s 2 my-cursor

Resize two cursors to 200% scale, then output the results with new names:

$ resize-xcursor -s 2 my-cursor -o my-cursor-big my-other-cursor -o my-other-cursor-big

Resize an entire directory of cursors to 200% scale, ignoring any files that aren't Xcursors:

$ resize-xcursor -s 2 --ignore-unrecognized *

License

This project is licensed under either the Apache License 2.0 or the MIT license, at your option. Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you (as defined in the Apache 2.0 license) shall be licensed under both licenses, without any additional terms or conditions.