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
dbce9a8f29
themes kitten: Fix only the first custom theme file being loaded
...
Fixes #3938
2021-08-16 20:27:21 +05:30
Kovid Goyal
477a652b44
Function to update a theme file
2021-08-11 09:09:07 +05:30
Kovid Goyal
15e0b42f04
Make the regex for commenting settings more robust
2021-08-11 08:46:42 +05:30
Kovid Goyal
ba9adc127e
Use realpath when creating conf.bak as well
2021-08-08 10:49:41 +05:30
Kovid Goyal
80db2f6558
Completion for theme names
2021-08-08 09:57:57 +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
5a47e0d2e4
Make reload_conf_in_all_kitties re-useable
2021-08-08 09:38:29 +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
4645e78fa7
Reload config in parent kitty when running the themes kitten
2021-08-07 16:54:47 +05:30
Kovid Goyal
94575a5cf6
Implement modifying of kitty.conf
...
An include for the current theme is added and
all existing color related settings are commented out
so that the theme overlays on kitty's default settings.
2021-08-07 16:34:41 +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
96857a197c
Allow default theme to have no settings
2021-08-05 11:20:01 +05:30
Kovid Goyal
2486cfd45d
Move match() into a more re-useable location
2021-08-05 06:59:24 +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
Kovid Goyal
a99a080c50
More work on theme loading
2021-08-02 21:46:33 +05:30
Kovid Goyal
4a1ca8d582
Move theme parser into kitty code
2021-08-02 18:54:48 +05:30
Kovid Goyal
050eb5660d
Start work on themes kitten
2021-08-02 17:56:31 +05:30