changeset 1040:ea090c39e480

feat: enable fish theme
author Zeger Van de Vannet <zeger@vandevan.net>
date Mon, 29 Apr 2024 18:33:04 +0200
parents ebd5e7683e1e
children 979735a38885
files .chezmoiscripts/run_onchange_after_43-setup-fish.sh.tmpl dot_config/kitty/colors/espresso-tutti.conf dot_config/private_fish/themes/Tutti Colori.theme
diffstat 3 files changed, 58 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.chezmoiscripts/run_onchange_after_43-setup-fish.sh.tmpl	Mon Apr 29 18:33:04 2024 +0200
@@ -0,0 +1,21 @@
+{{ if (eq .chezmoi.os "linux") -}}
+#!/usr/bin/env fish
+
+{{ $theme := "NONE" -}}
+{{ if .dark -}}
+{{ $theme = "Catppuccin Mocha" -}}
+{{ else -}}
+{{ $theme = "Tutti Colori" -}}
+{{ end -}}
+
+{{ $themepath := (list "dot_config/private_fish/themes/" $theme  ".theme") | join "" -}}
+{{ if $themepath | lstat -}}
+# Template hash: {{ include $themepath | sha256sum -}}
+{{ end -}}
+echo "Setting fish theme to {{ $theme }}"
+yes | fish_config theme save "{{ $theme }}"
+
+# Fish_plugin hash: {{ include "dot_config/private_fish/fish_plugins" | sha256sum -}}
+fisher update
+
+{{ end }}
--- a/dot_config/kitty/colors/espresso-tutti.conf	Mon Apr 29 08:48:53 2024 +0200
+++ b/dot_config/kitty/colors/espresso-tutti.conf	Mon Apr 29 18:33:04 2024 +0200
@@ -6,21 +6,27 @@
 color0 #000000
 color8 #d1d1d1
 
+# red
 color1 #d44950
 color9 #d44950
 
+# green
 color2  #73b00a
 color10 #73b00a
 
+# orange
 color3  #faa500
 color11 #faa500
 
+# yellow
 color4  #2f6f9f
 color12 #2f6f9f
 
+# purple
 color5  #3a1d72
 color13 #3a1d72
 
+# cyan
 color6  #4f9fcf
 color14 #4f9fcf
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dot_config/private_fish/themes/Tutti Colori.theme	Mon Apr 29 18:33:04 2024 +0200
@@ -0,0 +1,31 @@
+# name: "Tutti Colori"
+# url: "https://hg.vandevan.net/dotfiles"
+# preferred_backgound: #FBFAFC
+
+fish_color_normal 000000
+fish_color_command 73b00a
+fish_color_param 4f9fcf
+fish_color_keyword 2f6f9f
+fish_color_quote e9a700
+fish_color_redirection 4e279a
+fish_color_end 7653c1
+fish_color_comment a1a1a1
+fish_color_error d71707
+fish_color_gray 6c7086
+fish_color_selection --background=d4e9fa
+fish_color_search_match --background=d4e9fa
+fish_color_option 0b51a6
+fish_color_operator 2f6f9f
+fish_color_escape eba0ac
+fish_color_autosuggestion a1a1a1
+fish_color_cancel d71707
+fish_color_cwd f9e2af
+fish_color_user 94e2d5
+fish_color_host 89b4fa
+fish_color_host_remote a6e3a1
+fish_color_status d71707
+
+fish_pager_color_progress 6c7086
+fish_pager_color_prefix 7653c1
+fish_pager_color_completion 222222
+fish_pager_color_description 6c7086