chore: Updated theme, removed starship config
7b263331
3 file(s) · +23 −73
| 4 | 4 | font-family-bold-italic = CommitMono Nerd Font |
|
| 5 | 5 | font-size = 14 |
|
| 6 | 6 | ||
| 7 | - | theme = flexoki-dark |
|
| 8 | - | ||
| 9 | 7 | confirm-close-surface = false |
|
| 10 | 8 | clipboard-read = allow |
|
| 11 | 9 | clipboard-write = allow |
|
| 15 | 13 | window-save-state = always |
|
| 16 | 14 | window-width = 85 |
|
| 17 | 15 | window-height = 30 |
|
| 16 | + | ||
| 17 | + | background = #121113 |
|
| 18 | + | foreground = #ffffff |
|
| 19 | + | ||
| 20 | + | selection-background = #222222 |
|
| 21 | + | selection-foreground = #000000 |
|
| 22 | + | ||
| 23 | + | palette = 0=#121113 |
|
| 24 | + | palette = 1=#5f8787 |
|
| 25 | + | palette = 2=#fbcb97 |
|
| 26 | + | palette = 3=#e78a53 |
|
| 27 | + | palette = 4=#888888 |
|
| 28 | + | palette = 5=#999999 |
|
| 29 | + | palette = 6=#aaaaaa |
|
| 30 | + | palette = 7=#c1c1c1 |
|
| 31 | + | palette = 8=#333333 |
|
| 32 | + | palette = 9=#5f8787 |
|
| 33 | + | palette = 10=#fbcb97 |
|
| 34 | + | palette = 11=#e78a53 |
|
| 35 | + | palette = 12=#888888 |
|
| 36 | + | palette = 13=#999999 |
|
| 37 | + | palette = 14=#aaaaaa |
|
| 38 | + | palette = 15=#c1c1c1 |
|
| 18 | 39 | ||
| 19 | 40 | auto-update-channel = stable |
|
| 20 | 41 | click-repeat-interval = 500 |
|
| 197 | 197 | local files=( |
|
| 198 | 198 | ".zshrc" |
|
| 199 | 199 | "config" |
|
| 200 | - | "starship.toml" |
|
| 201 | 200 | ) |
|
| 202 | 201 | ||
| 203 | 202 | local success_count=0 |
|
| 336 | 335 | ||
| 337 | 336 | # Update Homebrew first |
|
| 338 | 337 | print_status "Updating Homebrew..." |
|
| 339 | - | brew update || print_warning "Homebrew update failed, continuing anyway..." |
|
| 340 | 338 | ||
| 341 | 339 | # Install regular packages |
|
| 342 | 340 | for package in "${packages[@]}"; do |
|
| 406 | 404 | } || print_warning "Failed to backup ghostty config" |
|
| 407 | 405 | fi |
|
| 408 | 406 | ||
| 409 | - | if [ -f "$HOME/.config/starship.toml" ]; then |
|
| 410 | - | mkdir -p "$backup_dir/.config" |
|
| 411 | - | cp "$HOME/.config/starship.toml" "$backup_dir/.config/" && { |
|
| 412 | - | print_success "Backed up starship.toml to $backup_dir" |
|
| 413 | - | backed_up=true |
|
| 414 | - | } || print_warning "Failed to backup starship.toml" |
|
| 415 | - | fi |
|
| 416 | - | ||
| 417 | 407 | if [ "$backed_up" = false ]; then |
|
| 418 | 408 | print_status "No existing configuration files to backup" |
|
| 419 | 409 | rmdir "$backup_dir" 2>/dev/null || true |
|
| 452 | 442 | fi |
|
| 453 | 443 | else |
|
| 454 | 444 | print_error "Ghostty config not found in downloaded files: $TEMP_DIR/config" |
|
| 455 | - | ((install_errors++)) |
|
| 456 | - | fi |
|
| 457 | - | ||
| 458 | - | # Install starship config |
|
| 459 | - | if [ -f "$TEMP_DIR/starship.toml" ]; then |
|
| 460 | - | print_debug "Installing starship config to $HOME/.config/" |
|
| 461 | - | mkdir -p "$HOME/.config" |
|
| 462 | - | if cp "$TEMP_DIR/starship.toml" "$HOME/.config/"; then |
|
| 463 | - | print_success "Installed starship.toml" |
|
| 464 | - | else |
|
| 465 | - | print_error "Failed to install starship.toml" |
|
| 466 | - | ((install_errors++)) |
|
| 467 | - | fi |
|
| 468 | - | else |
|
| 469 | - | print_error "starship.toml not found in downloaded files: $TEMP_DIR/starship.toml" |
|
| 470 | 445 | ((install_errors++)) |
|
| 471 | 446 | fi |
|
| 472 | 447 | ||
| 1 | - | format = """ |
|
| 2 | - | $username\ |
|
| 3 | - | $hostname\ |
|
| 4 | - | $directory\ |
|
| 5 | - | $git_branch\ |
|
| 6 | - | $git_state\ |
|
| 7 | - | $git_status\ |
|
| 8 | - | $cmd_duration\ |
|
| 9 | - | $line_break\ |
|
| 10 | - | $python\ |
|
| 11 | - | $character""" |
|
| 12 | - | ||
| 13 | - | [directory] |
|
| 14 | - | style = "blue" |
|
| 15 | - | ||
| 16 | - | [character] |
|
| 17 | - | success_symbol = "[❯](purple)" |
|
| 18 | - | error_symbol = "[❯](red)" |
|
| 19 | - | vimcmd_symbol = "[❮](green)" |
|
| 20 | - | ||
| 21 | - | [git_branch] |
|
| 22 | - | format = "[$branch]($style)" |
|
| 23 | - | style = "bright-black" |
|
| 24 | - | ||
| 25 | - | [git_status] |
|
| 26 | - | format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)" |
|
| 27 | - | style = "cyan" |
|
| 28 | - | conflicted = "" |
|
| 29 | - | untracked = "" |
|
| 30 | - | modified = "" |
|
| 31 | - | staged = "" |
|
| 32 | - | renamed = "" |
|
| 33 | - | deleted = "" |
|
| 34 | - | stashed = "≡" |
|
| 35 | - | ||
| 36 | - | [git_state] |
|
| 37 | - | format = '\([$state( $progress_current/$progress_total)]($style)\) ' |
|
| 38 | - | style = "bright-black" |
|
| 39 | - | ||
| 40 | - | [cmd_duration] |
|
| 41 | - | format = "[$duration]($style) " |
|
| 42 | - | style = "yellow" |
|
| 43 | - | ||
| 44 | - | [python] |
|
| 45 | - | format = "[$virtualenv]($style) " |
|
| 46 | - | style = "bright-black" |