Kovid Goyal
9443b0e361
Remove themes python code
2023-03-14 20:28:45 +05:30
Kovid Goyal
f9b0b54ee5
Start work on porting themes kitten to Go
2023-03-14 12:29:44 +05:30
Kovid Goyal
d4e34a4c31
themes kitten: Nicer error message when no internet connection is present
...
Fixes #5877
2023-01-11 09:00:58 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff
2023-01-09 16:47:42 +05:30
Kovid Goyal
4e90ae68a4
...
2023-01-06 11:33:47 +05:30
Kovid Goyal
e16e3c1582
Clarify the common use case for --config-file-name
2023-01-06 10:42:46 +05:30
pagedown
a131f9a82e
Refactor: Use a consistent name for beam cursor shape
2022-11-19 10:34:50 +08:00
Kovid Goyal
7737369fc9
Add completion for the kittens
2022-11-14 15:41:58 +05:30
James Reid
0b79cbdb3b
Add "user" tab to themes kitten
...
Add new tab named "user" to the built-in themes kitten - new tab
filters and displays only user-defined color themes, identified by
adding "is_user_defined" property to "Theme" class which defaults
to False, and is set True when a theme is fetched using the
"load_from_dir" method.
2022-05-30 19:25:09 +01:00
James Reid
1dc6b49e02
Remove hard coded tab string in ThemesHandler
...
Remove hard coded tab string and replace with self.tabs, which is
a reference to the same tab string defined in the __init__ of
ThemesHandler
2022-05-30 19:17:07 +01:00
Kovid Goyal
c3b23679f3
Make some themes code re-useable
2022-04-08 11:33:50 +05:30
pagedown
4a3ed62809
Refactor: More f-string for kittens
2022-01-29 20:23:34 +08:00
Kovid Goyal
5cdff7d6d0
themes kitten: Allow writing to a different file than kitty.conf
2022-01-27 20:24:39 +05:30
pagedown
7246fb347c
Remove the unused function
2022-01-01 21:29:06 +08:00
Kovid Goyal
4448444d4b
Fix #4289
2021-11-28 11:47:25 +05:30
Kovid Goyal
5c7a1d1b05
Fix typo
2021-11-17 15:19:17 +05:30
Kovid Goyal
4494ddd8ff
mypy: Turn on return value checks
...
Its a shame GvR is married to "return None"
https://github.com/python/mypy/issues/7511
2021-10-26 22:39:14 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6
2021-10-21 12:43:55 +05:30
Kovid Goyal
da3f34603a
DRYer
2021-10-12 07:41:52 +05:30
Kovid Goyal
97a8ff3478
Fix #4113
2021-10-12 07:35:11 +05:30
Kovid Goyal
7e17ed21ce
Use the atomic update decorator everywhere
2021-09-27 12:00:33 +05:30
Kovid Goyal
efaeb0f0b2
Remove backslashes from CLI theme names if no theme with the name is found
2021-09-12 09:35:31 +05:30
Kovid Goyal
e376c79dda
Show the current theme name in kitty.conf as well
2021-08-08 09:42:07 +05:30
Kovid Goyal
ca9143bebc
Allow reloading conf in all kitty instances as well
2021-08-08 09:33:36 +05:30
Kovid Goyal
d916ecc4f3
Add a non-interactive mode to the themes kitten
2021-08-08 07:57:14 +05:30
Kovid Goyal
a597a8d86b
Make the recent list functional
2021-08-07 15:31:03 +05:30
Kovid Goyal
d01ac17334
Implement placing of selected theme in kitty config dir
2021-08-07 15:04:32 +05:30
Kovid Goyal
2c96727c45
Implement searching in the themes kitten
2021-08-07 11:17:32 +05:30
Kovid Goyal
064fc17ce3
More work on themes kitten
2021-08-05 21:38:39 +05:30
Kovid Goyal
43ccf9cb41
Draw theme demo
2021-08-05 13:17:16 +05:30
Kovid Goyal
3c3662b032
Limit display length for theme names
2021-08-04 23:18:57 +05:30
Kovid Goyal
96326280e5
Use a pending update when drawing the screen
2021-08-04 22:06:05 +05:30
Kovid Goyal
9b7899780b
Implement drawing the list of themes
2021-08-04 21:56:33 +05:30
Kovid Goyal
e01cd057e8
Fix timestamp not being updated in downloaded zip file comment
...
Also clean up tab bar formatting
2021-08-04 20:34:00 +05:30
Kovid Goyal
ba85ca1991
Finish the tab bar for the themes kitten
2021-08-04 19:06:07 +05:30
Kovid Goyal
92a9b71f21
More work on the themes kitten
2021-08-04 18:43:26 +05:30
Kovid Goyal
7090c24321
More work on the themes kitten
2021-08-04 14:13:09 +05:30
Kovid Goyal
8a6b51441c
More work on themes kitten
2021-08-04 07:36:09 +05:30
Kovid Goyal
36670b49a0
Make creation of kitty-themes.zip atomic
2021-08-03 17:47:47 +05:30
Kovid Goyal
a402d848d2
Work on themes kitten UI
2021-08-03 17:32:15 +05:30
Kovid Goyal
5f6cb34f77
placeholder
2021-08-02 21:54:06 +05:30