diff --git a/.config/ghostty/README.md b/.config/ghostty/README.md new file mode 100644 index 0000000..e298adc --- /dev/null +++ b/.config/ghostty/README.md @@ -0,0 +1,14 @@ +# Ghostty config — macOS + +Ghostty sur macOS ne lit pas `~/.config/ghostty/`, mais : + + ~/Library/Application Support/com.mitchellh.ghostty/ + +Comme il n'y a pas (encore) de symlink automatisé, copier à la main : + + cp .config/ghostty/themes/ultraviolet \ + "~/Library/Application Support/com.mitchellh.ghostty/themes/ultraviolet" + +Puis dans `~/Library/Application Support/com.mitchellh.ghostty/config`, ajouter : + + theme = ultraviolet diff --git a/.config/ghostty/themes/ultraviolet b/.config/ghostty/themes/ultraviolet new file mode 100644 index 0000000..ebfb6e0 --- /dev/null +++ b/.config/ghostty/themes/ultraviolet @@ -0,0 +1,27 @@ +# UltraViolet theme for Ghostty +# Source: https://github.com/Gurvirr/zed-ultraViolet + +background = 0B0C10 +foreground = DCD8ED + +cursor-color = 6F78FF +cursor-text = 0B0C10 +selection-background = 222226 +selection-foreground = F2F4F8 + +palette = 0=#282828 +palette = 1=#FF6FAE +palette = 2=#08BD8A +palette = 3=#E297DB +palette = 4=#6F78FF +palette = 5=#C58FFF +palette = 6=#B3BCEF +palette = 7=#DCD8ED +palette = 8=#3A3A3A +palette = 9=#FF9BC3 +palette = 10=#3DD4A6 +palette = 11=#F2B1ED +palette = 12=#8B92FF +palette = 13=#D3A8FF +palette = 14=#CAD1FF +palette = 15=#FFFFFF diff --git a/.config/starship.toml b/.config/starship.toml index c8d7147..a07a540 100644 --- a/.config/starship.toml +++ b/.config/starship.toml @@ -1,4 +1,5 @@ # ~/.config/starship.toml +# UltraViolet color scheme — https://github.com/Gurvirr/zed-ultraViolet add_newline = false command_timeout = 1000 @@ -12,21 +13,21 @@ error_symbol = '' # --- [os] -format = '[$symbol](bold white) ' +format = '[$symbol](bold fg:#DCD8ED) ' disabled = false [os.symbols] -Windows = ' ' +Windows = '󰖳 ' Arch = '󰣇' -Ubuntu = '' +Ubuntu = '󰕈' Macos = '󰀵' # --- # Shows the username [username] -style_user = 'white bold' -style_root = 'black bold' +style_user = 'fg:#DCD8ED bold' +style_root = 'fg:#FF6FAE bold' format = '[$user]($style) ' disabled = false show_always = true @@ -34,7 +35,7 @@ show_always = true # Shows the hostname [hostname] ssh_only = false -format = 'on [$hostname](bold purple) ' +format = 'on [$hostname](bold fg:#6F78FF) ' disabled = false # Shows current directory @@ -42,35 +43,34 @@ disabled = false truncation_length = 1 truncation_symbol = '…/' home_symbol = '󰋜 ~' -read_only_style = '197' -read_only = '  ' -format = 'at [$path]($style)[$read_only]($read_only_style) ' +read_only_style = 'fg:#FF6FAE' +read_only = ' 󰌾 ' +format = 'at [$path](fg:#C58FFF)[$read_only]($read_only_style) ' # Shows current git branch [git_branch] -symbol = ' ' +symbol = '󰊢 ' format = 'via [$symbol$branch]($style)' -# truncation_length = 4 truncation_symbol = '…/' -style = 'bold green' +style = 'bold fg:#08BD8A' # Shows current git status [git_status] format = '([ \( $all_status$ahead_behind\)]($style) )' -style = 'bold green' -conflicted = '[ confliced=${count}](red) ' -up_to_date = '[󰘽 up-to-date](green) ' -untracked = '[󰋗 untracked=${count}](red) ' -ahead = ' ahead=${count}' -diverged = ' ahead=${ahead_count}  behind=${behind_count}' -behind = ' behind=${count}' -stashed = '[ stashed=${count}](green) ' -modified = '[󰛿 modified=${count}](yellow) ' -staged = '[󰐗 staged=${count}](green) ' -renamed = '[󱍸 renamed=${count}](yellow) ' -deleted = '[󰍶 deleted=${count}](red) ' +style = 'bold fg:#08BD8A' +conflicted = '[󰽉 conflicted=${count}](fg:#FF6FAE) ' +up_to_date = '[󰸞 up-to-date](fg:#08BD8A) ' +untracked = '[󰋘 untracked=${count}](fg:#FF6FAE) ' +ahead = '[󰜷 ahead=${count}]' +diverged = '[󰜷 ahead=${ahead_count} 󰜸 behind=${behind_count}]' +behind = '[󰜸 behind=${count}]' +stashed = '[󱀇 stashed=${count}](fg:#08BD8A) ' +modified = '[󰷈 modified=${count}](fg:#E297DB) ' +staged = '[󰐗 staged=${count}](fg:#08BD8A) ' +renamed = '[󱍸 renamed=${count}](fg:#E297DB) ' +deleted = '[󰍶 deleted=${count}](fg:#FF6FAE) ' # Shows kubernetes context and namespace [kubernetes] -format = 'via [󱃾 $context\($namespace\)](bold purple) ' -disabled = false \ No newline at end of file +format = 'via [󱃾 $context\($namespace\)](bold fg:#6F78FF) ' +disabled = false