Commit Graph
38 Commits
Author SHA1 Message Date
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
Kovid Goyal c3b23679f3 Make some themes code re-useable 2022-04-08 11:33:50 +05:30
pagedown 80a62c8d71 Add preamble to generated file and fix gen-config.py filename 2022-02-05 13:05:13 +08:00
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
Kovid Goyal f71e0a6ee8 ... 2021-12-21 10:39:06 +05:30
Kovid Goyal ecea1ba241 ... 2021-11-21 10:05:47 +05:30
Kovid Goyal 0f23edeec3 Fix breakage caused by Color no longer being iterable 2021-11-07 07:15:55 +05:30
pagedown b4a6ed8d8f Allows the visual bell color to be configured 2021-11-02 19:38:36 +08:00
Kovid Goyal 39dcfb4e5d Auto generate the list of all color config keys 2021-11-02 15:16:55 +05:30
Kovid Goyal 2443dc135c Use a faster implementation of the Color type
Now implemented in C
2021-10-28 11:15:13 +05:30
Kovid Goyal a26f041964 Add more type annotations 2021-10-27 12:31:10 +05:30
Kovid Goyal 6546c1da9b run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +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 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 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 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 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 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