Closed
Description
Describe the bug
When text_fg_override_threshold
is set and kitty +kitten themes <theme>
is used, it will change the terminal to black&white. If used with --reload-in=all
they all become black&white. Open a new instance does show the new theme though.
To Reproduce
Steps to reproduce the behavior:
- Add
text_fg_override_threshold 5
tokitty.conf
- Run
kitty +kitten themes 1984 Light
orkitty +kitten themes 1984 Dark
- See the loss of color
- Open a new kitty instance and it shows the new theme correctly
Screenshots
Environment details
kitty 0.29.2 created by Kovid Goyal
Linux dn 6.4.8 #1-NixOS SMP PREEMPT_DYNAMIC Thu Aug 3 08:26:15 UTC 2023 x86_64
<<< Welcome to NixOS 23.11.19700101.dirty (x86_64) - /dev/tty >>>
Run 'nixos-help' for the NixOS manual.
DISTRIB_CODENAME=tapir
DISTRIB_DESCRIPTION="NixOS 23.11 (Tapir)"
DISTRIB_ID=nixos
DISTRIB_RELEASE="23.11"
LSB_VERSION="23.11 (Tapir)"
Running under: Wayland
Frozen: False
Paths:
kitty: /nix/store/nys6a99ng9pmvc08swf97p8wdrj7dkq8-kitty-0.29.2/bin/kitty
base dir: /nix/store/nys6a99ng9pmvc08swf97p8wdrj7dkq8-kitty-0.29.2/lib/kitty
extensions dir: /nix/store/nys6a99ng9pmvc08swf97p8wdrj7dkq8-kitty-0.29.2/lib/kitty/kitty
system shell: /run/current-system/sw/bin/fish
Loaded config files:
/home/kenny/.config/kitty/kitty.conf
Config options different from defaults:
text_fg_override_threshold 5.0
url_style 1
Colors:
background #e4e5f5
color1 #ff16b0
color10 #00af4f
color11 #ff8d01
color12 #0098fd
color13 #f806fa
color14 #00b2be
color15 #feffff
color2 #00af4f
color3 #ff8d01
color4 #0098fd
color5 #f806fa
color6 #00b2be
color7 #feffff
color8 #000000
color9 #ff16b0
cursor #00b2be
foreground #19152c
selection_background #ff16b0
selection_foreground #19152c
url_color #ff16b0
Important environment variables seen by the kitty process:
PATH /nix/store/nys6a99ng9pmvc08swf97p8wdrj7dkq8-kitty-0.29.2/bin:/nix/store/7vajzfb2q6w5d1qxw09fshsgjq2nq13d-imagemagick-7.1.1-15/bin:/nix/store/hn938y1ma585mzhx2vcrsxr6rvgmabwz-ncurses-6.4-dev/bin:/run/wrappers/bin:/home/kenny/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/home/kenny/.nix-profile/bin:/etc/profiles/per-user/kenny/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin
LANG en_CA.UTF-8
EDITOR nvim
SHELL /run/current-system/sw/bin/fish
DISPLAY :0
WAYLAND_DISPLAY wayland-1
USER kenny
XCURSOR_SIZE 30
XDG_CONFIG_DIRS /etc/xdg:/home/kenny/.local/share/flatpak/exports/etc/xdg:/var/lib/flatpak/exports/etc/xdg:/home/kenny/.nix-profile/etc/xdg:/etc/profiles/per-user/kenny/etc/xdg:/nix/var/nix/profiles/default/etc/xdg:/run/current-system/sw/etc/xdg
XDG_BIN_HOME /home/kenny/.local/bin
XDG_DATA_HOME /home/kenny/.local/share
XDG_CONFIG_HOME /home/kenny/.config
XDG_SEAT seat0
XDG_SESSION_TYPE wayland
XDG_CURRENT_DESKTOP sway
XDG_CACHE_HOME /home/kenny/.cache
XDG_SESSION_CLASS user
XDG_DESKTOP_PORTAL_DIR /nix/store/08wj8bpk614rvwv2vpchm75366xxxvwa-xdg-portals/share/xdg-desktop-portal/portals
XDG_VTNR 1
XDG_SESSION_ID 3
XDG_STATE_HOME /home/kenny/.local/state
XDG_RUNTIME_DIR /run/user/1000
XDG_DATA_DIRS /nix/store/jcb8nvqll1kn7r82c5xi4gad15p8ai1n-desktops/share:/home/kenny/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/home/kenny/.nix-profile/share:/etc/profiles/per-user/kenny/share:/nix/var/nix/profiles/default/share:/run/current-system/sw/share
Additional context
Minimum config:
text_fg_override_threshold 5
# BEGIN_KITTY_THEME
# 1984 Light
include current-theme.conf
# END_KITTY_THEME