23 Commits

Author SHA1 Message Date
Martin Rys efcacd0885 Oxipng/svgo images to save some 150KB~ 2024-03-25 23:42:56 +01:00
Kovid Goyal 77292a16d6 Make shebangs consistent
Follow PEP 0394 and use /usr/bin/env python so that the python in the
users venv is respected. Not that the kitty python files are meant to be
executed standalone anyway, but, whatever.

Fixes #6810
2023-11-11 08:32:05 +05:30
Kovid Goyal 7fe5d7b58f Replace isort with ruff 2023-01-09 16:47:42 +05:30
pagedown dc61adf9d8 Refactor: More f-string 2022-01-28 19:34:13 +08:00
ImgBotApp d9d922546f [ImgBot] Optimize images
*Total -- 1,755.23kb -> 1,446.79kb (17.57%)

/logo/kitty.svg -- 8.90kb -> 5.57kb (37.39%)
/docs/screenshots/transfer.png -- 31.21kb -> 22.24kb (28.73%)
/docs/screenshots/themes.png -- 139.72kb -> 110.23kb (21.1%)
/logo/beam-cursor@2x.png -- 1.47kb -> 1.19kb (18.76%)
/docs/screenshots/screenshot.png -- 1,178.10kb -> 958.20kb (18.67%)
/docs/screenshots/remote_file.png -- 54.77kb -> 45.50kb (16.93%)
/docs/screenshots/hints_mode.png -- 61.53kb -> 52.64kb (14.45%)
/docs/screenshots/unicode.png -- 87.86kb -> 75.63kb (13.92%)
/docs/screenshots/panel.png -- 11.81kb -> 10.49kb (11.21%)
/docs/screenshots/diff.png -- 131.05kb -> 118.51kb (9.57%)
/docs/screenshots/splits.png -- 42.34kb -> 40.15kb (5.17%)
/logo/kitty-framed.svg -- 6.49kb -> 6.45kb (0.59%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-11-25 05:39:11 +00:00
Birger J. Nordølum 58b5e645c6 chore(logo): add missing attribution
The Big Sur template includes a CC BY 4.0 license, hence the attribution
with the details of the change.
2021-04-29 09:11:20 +02:00
Birger J. Nordølum 689fd03250 fix(logo): make the icon more inline with Big Sur
This tries to follow the Human Interface Guidelines
from Apple.
2021-04-28 15:37:13 +02:00
Kovid Goyal 3fcf83e685 Use a framed icon on macOS
Fits better with Apple's icon style
2021-04-26 12:07:35 +05:30
Kovid Goyal 5a2f2767ad Fix window icon not working on X11 with 64bits
Apparently on X11 the maximum icon size is 128x128. 256x256 is too
large for the X11 protocol because the X server unserializes the icons
using "unsigned long" which is 64 bits on Linux. So we have to use
64bits per pixel instead of 32, with 32bits padded to 0.

While there I also got rid of the kitty.rgba file replacing it with a
128x128 PNG file.

Fixes #3260
2021-01-25 20:54:19 +05:30
Luflosi 527ff0238a Replace all instances of EnvironmentError with OSError
According to the text just above https://docs.python.org/3/library/exceptions.html#EnvironmentError, `EnvironmentError` has been an alias of `OSError` since Python 3.3. Replacing it makes the code more consistent since `OSError` is used in other places in the code too.
2020-01-11 16:47:36 +01:00
Kovid Goyal 6f8214c15c Add the generated macOS icons to git
Removes the need for optipng/librsvg when building kitty.
2019-06-28 13:48:09 +05:30
Kovid Goyal a56475e32f Dont use chdir() in logo/make.py 2019-06-28 13:44:42 +05:30
Luflosi a792c94ccf Use python3 shebang for all python scripts
Fixes #1624.
Use python3 shebang for all python scripts as python still defaults to python2 on many systems.
2019-05-20 14:44:24 +02:00
Kovid Goyal 4313531432 macOS: Use a custom mouse cursor that shows up well on both light and dark backgrounds
Fixes #359. Also, update GLFW from upstream for retina cursor setting
support.
2018-07-07 10:43:30 +05:30
Justin Li 71f84b1023 reduce icon set size to fit iconutil limits 2018-03-30 22:57:34 -07:00
Kovid Goyal 94e8be6b1c ... 2018-02-27 20:29:08 +05:30
Kovid Goyal 053ba7f082 Nicer error message when user tries to run logo/make.py with missing tools 2018-02-27 19:56:52 +05:30
Koichi Shiraishi eb93cd4048 Add missing 64 size because doesn't create icon_32x32@2x.png 2018-01-12 00:59:19 +09:00
Kovid Goyal 25913f77e0 Add a clean action to setup.py 2017-10-17 13:35:54 +05:30
Kovid Goyal 3ee99a61ff Make the logo a little nicer 2017-02-02 15:23:46 +05:30
Kovid Goyal e00de927c7 Explicitly set depth when rendering kitty.rgba 2017-01-20 07:50:04 +05:30
Kovid Goyal df5c225b5a Set window icon on linux 2017-01-18 20:52:06 +05:30
Kovid Goyal 60815bf359 A logo for kitty 2017-01-18 19:56:43 +05:30