First iteration of cursor dark theme for kitty, tmux, fish

This commit is contained in:
2026-08-05 10:13:57 +02:00
parent 14c53abbf3
commit e5fb57c279
8 changed files with 136 additions and 83 deletions
+29 -23
View File
@@ -1,36 +1,42 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export BROWSER:wslview
SETUVAR --export COMPOSE_BAKE:true
SETUVAR --export DISPLAY:\x3a0
SETUVAR --export EDITOR:nvim
SETUVAR --export PYENV_ROOT:/home/tfoerster/\x2epyenv
SETUVAR --export VISUAL:nvim
SETUVAR --export _JAVA_AWT_WM_NONREPARENTING:1
SETUVAR __fish_initialized:3800
SETUVAR fish_color_autosuggestion:4c566a
SETUVAR fish_color_autosuggestion:666666
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:green
SETUVAR fish_color_comment:434c5e
SETUVAR fish_color_cwd:green
SETUVAR fish_color_cwd_root:red
SETUVAR fish_color_end:88c0d0
SETUVAR fish_color_error:ebcb8b
SETUVAR fish_color_escape:00a6b2
SETUVAR fish_color_command:569CD6
SETUVAR fish_color_comment:6A9955
SETUVAR fish_color_cwd:4EC9B0
SETUVAR fish_color_cwd_root:F14C4C
SETUVAR fish_color_end:C586C0
SETUVAR fish_color_error:F14C4C
SETUVAR fish_color_escape:D7BA7D
SETUVAR fish_color_history_current:\x2d\x2dbold
SETUVAR fish_color_host:normal
SETUVAR fish_color_host_remote:yellow
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
SETUVAR fish_color_host:569CD6
SETUVAR fish_color_host_remote:DCDCAA
SETUVAR fish_color_keyword:C586C0
SETUVAR fish_color_match:\x2d\x2dbackground\x3d264F78
SETUVAR fish_color_normal:normal
SETUVAR fish_color_operator:00a6b2
SETUVAR fish_color_operator:D4D4D4
SETUVAR fish_color_option:9CDCFE
SETUVAR fish_color_param:normal
SETUVAR fish_color_quote:999900
SETUVAR fish_color_redirection:00afff
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
SETUVAR fish_color_status:red
SETUVAR fish_color_user:brgreen
SETUVAR fish_color_quote:CE9178
SETUVAR fish_color_redirection:9CDCFE
SETUVAR fish_color_search_match:\x2d\x2dbackground\x3d264F78
SETUVAR fish_color_selection:E5E5E5\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3d264F78
SETUVAR fish_color_status:F14C4C
SETUVAR fish_color_user:9CDCFE
SETUVAR fish_color_valid_path:\x2d\x2dunderline
SETUVAR fish_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/home/n0x/\x2ecargo/bin\x1e/home/n0x/\x2elocal/bin
SETUVAR fish_pager_color_description:9D9D9D
SETUVAR fish_pager_color_prefix:569CD6\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:E5E5E5\x1e\x2d\x2dbackground\x3d264F78
SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3d264F78
SETUVAR fish_user_paths:/home/tfoerster/\x2eopencode/bin\x1e/home/tfoerster/\x2elocal/bin
+13 -14
View File
@@ -1,20 +1,19 @@
set fish_prompt_pwd_dir_length 0
set __fish_git_prompt_show_informative_status 1
# Fish command and parameter colors
set fish_color_command green
set fish_color_param $fish_color_normal
# Command and parameter colors come from fish_variables (Cursor Dark)
# Git prompt
set __fish_git_prompt_showdirtystate 'yes'
set __fish_git_prompt_showupstream 'yes'
set __fish_git_prompt_color_branch brown
set __fish_git_prompt_color_dirtystate FCBC47
set __fish_git_prompt_color_stagedstate yellow
set __fish_git_prompt_color_upstream cyan
set __fish_git_prompt_color_cleanstate green
set __fish_git_prompt_color_invalidstate red
# Colors mirror Cursor's git decorations
set __fish_git_prompt_color_branch 569CD6
set __fish_git_prompt_color_dirtystate E2C08D
set __fish_git_prompt_color_stagedstate 73C991
set __fish_git_prompt_color_upstream 4EC9B0
set __fish_git_prompt_color_cleanstate 73C991
set __fish_git_prompt_color_invalidstate E4676B
# Git Characters
set __fish_git_prompt_char_dirtystate '*'
@@ -41,9 +40,9 @@ end
function _prompt_color_for_status
if test $argv[1] -eq 0
echo magenta
echo C586C0
else
echo red
echo F14C4C
end
end
@@ -51,7 +50,7 @@ function fish_prompt
set -l last_status $status
# username and hostname
_print_in_color "┏["$USER"@"(prompt_hostname)"]" blue
_print_in_color "┏["$USER"@"(prompt_hostname)"]" 569CD6
# current working dir
_print_in_color " "(prompt_pwd) $fish_color_cwd
@@ -59,10 +58,10 @@ function fish_prompt
__fish_git_prompt " (%s)"
# beginning of new line
_print_in_color "\n┗" blue
_print_in_color "\n┗" 569CD6
# time information
_print_in_color " "(date "+%H:%M:%S") green
_print_in_color " "(date "+%H:%M:%S") 73C991
# little error that indicates the status of the previous command
_print_in_color " " (_prompt_color_for_status $last_status)