Add a note on how to create a script to launch kitty

Useful when running from source
This commit is contained in:
Kovid Goyal 2018-04-21 15:33:21 +05:30
parent bb939ed4f8
commit 82acd6b511
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -128,6 +128,18 @@ You can run kitty, as:
python3 .
....
If that works, you can create a script to launch kitty:
....
#!/usr/bin/env python3
import runpy
runpy.run_path('/path/to/kitty/dir', run_name='__main__')
....
And place it in `~/bin` or `/usr/bin` so that you can run kitty using
just `kitty`.
=== Linux packages
* Arch Linux: AUR git package https://aur.archlinux.org/packages/kitty-git/