Skip to content

Instantly share code, notes, and snippets.

@adrianvalenz
Created October 23, 2024 15:51
Show Gist options
  • Select an option

  • Save adrianvalenz/07871fb5b1147c65f5c78a9cffd35230 to your computer and use it in GitHub Desktop.

Select an option

Save adrianvalenz/07871fb5b1147c65f5c78a9cffd35230 to your computer and use it in GitHub Desktop.

Revisions

  1. adrianvalenz created this gist Oct 23, 2024.
    78 changes: 78 additions & 0 deletions ristretto.tmux
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,78 @@
    # Ristretto
    rr_bg="#2c2525"
    rr_bg_1="#403838"
    rr_bg_2="#5b5353"
    rr_bg_3="#1a1515"
    rr_fg="#fff8f9"
    rr_fg_2="#72696a"
    rr_fg_2="#948a8b"
    rr_fg_2="#b5a9aa"
    rr_fg_4="#fff1f3"
    rr_white="#ffffff"
    rr_red="#fd6883"
    rr_orange="#f38d70"
    rr_yellow="#f9cc6c"
    rr_green="#adda78"
    rr_blue="#85dacc"
    rr_purple="#a8a9eb"
    rr_pink="#fd6883"
    rr_orig_red="#f92672"
    rr_orig_orange="#fd971f"
    rr_orig_yellow="#e6db74"
    rr_orig_green="#a6e22e"
    rr_orig_cyan="#a1efe4"
    rr_orig_blue="#66d9ef"
    rr_orig_violet="#ae81ff"
    rr_orig_magenta="#fd5ff0"

    set-option -g status-position bottom

    # Basic status bar colors
    set -g status-style bg="$rr_bg_3"

    # Left side of status bar is empty
    set -g status-left ""

    # Right side, containing session name
    set -g status-right-style bg="$rr_yellow",fg="$rr_bg"
    set -g status-right-length 150

    if-shell '[ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]' \
    'set -g status-right " #S #[bg=$rr_purple, bold] #H "' \
    'set -g status-right " #S "'

    # Window status
    # The currently active tab
    set -g window-status-current-format "#[fg="$rr_fg",bg="$rr_bg",bold] #I #[fg="$rr_bg",bg="$rr_yellow", bold] #W #[default]"

    # The inactive windows
    set -g window-status-format "#[fg="$thm_fg",bg="$rr_bg",bold] #I #[fg="$rr_fg",bg="$rr_bg_1",nobold] #W #[default]"

    # Current window status
    set -g window-status-current-style none

    # Window with activity status
    set -g window-status-activity-style bg="$rr_blue",fg="$rr_fg"

    # Window separator
    set -g window-status-separator ""

    # Selection menu
    set -wg mode-style bg="$rr_yellow",fg="$rr_bg"

    # Window status alignment
    set -g status-justify left

    # Active pane border
    set -g pane-active-border-style bg=default,fg="$rr_blue"

    # Pane border
    set -g pane-border-style bg=default,fg="$rr_bg_2"

    # Pane number indicator
    set -g display-panes-colour "$rr_bg_2"
    set -g display-panes-active-colour "$rr_yellow"

    # Clock mode
    set -g clock-mode-colour "$rr_yellow"
    set -g clock-mode-style 24