changeset 314:8a1cbc033fc1

don't use kitty pkg
author drewp@bigasterisk.com
date Mon, 23 Sep 2024 00:34:56 -0700
parents b3acb9fff274
children 2d20824d8e8b
files package_lists.py packages.py
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/package_lists.py	Mon Sep 23 00:32:36 2024 -0700
+++ b/package_lists.py	Mon Sep 23 00:34:56 2024 -0700
@@ -214,7 +214,6 @@
     'imwheel',
     'jq',
     'k4dirstat',
-    'kitty',
     'libheif-examples',
     'libreoffice-draw',
     'libreoffice-impress',
--- a/packages.py	Mon Sep 23 00:32:36 2024 -0700
+++ b/packages.py	Mon Sep 23 00:34:56 2024 -0700
@@ -7,6 +7,7 @@
 
 
 def kitty():
+    apt.packages(packages=['kitty'], present=False, force=True)
     vers = '0.36.2'  # see https://github.com/kovidgoyal/kitty/releases
     home = '/home/drewp'
     local = f"{home}/.local/kitty"
@@ -18,6 +19,7 @@
         f"aunpack --extract-to={local} {dl}",
     ])
     files.link(target="{local}/bin/kitty", path="{home}/bin/kitty")
+    files.link(target="{local}/bin/kitten", path="{home}/bin/kitten")
 
 
 def nodejs():