Kovid Goyal
fc13b06b35
Implement proper unit bezier easing function
...
Code based on WebKit
https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/graphics/UnitBezier.h
2024-07-18 22:25:02 +05:30
Kovid Goyal
3c4f2aa1b8
shlex.split -> shlex_split
2023-12-02 15:17:08 +05:30
Kovid Goyal
5fe77e38b7
...
2023-11-13 01:10:38 +05:30
Kovid Goyal
9a08489112
Fix config file reloading not working is a system config file is set and no user config file is present at startup
...
Fixes #6801
2023-11-13 01:02:02 +05:30
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
9375e671bc
dedup choice literals
2023-10-15 10:10:05 +05:30
Kovid Goyal
0e11174aa5
We require python 3.8 so no need to guard typing.Literal
2023-10-15 09:58:19 +05:30
Kovid Goyal
4ffb22199b
Cleanup previous PR
2023-09-03 18:59:37 +05:30
Jake Stewart
f0e9311cc4
conform to style guide
2023-09-03 17:15:26 +08:00
Jake Stewart
2113a22f11
add line break syntax to python config parser
2023-09-03 16:37:34 +08:00
Kovid Goyal
53073f34d7
Cleanup previous PR
2023-05-24 13:31:29 +05:30
Kovid Goyal
40ca46d8d8
Fix default generation for nullable colors
2023-03-28 08:09:37 +05:30
Kovid Goyal
5329546f21
Implement parsing of map
2023-03-27 07:53:54 +05:30
Kovid Goyal
e2fda5d1c4
...
2023-03-15 15:32:04 +05:30
Kovid Goyal
da38cb3254
Add support for more option types to Go conf file parsing
2023-03-15 15:17:38 +05:30
Kovid Goyal
d98504e1a6
Finish porting SSH config file parsing
2023-02-26 08:01:02 +05:30
Kovid Goyal
7b4738125b
Move config code into its own package
2023-02-26 08:01:02 +05:30
Kovid Goyal
747411be00
Finish implementation of config file parsing
...
Still needs tests
2023-02-26 08:01:01 +05:30
Kovid Goyal
32aa580984
Store parsed multi option values on the config object
2023-02-26 08:01:01 +05:30
Kovid Goyal
1470b11024
Dont parse default values
2023-02-26 08:01:01 +05:30
Kovid Goyal
5822bb23f0
Work on porting config file parsing to Go
2023-02-26 08:01:01 +05:30
Kovid Goyal
d550aef792
Fix #6056
2023-02-25 08:49:49 +05:30
Kovid Goyal
836b652f4d
Enable checks for unused noqa
2023-01-09 17:28:35 +05:30
Kovid Goyal
6e41409a3f
Dont run isort on generated conf files
2023-01-09 16:51:59 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff
2023-01-09 16:47:42 +05:30
pagedown
30b25709d2
Fix the base path for envinclude
2022-12-05 14:53:26 +08:00
pagedown
9c488bb877
Docs: Remove extra backslashes from commented config
...
Update docs to use \e in the example.
2022-12-05 14:27:40 +08:00
Kovid Goyal
d7d96c2e7b
When using the include directive in kitty.conf make the environment variable KITTY_OS available for OS specific config
2022-12-04 21:03:24 +05:30
Kovid Goyal
38547c9e7a
Documentation: distinguish between examples and default values for multi-valued options
2022-11-17 17:20:40 +05:30
Yuxin Wu
c0d80f9a47
[docs]: don't show config codeblocks that only has a name
2022-11-17 00:05:50 -08:00
Kovid Goyal
555020cfd5
Also allow using at-cmd
2022-08-28 10:26:38 +05:30
Kovid Goyal
391e2b8488
Fix resolution of anchor names for kitty @ command docs
2022-08-28 10:25:00 +05:30
Kovid Goyal
d595084395
DRYer
2022-08-24 15:02:36 +05:30
Kovid Goyal
b32ee5ee46
Forgot to change code to remove markup for github links
2022-08-24 15:00:39 +05:30
Kovid Goyal
214416f1e3
Fix handling of :doc: in CLI help output
2022-08-24 13:43:47 +05:30
pagedown
fd4a682c5b
Fix doc website URL with duplicate slashes
2022-08-24 13:29:51 +08:00
pagedown
c437a36794
Fix GitHub links in commented configuration
...
Hyperlink GitHub related text roles: iss, pull, disc
2022-08-24 13:27:12 +08:00
Kovid Goyal
10fdde6647
Hyperlink :envvar: as well
2022-08-20 16:24:46 +05:30
Kovid Goyal
3b77f3b4bc
Also hyperlink :term:
2022-08-20 15:40:39 +05:30
Kovid Goyal
e289f4959f
DRYer
2022-08-20 12:03:33 +05:30
Kovid Goyal
b6760a59fa
Another bug in resolve_ref
2022-08-20 11:45:48 +05:30
Kovid Goyal
cd35f92607
Fix resolve_ref()
2022-08-20 11:29:40 +05:30
Kovid Goyal
a59e1adee1
Also hyperlink the :ac: role in CLI help output
2022-08-19 14:05:11 +05:30
Kovid Goyal
3288400005
Make the docs and man pages available in the macos bundle as well
2022-08-19 12:38:10 +05:30
Kovid Goyal
5deed81737
Dont maintain ref_map manually
2022-08-19 11:20:50 +05:30
Kovid Goyal
331f6d4903
Document remote_control_password more thoroughly
...
Also ignore failures in custom auth functions
2022-08-11 05:58:02 +05:30
Kovid Goyal
e64b1ba67c
Start work on remote control passwords
2022-08-10 12:36:04 +05:30
Kovid Goyal
14f4a8d28e
Make modify_font available to C code
2022-07-15 11:06:24 +05:30
Andrew Marshall
90477825c2
Make globinclude sort files before loading
...
`Path.glob` gives no guarantee about the order results are returned in.
This means that if files included by `globinclude` override each other,
the resulting config was non-deterministic. Resolve this by sorting the
results from `glob` to give consistent, well-defined order.
2022-06-17 18:50:16 -04:00
pagedown
76f84e32c4
Fix the generated sample kitty.conf containing invalid options
2022-04-30 02:23:33 +08:00