dotfiles/private_dot_config/private_fish/functions
Anton Volnuhin 384bfe57b3 fish: add theme command to toggle kitty light/dark
`theme` switches kitty between the existing dark-theme.auto.conf and
light-theme.auto.conf via `kitty @ set-colors --all --configured`, so it
stays in sync with whatever `kitten themes --light/--dark` selects.
Subcommands: light, dark, auto (hand control back to the OS appearance
via load-config), status.

Tide is resynced by calling __tide_apply_terminal_appearance directly,
so the prompt recolors even if kitty sends no palette-change
notification for a dynamic color change. conf.d/kitty_theme.fish tracks
$fish_terminal_color_theme into $kitty_theme_mode so the toggle still
reads the real state after kitty follows an OS appearance change.

light-theme.auto.conf had no tab colors, which left the dark tab bar on
a light background after switching; add a matching tab style block.
2026-08-06 01:15:47 +03:00
..
__kitty_host_color.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
__kitty_ssh_host.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
__kitty_tab_reset.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
__kitty_tab_set.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
__kitty_theme_current.fish fish: add theme command to toggle kitty light/dark 2026-08-06 01:15:47 +03:00
n.fish lazygit, dust, nnn, mc, nethogs, ngrep, mtr, tmux, jq 2023-06-01 10:42:00 +03:00
private___tide_apply_terminal_appearance.fish fish, kitty: follow terminal light theme 2026-07-27 20:20:38 +03:00
private___tide_terminal_light_color.fish fish, kitty: follow terminal light theme 2026-07-27 20:20:38 +03:00
private_kitten.fish fix(kitty): preserve tab styling across themes 2026-07-28 04:53:48 +03:00
ssh.fish kitty: color terminal tabs by ssh/mosh host 2026-05-19 23:08:32 +03:00
theme.fish fish: add theme command to toggle kitty light/dark 2026-08-06 01:15:47 +03:00
tide-reset.fish new tide config, cmd+N for kitty, slightly bigger font in kitty 2026-04-05 19:36:34 +03:00