overlay/x11-terms/kitty/files/kitty-0.11.0-svg-icon.patch
Gerardo J. Puerta 20d0f8b41c Bumping kitty
2020-07-16 18:57:34 +02:00

17 lines
668 B
Diff

Use SVG icon instead of PNG.
--- kitty-0.11.0/setup.py
+++ kitty-0.11.0/setup.py
@@ -605,9 +605,9 @@
if not is_macos: # {{{ linux desktop gunk
copy_man_pages(ddir)
copy_html_docs(ddir)
- icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', '256x256', 'apps')
+ icdir = os.path.join(ddir, 'share', 'icons', 'hicolor', 'scalable', 'apps')
safe_makedirs(icdir)
- shutil.copy2('logo/kitty.png', icdir)
+ shutil.copy2('logo/kitty.svg', icdir)
deskdir = os.path.join(ddir, 'share', 'applications')
safe_makedirs(deskdir)
with open(os.path.join(deskdir, 'kitty.desktop'), 'w') as f: