chore: Moved from stow to fling
661f7ea2
153 file(s) · +40 −10707
| 1 | - | /zed/.config/zed/conversations/ |
|
| 2 | - | /.DS_Store |
|
| 1 | + | /zed/conversations/* |
|
| 2 | + | .DS_Store |
|
| 3 | 3 | /zed/.config/zed/prompts/prompts-library-db.0.mdb/ |
|
| 4 | + |
| 1 | - | set -g default-terminal "xterm-256color" |
|
| 2 | - | set-option -ga terminal-overrides ",xterm-256color:Tc" |
|
| 3 | - | set -ga terminal-overrides ",xterm-256color:Tc" |
|
| 4 | - | set-option -g default-shell /opt/homebrew/bin/fish |
|
| 5 | - | ||
| 6 | - | # action key |
|
| 7 | - | unbind C-b |
|
| 8 | - | set-option -g prefix C-q |
|
| 9 | - | set-option -g repeat-time 0 |
|
| 10 | - | set -g @tpm-clean 'u' |
|
| 11 | - | bind-key x kill-pane # skip "kill-pane 1? (y/n)" prompt |
|
| 12 | - | set -g detach-on-destroy off # don't exit from tmux when closing a session |
|
| 13 | - | ||
| 14 | - | # Plugins |
|
| 15 | - | set -g @plugin 'tmux-plugins/tpm' |
|
| 16 | - | set -g @plugin 'tmux-plugins/tmux-sensible' |
|
| 17 | - | set -g @plugin 'joshmedeski/t-smart-tmux-session-manager' |
|
| 18 | - | set -g @plugin 'christoomey/vim-tmux-navigator' |
|
| 19 | - | set -g @t-fzf-prompt ' ' |
|
| 20 | - | ||
| 21 | - | set -g @plugin 'tinted-theming/base16-tmux' |
|
| 22 | - | bind-key b set-option status |
|
| 23 | - | ||
| 24 | - | set-window-option -g mode-keys vi |
|
| 25 | - | ||
| 26 | - | # turn on mouse |
|
| 27 | - | set -g mouse on |
|
| 28 | - | ||
| 29 | - | #bind t send-key C-t |
|
| 30 | - | # Reload settings |
|
| 31 | - | bind r source-file ~/.tmux.conf \; display "Reloaded!" |
|
| 32 | - | # Open current directory |
|
| 33 | - | bind o run-shell "open #{pane_current_path}" |
|
| 34 | - | bind -r e kill-pane -a |
|
| 35 | - | ||
| 36 | - | # vim-like pane switching |
|
| 37 | - | bind -r k select-pane -U |
|
| 38 | - | bind -r j select-pane -D |
|
| 39 | - | bind -r h select-pane -L |
|
| 40 | - | bind -r l select-pane -R |
|
| 41 | - | ||
| 42 | - | # Moving window |
|
| 43 | - | bind-key -n C-S-Left swap-window -t -1 \; previous-window |
|
| 44 | - | bind-key -n C-S-Right swap-window -t +1 \; next-window |
|
| 45 | - | ||
| 46 | - | # Resizing pane |
|
| 47 | - | bind -r C-k resize-pane -U 5 |
|
| 48 | - | bind -r C-j resize-pane -D 5 |
|
| 49 | - | bind -r C-h resize-pane -L 5 |
|
| 50 | - | bind -r C-l resize-pane -R 5 |
|
| 51 | - | ||
| 52 | - | # Start windows and panes at 1, not 0 |
|
| 53 | - | set -g base-index 1 |
|
| 54 | - | set -g pane-base-index 1 |
|
| 55 | - | set-window-option -g pane-base-index 1 |
|
| 56 | - | set-option -g renumber-windows on |
|
| 57 | - | ||
| 58 | - | # Opens split panes in current path |
|
| 59 | - | bind '"' split-window -v -c "#{pane_current_path}" |
|
| 60 | - | bind % split-window -h -c "#{pane_current_path}" |
|
| 61 | - | ||
| 62 | - | ||
| 63 | - | #set-option utf8-default on |
|
| 64 | - | #set-option -g mouse-select-pane |
|
| 65 | - | set-window-option -g mode-keys vi |
|
| 66 | - | #set-window-option -g utf8 on |
|
| 67 | - | # look'n feel |
|
| 68 | - | set-option -g status-position "top" |
|
| 69 | - | set-option -g status-style bg=colour0,fg=default |
|
| 70 | - | set-option -g status-justify centre |
|
| 71 | - | set-option -g status-left '#[bg=default,fg=default,bold]#{?client_prefix,, }#[bg=default,fg=colour3,bold]#{?client_prefix, ,}' |
|
| 72 | - | set-option -g status-right '#S' |
|
| 73 | - | set-option -g window-status-format '#[bg=colour0,fg=colour2] #W ' |
|
| 74 | - | set-option -g window-status-current-format '#[bg=colour0,fg=colour3] #W#{?window_zoomed_flag, , }' |
|
| 75 | - | ||
| 76 | - | ||
| 77 | - | run '~/.tmux/plugins/tpm/tpm' |
| 1 | - | import = ["/Users/stevedsimkins/.config/alacritty/poimandres.toml"] |
|
| 2 | - | live_config_reload = true |
|
| 3 | - | ||
| 4 | - | [colors] |
|
| 5 | - | draw_bold_text_with_bright_colors = false |
|
| 6 | - | ||
| 7 | - | [cursor.style] |
|
| 8 | - | blinking = "On" |
|
| 9 | - | shape = "Block" |
|
| 10 | - | ||
| 11 | - | [env] |
|
| 12 | - | TERM = "xterm-256color" |
|
| 13 | - | ||
| 14 | - | [font] |
|
| 15 | - | size = 14.0 |
|
| 16 | - | ||
| 17 | - | [font.glyph_offset] |
|
| 18 | - | x = 0 |
|
| 19 | - | y = 0 |
|
| 20 | - | ||
| 21 | - | [font.normal] |
|
| 22 | - | family = "CommitMono Nerd Font" |
|
| 23 | - | ||
| 24 | - | [font.offset] |
|
| 25 | - | x = 0 |
|
| 26 | - | y = 0 |
|
| 27 | - | ||
| 28 | - | [[keyboard.bindings]] |
|
| 29 | - | action = "Paste" |
|
| 30 | - | key = "V" |
|
| 31 | - | mods = "Command" |
|
| 32 | - | ||
| 33 | - | [[keyboard.bindings]] |
|
| 34 | - | action = "Copy" |
|
| 35 | - | key = "C" |
|
| 36 | - | mods = "Command" |
|
| 37 | - | ||
| 38 | - | [[keyboard.bindings]] |
|
| 39 | - | action = "Quit" |
|
| 40 | - | key = "Q" |
|
| 41 | - | mods = "Command" |
|
| 42 | - | ||
| 43 | - | [[keyboard.bindings]] |
|
| 44 | - | action = "CreateNewWindow" |
|
| 45 | - | key = "N" |
|
| 46 | - | mods = "Command" |
|
| 47 | - | ||
| 48 | - | [[keyboard.bindings]] |
|
| 49 | - | chars = "\u0011T" |
|
| 50 | - | key = "K" |
|
| 51 | - | mods = "Command" |
|
| 52 | - | ||
| 53 | - | [selection] |
|
| 54 | - | save_to_clipboard = true |
|
| 55 | - | semantic_escape_chars = ",│`|:\"' ()[]{}<>" |
|
| 56 | - | ||
| 57 | - | [window] |
|
| 58 | - | decorations = "buttonless" |
|
| 59 | - | dynamic_padding = false |
|
| 60 | - | opacity = 1.0 |
|
| 61 | - | startup_mode = "Windowed" |
|
| 62 | - | ||
| 63 | - | [window.dimensions] |
|
| 64 | - | columns = 85 |
|
| 65 | - | lines = 30 |
|
| 66 | - | ||
| 67 | - | [window.padding] |
|
| 68 | - | x = 10 |
|
| 69 | - | y = 4 |
| 1 | - | env: |
|
| 2 | - | TERM: xterm-256color |
|
| 3 | - | ||
| 4 | - | window: |
|
| 5 | - | # Window dimensions (changes require restart) |
|
| 6 | - | # |
|
| 7 | - | # Specified in number of columns/lines, not pixels. If both are zero this |
|
| 8 | - | # setting is ignored. |
|
| 9 | - | dimensions: |
|
| 10 | - | columns: 85 |
|
| 11 | - | lines: 30 |
|
| 12 | - | ||
| 13 | - | # Window padding (changes require restart) |
|
| 14 | - | # |
|
| 15 | - | # Blank space added around the window in pixels. This padding is not scaled by |
|
| 16 | - | # DPI and the specified value is always added at both opposing sides. |
|
| 17 | - | padding: |
|
| 18 | - | x: 10 |
|
| 19 | - | y: 4 |
|
| 20 | - | ||
| 21 | - | # Spread additional padding evenly around the terminal content. |
|
| 22 | - | dynamic_padding: false |
|
| 23 | - | ||
| 24 | - | # Window decorations |
|
| 25 | - | # |
|
| 26 | - | # Available values: |
|
| 27 | - | # - full: borders and title bar |
|
| 28 | - | # - none: neither borders nor title bar |
|
| 29 | - | # - transparent: title bar, transparent background and title bar buttons |
|
| 30 | - | # - buttonless: title bar, transparent background, but no title bar buttons |
|
| 31 | - | decorations: buttonless |
|
| 32 | - | ||
| 33 | - | # Startup Mode (changes require restart) |
|
| 34 | - | # |
|
| 35 | - | # Values for `startup_mode`: |
|
| 36 | - | # - Windowed |
|
| 37 | - | # - Maximized |
|
| 38 | - | # - Fullscreen |
|
| 39 | - | # |
|
| 40 | - | # Values for `startup_mode` (macOS only): |
|
| 41 | - | # - SimpleFullscreen |
|
| 42 | - | startup_mode: Windowed |
|
| 43 | - | ||
| 44 | - | # Background opacity |
|
| 45 | - | opacity: 1.0 |
|
| 46 | - | ||
| 47 | - | # Font configuration (changes require restart) |
|
| 48 | - | font: |
|
| 49 | - | # The normal (roman) font face to use. |
|
| 50 | - | # Style can be specified to pick a specific face. |
|
| 51 | - | normal: |
|
| 52 | - | family: CommitMono Nerd Font |
|
| 53 | - | # family: Hack Nerd Font Mono |
|
| 54 | - | # family: BerkeleyMono Nerd Font |
|
| 55 | - | # family: "Fira Code" |
|
| 56 | - | # family: "Source Code Pro" |
|
| 57 | - | # style: Retina |
|
| 58 | - | ||
| 59 | - | # Point size of the font |
|
| 60 | - | size: 14.0 |
|
| 61 | - | ||
| 62 | - | # Offset is the extra space around each character. offset.y can be thought of |
|
| 63 | - | # as modifying the linespacing, and offset.x as modifying the letter spacing. |
|
| 64 | - | offset: |
|
| 65 | - | x: 0 |
|
| 66 | - | y: 0 |
|
| 67 | - | ||
| 68 | - | # Glyph offset determines the locations of the glyphs within their cells with |
|
| 69 | - | # the default being at the bottom. Increase the x offset to move the glyph to |
|
| 70 | - | # the right, increase the y offset to move the glyph upward. |
|
| 71 | - | glyph_offset: |
|
| 72 | - | x: 0 |
|
| 73 | - | y: 0 |
|
| 74 | - | ||
| 75 | - | # Thin stroke font rendering (macOS only) |
|
| 76 | - | # |
|
| 77 | - | # Thin strokes are suitable for retina displays, but for non-retina you |
|
| 78 | - | # probably want this set to false. |
|
| 79 | - | # |
|
| 80 | - | # macOS >= 10.14.x: |
|
| 81 | - | # |
|
| 82 | - | # If the font quality on non-retina display looks bad then set |
|
| 83 | - | # `use_thin_strokes` to `true` and enable font smoothing by running the |
|
| 84 | - | # following command: |
|
| 85 | - | # `defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO` |
|
| 86 | - | # |
|
| 87 | - | # This is a global setting and will require a log out or restart to take |
|
| 88 | - | # effect. |
|
| 89 | - | ||
| 90 | - | # When true, bold text is drawn using the bright variant of colors. |
|
| 91 | - | draw_bold_text_with_bright_colors: false |
|
| 92 | - | ||
| 93 | - | # Use custom cursor colors. If true, display the cursor in the cursor.foreground |
|
| 94 | - | # and cursor.background colors, otherwise invert the colors of the cursor. |
|
| 95 | - | custom_cursor_colors: true |
|
| 96 | - | ||
| 97 | - | cursor: |
|
| 98 | - | ||
| 99 | - | style: |
|
| 100 | - | ||
| 101 | - | shape: Block |
|
| 102 | - | blinking: On |
|
| 103 | - | ||
| 104 | - | import: |
|
| 105 | - | # uncomment the flavour you want below: |
|
| 106 | - | # - ~/.config/alacritty/rose-pine.yml |
|
| 107 | - | # - ~/.config/alacritty/gruvbox-material.yml |
|
| 108 | - | #- ~/.config/alacritty/flexoki.yml |
|
| 109 | - | - ~/.config/alacritty/poimandres.toml |
|
| 110 | - | ||
| 111 | - | key_bindings: |
|
| 112 | - | - { key: V, mods: Command, action: Paste } |
|
| 113 | - | - { key: C, mods: Command, action: Copy } |
|
| 114 | - | - { key: Q, mods: Command, action: Quit } |
|
| 115 | - | - { key: N, mods: Command, action: CreateNewWindow } |
|
| 116 | - | - { key: K, mods: Command, chars: "\x11\x54" } # open t - tmux smart session manager |
|
| 117 | - | ||
| 118 | - | live_config_reload: true |
|
| 119 | - | ||
| 120 | - | selection: |
|
| 121 | - | semantic_escape_chars: ',│`|:"'' ()[]{}<>' |
|
| 122 | - | save_to_clipboard: true |
| 1 | - | # Colors (Ayu Dark) |
|
| 2 | - | ||
| 3 | - | # Default colors |
|
| 4 | - | [colors.primary] |
|
| 5 | - | background = '#0A0E14' |
|
| 6 | - | foreground = '#B3B1AD' |
|
| 7 | - | ||
| 8 | - | # Normal colors |
|
| 9 | - | [colors.normal] |
|
| 10 | - | black = '#01060E' |
|
| 11 | - | red = '#EA6C73' |
|
| 12 | - | green = '#91B362' |
|
| 13 | - | yellow = '#F9AF4F' |
|
| 14 | - | blue = '#53BDFA' |
|
| 15 | - | magenta = '#FAE994' |
|
| 16 | - | cyan = '#90E1C6' |
|
| 17 | - | white = '#C7C7C7' |
|
| 18 | - | ||
| 19 | - | # Bright colors |
|
| 20 | - | [colors.bright] |
|
| 21 | - | black = '#686868' |
|
| 22 | - | red = '#F07178' |
|
| 23 | - | green = '#C2D94C' |
|
| 24 | - | yellow = '#FFB454' |
|
| 25 | - | blue = '#59C2FF' |
|
| 26 | - | magenta = '#FFEE99' |
|
| 27 | - | cyan = '#95E6CB' |
|
| 28 | - | white = '#FFFFFF' |
Binary file — no preview.
| 1 | - | colors: |
|
| 2 | - | primary: |
|
| 3 | - | background: "#100F0F" |
|
| 4 | - | foreground: "#CECDC3" |
|
| 5 | - | cursor: |
|
| 6 | - | text: "#CECDC3" |
|
| 7 | - | cursor: "#1C1B1A" |
|
| 8 | - | vi_mode_cursor: |
|
| 9 | - | text: "#CECDC3" |
|
| 10 | - | cursor: "#1C1B1A" |
|
| 11 | - | line_indicator: |
|
| 12 | - | foreground: None |
|
| 13 | - | background: None |
|
| 14 | - | selection: |
|
| 15 | - | text: "#CECDC3" |
|
| 16 | - | background: "#282726" |
|
| 17 | - | normal: |
|
| 18 | - | black: "#1C1B1A" |
|
| 19 | - | red: "#AF3029" |
|
| 20 | - | green: "#66800B" |
|
| 21 | - | yellow: "#AD8301" |
|
| 22 | - | blue: "#205EA6" |
|
| 23 | - | magenta: "#A02F6F" |
|
| 24 | - | cyan: "#24837B" |
|
| 25 | - | white: "#CECDC3" |
|
| 26 | - | bright: |
|
| 27 | - | black: "#282726" |
|
| 28 | - | red: "#D14D41" |
|
| 29 | - | green: "#879A39" |
|
| 30 | - | yellow: "#D0A215" |
|
| 31 | - | blue: "#4385BE" |
|
| 32 | - | magenta: "#CE5D97" |
|
| 33 | - | cyan: "#3AA99F" |
|
| 34 | - | white: "#CECDC3" |
|
| 35 | - | hints: |
|
| 36 | - | start: |
|
| 37 | - | foreground: "#575653" |
|
| 38 | - | background: "#1C1B1A" |
|
| 39 | - | end: |
|
| 40 | - | foreground: "#575653" |
|
| 41 | - | background: "#1C1B1A" |
| 1 | - | # The definition of color schemes. |
|
| 2 | - | schemes: |
|
| 3 | - | gruvbox_material_hard_dark: &gruvbox_material_hard_dark |
|
| 4 | - | primary: |
|
| 5 | - | background: '0x1d2021' |
|
| 6 | - | foreground: '0xd4be98' |
|
| 7 | - | normal: |
|
| 8 | - | black: '0x32302f' |
|
| 9 | - | red: '0xea6962' |
|
| 10 | - | green: '0xa9b665' |
|
| 11 | - | yellow: '0xd8a657' |
|
| 12 | - | blue: '0x7daea3' |
|
| 13 | - | magenta: '0xd3869b' |
|
| 14 | - | cyan: '0x89b482' |
|
| 15 | - | white: '0xd4be98' |
|
| 16 | - | bright: |
|
| 17 | - | black: '0x32302f' |
|
| 18 | - | red: '0xea6962' |
|
| 19 | - | green: '0xa9b665' |
|
| 20 | - | yellow: '0xd8a657' |
|
| 21 | - | blue: '0x7daea3' |
|
| 22 | - | magenta: '0xd3869b' |
|
| 23 | - | cyan: '0x89b482' |
|
| 24 | - | white: '0xd4be98' |
|
| 25 | - | gruvbox_material_medium_dark: &gruvbox_material_medium_dark |
|
| 26 | - | primary: |
|
| 27 | - | background: '0x282828' |
|
| 28 | - | foreground: '0xd4be98' |
|
| 29 | - | normal: |
|
| 30 | - | black: '0x3c3836' |
|
| 31 | - | red: '0xea6962' |
|
| 32 | - | green: '0xa9b665' |
|
| 33 | - | yellow: '0xd8a657' |
|
| 34 | - | blue: '0x7daea3' |
|
| 35 | - | magenta: '0xd3869b' |
|
| 36 | - | cyan: '0x89b482' |
|
| 37 | - | white: '0xd4be98' |
|
| 38 | - | bright: |
|
| 39 | - | black: '0x3c3836' |
|
| 40 | - | red: '0xea6962' |
|
| 41 | - | green: '0xa9b665' |
|
| 42 | - | yellow: '0xd8a657' |
|
| 43 | - | blue: '0x7daea3' |
|
| 44 | - | magenta: '0xd3869b' |
|
| 45 | - | cyan: '0x89b482' |
|
| 46 | - | white: '0xd4be98' |
|
| 47 | - | gruvbox_material_soft_dark: &gruvbox_material_soft_dark |
|
| 48 | - | primary: |
|
| 49 | - | background: '0x32302f' |
|
| 50 | - | foreground: '0xd4be98' |
|
| 51 | - | normal: |
|
| 52 | - | black: '0x45403d' |
|
| 53 | - | red: '0xea6962' |
|
| 54 | - | green: '0xa9b665' |
|
| 55 | - | yellow: '0xd8a657' |
|
| 56 | - | blue: '0x7daea3' |
|
| 57 | - | magenta: '0xd3869b' |
|
| 58 | - | cyan: '0x89b482' |
|
| 59 | - | white: '0xd4be98' |
|
| 60 | - | bright: |
|
| 61 | - | black: '0x45403d' |
|
| 62 | - | red: '0xea6962' |
|
| 63 | - | green: '0xa9b665' |
|
| 64 | - | yellow: '0xd8a657' |
|
| 65 | - | blue: '0x7daea3' |
|
| 66 | - | magenta: '0xd3869b' |
|
| 67 | - | cyan: '0x89b482' |
|
| 68 | - | white: '0xd4be98' |
|
| 69 | - | gruvbox_material_hard_light: &gruvbox_material_hard_light |
|
| 70 | - | primary: |
|
| 71 | - | background: '0xf9f5d7' |
|
| 72 | - | foreground: '0x654735' |
|
| 73 | - | normal: |
|
| 74 | - | black: '0x654735' |
|
| 75 | - | red: '0xc14a4a' |
|
| 76 | - | green: '0x6c782e' |
|
| 77 | - | yellow: '0xb47109' |
|
| 78 | - | blue: '0x45707a' |
|
| 79 | - | magenta: '0x945e80' |
|
| 80 | - | cyan: '0x4c7a5d' |
|
| 81 | - | white: '0xf2e5bc' |
|
| 82 | - | bright: |
|
| 83 | - | black: '0x654735' |
|
| 84 | - | red: '0xc14a4a' |
|
| 85 | - | green: '0x6c782e' |
|
| 86 | - | yellow: '0xb47109' |
|
| 87 | - | blue: '0x45707a' |
|
| 88 | - | magenta: '0x945e80' |
|
| 89 | - | cyan: '0x4c7a5d' |
|
| 90 | - | white: '0xf2e5bc' |
|
| 91 | - | gruvbox_material_medium_light: &gruvbox_material_medium_light |
|
| 92 | - | primary: |
|
| 93 | - | background: '0xfbf1c7' |
|
| 94 | - | foreground: '0x654735' |
|
| 95 | - | normal: |
|
| 96 | - | black: '0x654735' |
|
| 97 | - | red: '0xc14a4a' |
|
| 98 | - | green: '0x6c782e' |
|
| 99 | - | yellow: '0xb47109' |
|
| 100 | - | blue: '0x45707a' |
|
| 101 | - | magenta: '0x945e80' |
|
| 102 | - | cyan: '0x4c7a5d' |
|
| 103 | - | white: '0xeee0b7' |
|
| 104 | - | bright: |
|
| 105 | - | black: '0x654735' |
|
| 106 | - | red: '0xc14a4a' |
|
| 107 | - | green: '0x6c782e' |
|
| 108 | - | yellow: '0xb47109' |
|
| 109 | - | blue: '0x45707a' |
|
| 110 | - | magenta: '0x945e80' |
|
| 111 | - | cyan: '0x4c7a5d' |
|
| 112 | - | white: '0xeee0b7' |
|
| 113 | - | gruvbox_material_soft_light: &gruvbox_material_soft_light |
|
| 114 | - | primary: |
|
| 115 | - | background: '0xf2e5bc' |
|
| 116 | - | foreground: '0x654735' |
|
| 117 | - | normal: |
|
| 118 | - | black: '0x654735' |
|
| 119 | - | red: '0xc14a4a' |
|
| 120 | - | green: '0x6c782e' |
|
| 121 | - | yellow: '0xb47109' |
|
| 122 | - | blue: '0x45707a' |
|
| 123 | - | magenta: '0x945e80' |
|
| 124 | - | cyan: '0x4c7a5d' |
|
| 125 | - | white: '0xe6d5ae' |
|
| 126 | - | bright: |
|
| 127 | - | black: '0x654735' |
|
| 128 | - | red: '0xc14a4a' |
|
| 129 | - | green: '0x6c782e' |
|
| 130 | - | yellow: '0xb47109' |
|
| 131 | - | blue: '0x45707a' |
|
| 132 | - | magenta: '0x945e80' |
|
| 133 | - | cyan: '0x4c7a5d' |
|
| 134 | - | white: '0xe6d5ae' |
|
| 135 | - | ||
| 136 | - | # Apply the color scheme. |
|
| 137 | - | colors: *gruvbox_material_hard_dark |
| 1 | - | # Kanagawa Alacritty Colors |
|
| 2 | - | colors: |
|
| 3 | - | primary: |
|
| 4 | - | background: '0x181616' |
|
| 5 | - | foreground: '0xdcd7ba' |
|
| 6 | - | ||
| 7 | - | normal: |
|
| 8 | - | black: '0x090618' |
|
| 9 | - | red: '0xc34043' |
|
| 10 | - | green: '0x76946a' |
|
| 11 | - | yellow: '0xc0a36e' |
|
| 12 | - | blue: '0x7e9cd8' |
|
| 13 | - | magenta: '0x957fb8' |
|
| 14 | - | cyan: '0x6a9589' |
|
| 15 | - | white: '0xc8c093' |
|
| 16 | - | ||
| 17 | - | bright: |
|
| 18 | - | black: '0x727169' |
|
| 19 | - | red: '0xe82424' |
|
| 20 | - | green: '0x98bb6c' |
|
| 21 | - | yellow: '0xe6c384' |
|
| 22 | - | blue: '0x7fb4ca' |
|
| 23 | - | magenta: '0x938aa9' |
|
| 24 | - | cyan: '0x7aa89f' |
|
| 25 | - | white: '0xdcd7ba' |
|
| 26 | - | ||
| 27 | - | selection: |
|
| 28 | - | background: '0x2d4f67' |
|
| 29 | - | foreground: '0xc8c093' |
|
| 30 | - | ||
| 31 | - | indexed_colors: |
|
| 32 | - | - { index: 16, color: '0xffa066' } |
|
| 33 | - | - { index: 17, color: '0xff5d62' } |
| 1 | - | [colors.primary] |
|
| 2 | - | background = "0x1b1e28" |
|
| 3 | - | foreground = "0xa6accd" |
|
| 4 | - | ||
| 5 | - | [colors.cursor] |
|
| 6 | - | text = "CellBackground" |
|
| 7 | - | cursor = "CellForeground" |
|
| 8 | - | ||
| 9 | - | [colors.search.matches] |
|
| 10 | - | foreground = "0x1b1e28" |
|
| 11 | - | background = "0xadd7ff" |
|
| 12 | - | ||
| 13 | - | [colors.search.focused_match] |
|
| 14 | - | foreground = "0x1b1e28" |
|
| 15 | - | background = "0xadd7ff" |
|
| 16 | - | ||
| 17 | - | [colors.selection] |
|
| 18 | - | text = "CellForeground" |
|
| 19 | - | background = "0x303340" |
|
| 20 | - | ||
| 21 | - | [colors.vi_mode_cursor] |
|
| 22 | - | text = "CellBackground" |
|
| 23 | - | cursor = "CellForeground" |
|
| 24 | - | ||
| 25 | - | [colors.normal] |
|
| 26 | - | black = "0x1b1e28" |
|
| 27 | - | red = "0xd0679d" |
|
| 28 | - | green = "0x5de4c7" |
|
| 29 | - | yellow = "0xfffac2" |
|
| 30 | - | blue = "0x89ddff" |
|
| 31 | - | magenta = "0xfcc5e9" |
|
| 32 | - | cyan = "0xadd7ff" |
|
| 33 | - | white = "0xffffff" |
|
| 34 | - | ||
| 35 | - | [colors.bright] |
|
| 36 | - | black = "0xa6accd" |
|
| 37 | - | red = "0xd0679d" |
|
| 38 | - | green = "0x5de4c7" |
|
| 39 | - | yellow = "0xfffac2" |
|
| 40 | - | blue = "0xadd7ff" |
|
| 41 | - | magenta = "0xfae4fc" |
|
| 42 | - | cyan = "0x89ddff" |
|
| 43 | - | white = "0xffffff" |
| 1 | - | # Colors section of "Alacritty - TOML configuration file format" |
|
| 2 | - | # https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors |
|
| 3 | - | ||
| 4 | - | [colors.primary] |
|
| 5 | - | foreground = "#575279" |
|
| 6 | - | background = "#faf4ed" |
|
| 7 | - | dim_foreground = "#797593" |
|
| 8 | - | bright_foreground = "#575279" |
|
| 9 | - | ||
| 10 | - | [colors.cursor] |
|
| 11 | - | text = "#575279" |
|
| 12 | - | cursor = "#cecacd" |
|
| 13 | - | ||
| 14 | - | [colors.vi_mode_cursor] |
|
| 15 | - | text = "#575279" |
|
| 16 | - | cursor = "#cecacd" |
|
| 17 | - | ||
| 18 | - | [colors.search.matches] |
|
| 19 | - | foreground = "#797593" |
|
| 20 | - | background = "#f2e9e1" |
|
| 21 | - | ||
| 22 | - | [colors.search.focused_match] |
|
| 23 | - | foreground = "#faf4ed" |
|
| 24 | - | background = "#d7827e" |
|
| 25 | - | ||
| 26 | - | [colors.hints.start] |
|
| 27 | - | foreground = "#797593" |
|
| 28 | - | background = "#fffaf3" |
|
| 29 | - | ||
| 30 | - | [colors.hints.end] |
|
| 31 | - | foreground = "#9893a5" |
|
| 32 | - | background = "#fffaf3" |
|
| 33 | - | ||
| 34 | - | [colors.line_indicator] |
|
| 35 | - | foreground = "None" |
|
| 36 | - | background = "None" |
|
| 37 | - | ||
| 38 | - | [colors.footer_bar] |
|
| 39 | - | foreground = "#575279" |
|
| 40 | - | background = "#fffaf3" |
|
| 41 | - | ||
| 42 | - | [colors.selection] |
|
| 43 | - | text = "#575279" |
|
| 44 | - | background = "#dfdad9" |
|
| 45 | - | ||
| 46 | - | [colors.normal] |
|
| 47 | - | black = "#f2e9e1" |
|
| 48 | - | red = "#b4637a" |
|
| 49 | - | green = "#286983" |
|
| 50 | - | yellow = "#ea9d34" |
|
| 51 | - | blue = "#56949f" |
|
| 52 | - | magenta = "#907aa9" |
|
| 53 | - | cyan = "#d7827e" |
|
| 54 | - | white = "#575279" |
|
| 55 | - | ||
| 56 | - | [colors.bright] |
|
| 57 | - | black = "#9893a5" |
|
| 58 | - | red = "#b4637a" |
|
| 59 | - | green = "#286983" |
|
| 60 | - | yellow = "#ea9d34" |
|
| 61 | - | blue = "#56949f" |
|
| 62 | - | magenta = "#907aa9" |
|
| 63 | - | cyan = "#d7827e" |
|
| 64 | - | white = "#575279" |
|
| 65 | - | ||
| 66 | - | [colors.dim] |
|
| 67 | - | black = "#9893a5" |
|
| 68 | - | red = "#b4637a" |
|
| 69 | - | green = "#286983" |
|
| 70 | - | yellow = "#ea9d34" |
|
| 71 | - | blue = "#56949f" |
|
| 72 | - | magenta = "#907aa9" |
|
| 73 | - | cyan = "#d7827e" |
|
| 74 | - | white = "#575279" |
|
| 75 | - |
| 1 | - | # Colors section of "Alacritty - TOML configuration file format" |
|
| 2 | - | # https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors |
|
| 3 | - | ||
| 4 | - | [colors.primary] |
|
| 5 | - | foreground = "#e0def4" |
|
| 6 | - | background = "#232136" |
|
| 7 | - | dim_foreground = "#908caa" |
|
| 8 | - | bright_foreground = "#e0def4" |
|
| 9 | - | ||
| 10 | - | [colors.cursor] |
|
| 11 | - | text = "#e0def4" |
|
| 12 | - | cursor = "#56526e" |
|
| 13 | - | ||
| 14 | - | [colors.vi_mode_cursor] |
|
| 15 | - | text = "#e0def4" |
|
| 16 | - | cursor = "#56526e" |
|
| 17 | - | ||
| 18 | - | [colors.search.matches] |
|
| 19 | - | foreground = "#908caa" |
|
| 20 | - | background = "#393552" |
|
| 21 | - | ||
| 22 | - | [colors.search.focused_match] |
|
| 23 | - | foreground = "#232136" |
|
| 24 | - | background = "#ea9a97" |
|
| 25 | - | ||
| 26 | - | [colors.hints.start] |
|
| 27 | - | foreground = "#908caa" |
|
| 28 | - | background = "#2a273f" |
|
| 29 | - | ||
| 30 | - | [colors.hints.end] |
|
| 31 | - | foreground = "#6e6a86" |
|
| 32 | - | background = "#2a273f" |
|
| 33 | - | ||
| 34 | - | [colors.line_indicator] |
|
| 35 | - | foreground = "None" |
|
| 36 | - | background = "None" |
|
| 37 | - | ||
| 38 | - | [colors.footer_bar] |
|
| 39 | - | foreground = "#e0def4" |
|
| 40 | - | background = "#2a273f" |
|
| 41 | - | ||
| 42 | - | [colors.selection] |
|
| 43 | - | text = "#e0def4" |
|
| 44 | - | background = "#44415a" |
|
| 45 | - | ||
| 46 | - | [colors.normal] |
|
| 47 | - | black = "#393552" |
|
| 48 | - | red = "#eb6f92" |
|
| 49 | - | green = "#3e8fb0" |
|
| 50 | - | yellow = "#f6c177" |
|
| 51 | - | blue = "#9ccfd8" |
|
| 52 | - | magenta = "#c4a7e7" |
|
| 53 | - | cyan = "#ea9a97" |
|
| 54 | - | white = "#e0def4" |
|
| 55 | - | ||
| 56 | - | [colors.bright] |
|
| 57 | - | black = "#6e6a86" |
|
| 58 | - | red = "#eb6f92" |
|
| 59 | - | green = "#3e8fb0" |
|
| 60 | - | yellow = "#f6c177" |
|
| 61 | - | blue = "#9ccfd8" |
|
| 62 | - | magenta = "#c4a7e7" |
|
| 63 | - | cyan = "#ea9a97" |
|
| 64 | - | white = "#e0def4" |
|
| 65 | - | ||
| 66 | - | [colors.dim] |
|
| 67 | - | black = "#6e6a86" |
|
| 68 | - | red = "#eb6f92" |
|
| 69 | - | green = "#3e8fb0" |
|
| 70 | - | yellow = "#f6c177" |
|
| 71 | - | blue = "#9ccfd8" |
|
| 72 | - | magenta = "#c4a7e7" |
|
| 73 | - | cyan = "#ea9a97" |
|
| 74 | - | white = "#e0def4" |
|
| 75 | - |
| 1 | - | # Colors section of "Alacritty - TOML configuration file format" |
|
| 2 | - | # https://github.com/alacritty/alacritty/blob/master/extra/man/alacritty.5.scd#colors |
|
| 3 | - | ||
| 4 | - | [colors.primary] |
|
| 5 | - | foreground = "#e0def4" |
|
| 6 | - | background = "#191724" |
|
| 7 | - | dim_foreground = "#908caa" |
|
| 8 | - | bright_foreground = "#e0def4" |
|
| 9 | - | ||
| 10 | - | [colors.cursor] |
|
| 11 | - | text = "#e0def4" |
|
| 12 | - | cursor = "#524f67" |
|
| 13 | - | ||
| 14 | - | [colors.vi_mode_cursor] |
|
| 15 | - | text = "#e0def4" |
|
| 16 | - | cursor = "#524f67" |
|
| 17 | - | ||
| 18 | - | [colors.search.matches] |
|
| 19 | - | foreground = "#908caa" |
|
| 20 | - | background = "#26233a" |
|
| 21 | - | ||
| 22 | - | [colors.search.focused_match] |
|
| 23 | - | foreground = "#191724" |
|
| 24 | - | background = "#ebbcba" |
|
| 25 | - | ||
| 26 | - | [colors.hints.start] |
|
| 27 | - | foreground = "#908caa" |
|
| 28 | - | background = "#1f1d2e" |
|
| 29 | - | ||
| 30 | - | [colors.hints.end] |
|
| 31 | - | foreground = "#6e6a86" |
|
| 32 | - | background = "#1f1d2e" |
|
| 33 | - | ||
| 34 | - | [colors.line_indicator] |
|
| 35 | - | foreground = "None" |
|
| 36 | - | background = "None" |
|
| 37 | - | ||
| 38 | - | [colors.footer_bar] |
|
| 39 | - | foreground = "#e0def4" |
|
| 40 | - | background = "#1f1d2e" |
|
| 41 | - | ||
| 42 | - | [colors.selection] |
|
| 43 | - | text = "#e0def4" |
|
| 44 | - | background = "#403d52" |
|
| 45 | - | ||
| 46 | - | [colors.normal] |
|
| 47 | - | black = "#26233a" |
|
| 48 | - | red = "#eb6f92" |
|
| 49 | - | green = "#31748f" |
|
| 50 | - | yellow = "#f6c177" |
|
| 51 | - | blue = "#9ccfd8" |
|
| 52 | - | magenta = "#c4a7e7" |
|
| 53 | - | cyan = "#ebbcba" |
|
| 54 | - | white = "#e0def4" |
|
| 55 | - | ||
| 56 | - | [colors.bright] |
|
| 57 | - | black = "#6e6a86" |
|
| 58 | - | red = "#eb6f92" |
|
| 59 | - | green = "#31748f" |
|
| 60 | - | yellow = "#f6c177" |
|
| 61 | - | blue = "#9ccfd8" |
|
| 62 | - | magenta = "#c4a7e7" |
|
| 63 | - | cyan = "#ebbcba" |
|
| 64 | - | white = "#e0def4" |
|
| 65 | - | ||
| 66 | - | [colors.dim] |
|
| 67 | - | black = "#6e6a86" |
|
| 68 | - | red = "#eb6f92" |
|
| 69 | - | green = "#31748f" |
|
| 70 | - | yellow = "#f6c177" |
|
| 71 | - | blue = "#9ccfd8" |
|
| 72 | - | magenta = "#c4a7e7" |
|
| 73 | - | cyan = "#ebbcba" |
|
| 74 | - | white = "#e0def4" |
|
| 75 | - |
| 1 | - | colors: |
|
| 2 | - | primary: |
|
| 3 | - | background: "0x191724" |
|
| 4 | - | foreground: "0xe0def4" |
|
| 5 | - | cursor: |
|
| 6 | - | text: "0xe0def4" |
|
| 7 | - | cursor: "0x524f67" |
|
| 8 | - | vi_mode_cursor: |
|
| 9 | - | text: "0xe0def4" |
|
| 10 | - | cursor: "0x524f67" |
|
| 11 | - | line_indicator: |
|
| 12 | - | foreground: None |
|
| 13 | - | background: None |
|
| 14 | - | selection: |
|
| 15 | - | text: "0xe0def4" |
|
| 16 | - | background: "0x403d52" |
|
| 17 | - | normal: |
|
| 18 | - | black: "0x26233a" |
|
| 19 | - | red: "0xeb6f92" |
|
| 20 | - | green: "0x31748f" |
|
| 21 | - | yellow: "0xf6c177" |
|
| 22 | - | blue: "0x9ccfd8" |
|
| 23 | - | magenta: "0xc4a7e7" |
|
| 24 | - | cyan: "0xebbcba" |
|
| 25 | - | white: "0xe0def4" |
|
| 26 | - | bright: |
|
| 27 | - | black: "0x6e6a86" |
|
| 28 | - | red: "0xeb6f92" |
|
| 29 | - | green: "0x31748f" |
|
| 30 | - | yellow: "0xf6c177" |
|
| 31 | - | blue: "0x9ccfd8" |
|
| 32 | - | magenta: "0xc4a7e7" |
|
| 33 | - | cyan: "0xebbcba" |
|
| 34 | - | white: "0xe0def4" |
|
| 35 | - | hints: |
|
| 36 | - | start: |
|
| 37 | - | foreground: "#908caa" |
|
| 38 | - | background: "#1f1d2e" |
|
| 39 | - | end: |
|
| 40 | - | foreground: "#6e6a86" |
|
| 41 | - | background: "#1f1d2e" |
| 1 | + | /Users/stevedylandev/.config/btop/.config |
| 1 | - | #? Config file for btop v. 1.4.0 |
|
| 2 | - | ||
| 3 | - | #* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. |
|
| 4 | - | #* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" |
|
| 5 | - | color_theme = "TTY" |
|
| 6 | - | ||
| 7 | - | #* If the theme set background should be shown, set to False if you want terminal background transparency. |
|
| 8 | - | theme_background = False |
|
| 9 | - | ||
| 10 | - | #* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. |
|
| 11 | - | truecolor = True |
|
| 12 | - | ||
| 13 | - | #* Set to true to force tty mode regardless if a real tty has been detected or not. |
|
| 14 | - | #* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. |
|
| 15 | - | force_tty = False |
|
| 16 | - | ||
| 17 | - | #* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. |
|
| 18 | - | #* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. |
|
| 19 | - | #* Use whitespace " " as separator between different presets. |
|
| 20 | - | #* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" |
|
| 21 | - | presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" |
|
| 22 | - | ||
| 23 | - | #* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. |
|
| 24 | - | #* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. |
|
| 25 | - | vim_keys = True |
|
| 26 | - | ||
| 27 | - | #* Rounded corners on boxes, is ignored if TTY mode is ON. |
|
| 28 | - | rounded_corners = True |
|
| 29 | - | ||
| 30 | - | #* Default symbols to use for graph creation, "braille", "block" or "tty". |
|
| 31 | - | #* "braille" offers the highest resolution but might not be included in all fonts. |
|
| 32 | - | #* "block" has half the resolution of braille but uses more common characters. |
|
| 33 | - | #* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. |
|
| 34 | - | #* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. |
|
| 35 | - | graph_symbol = "braille" |
|
| 36 | - | ||
| 37 | - | # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". |
|
| 38 | - | graph_symbol_cpu = "default" |
|
| 39 | - | ||
| 40 | - | # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". |
|
| 41 | - | graph_symbol_mem = "default" |
|
| 42 | - | ||
| 43 | - | # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". |
|
| 44 | - | graph_symbol_net = "default" |
|
| 45 | - | ||
| 46 | - | # Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". |
|
| 47 | - | graph_symbol_proc = "default" |
|
| 48 | - | ||
| 49 | - | #* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. |
|
| 50 | - | shown_boxes = "cpu mem proc net" |
|
| 51 | - | ||
| 52 | - | #* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. |
|
| 53 | - | update_ms = 2000 |
|
| 54 | - | ||
| 55 | - | #* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", |
|
| 56 | - | #* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. |
|
| 57 | - | proc_sorting = "cpu direct" |
|
| 58 | - | ||
| 59 | - | #* Reverse sorting order, True or False. |
|
| 60 | - | proc_reversed = False |
|
| 61 | - | ||
| 62 | - | #* Show processes as a tree. |
|
| 63 | - | proc_tree = True |
|
| 64 | - | ||
| 65 | - | #* Use the cpu graph colors in the process list. |
|
| 66 | - | proc_colors = True |
|
| 67 | - | ||
| 68 | - | #* Use a darkening gradient in the process list. |
|
| 69 | - | proc_gradient = True |
|
| 70 | - | ||
| 71 | - | #* If process cpu usage should be of the core it's running on or usage of the total available cpu power. |
|
| 72 | - | proc_per_core = False |
|
| 73 | - | ||
| 74 | - | #* Show process memory as bytes instead of percent. |
|
| 75 | - | proc_mem_bytes = True |
|
| 76 | - | ||
| 77 | - | #* Show cpu graph for each process. |
|
| 78 | - | proc_cpu_graphs = True |
|
| 79 | - | ||
| 80 | - | #* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) |
|
| 81 | - | proc_info_smaps = False |
|
| 82 | - | ||
| 83 | - | #* Show proc box on left side of screen instead of right. |
|
| 84 | - | proc_left = False |
|
| 85 | - | ||
| 86 | - | #* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). |
|
| 87 | - | proc_filter_kernel = False |
|
| 88 | - | ||
| 89 | - | #* In tree-view, always accumulate child process resources in the parent process. |
|
| 90 | - | proc_aggregate = False |
|
| 91 | - | ||
| 92 | - | #* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. |
|
| 93 | - | #* Select from a list of detected attributes from the options menu. |
|
| 94 | - | cpu_graph_upper = "total" |
|
| 95 | - | ||
| 96 | - | #* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. |
|
| 97 | - | #* Select from a list of detected attributes from the options menu. |
|
| 98 | - | cpu_graph_lower = "total" |
|
| 99 | - | ||
| 100 | - | #* Toggles if the lower CPU graph should be inverted. |
|
| 101 | - | cpu_invert_lower = True |
|
| 102 | - | ||
| 103 | - | #* Set to True to completely disable the lower CPU graph. |
|
| 104 | - | cpu_single_graph = False |
|
| 105 | - | ||
| 106 | - | #* Show cpu box at bottom of screen instead of top. |
|
| 107 | - | cpu_bottom = False |
|
| 108 | - | ||
| 109 | - | #* Shows the system uptime in the CPU box. |
|
| 110 | - | show_uptime = True |
|
| 111 | - | ||
| 112 | - | #* Show cpu temperature. |
|
| 113 | - | check_temp = True |
|
| 114 | - | ||
| 115 | - | #* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. |
|
| 116 | - | cpu_sensor = "Auto" |
|
| 117 | - | ||
| 118 | - | #* Show temperatures for cpu cores also if check_temp is True and sensors has been found. |
|
| 119 | - | show_coretemp = True |
|
| 120 | - | ||
| 121 | - | #* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. |
|
| 122 | - | #* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. |
|
| 123 | - | #* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. |
|
| 124 | - | #* Example: "4:0 5:1 6:3" |
|
| 125 | - | cpu_core_map = "" |
|
| 126 | - | ||
| 127 | - | #* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". |
|
| 128 | - | temp_scale = "fahrenheit" |
|
| 129 | - | ||
| 130 | - | #* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. |
|
| 131 | - | base_10_sizes = False |
|
| 132 | - | ||
| 133 | - | #* Show CPU frequency. |
|
| 134 | - | show_cpu_freq = True |
|
| 135 | - | ||
| 136 | - | #* Draw a clock at top of screen, formatting according to strftime, empty string to disable. |
|
| 137 | - | #* Special formatting: /host = hostname | /user = username | /uptime = system uptime |
|
| 138 | - | clock_format = "%X" |
|
| 139 | - | ||
| 140 | - | #* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. |
|
| 141 | - | background_update = True |
|
| 142 | - | ||
| 143 | - | #* Custom cpu model name, empty string to disable. |
|
| 144 | - | custom_cpu_name = "" |
|
| 145 | - | ||
| 146 | - | #* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". |
|
| 147 | - | #* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". |
|
| 148 | - | disks_filter = "" |
|
| 149 | - | ||
| 150 | - | #* Show graphs instead of meters for memory values. |
|
| 151 | - | mem_graphs = True |
|
| 152 | - | ||
| 153 | - | #* Show mem box below net box instead of above. |
|
| 154 | - | mem_below_net = False |
|
| 155 | - | ||
| 156 | - | #* Count ZFS ARC in cached and available memory. |
|
| 157 | - | zfs_arc_cached = True |
|
| 158 | - | ||
| 159 | - | #* If swap memory should be shown in memory box. |
|
| 160 | - | show_swap = True |
|
| 161 | - | ||
| 162 | - | #* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. |
|
| 163 | - | swap_disk = True |
|
| 164 | - | ||
| 165 | - | #* If mem box should be split to also show disks info. |
|
| 166 | - | show_disks = False |
|
| 167 | - | ||
| 168 | - | #* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. |
|
| 169 | - | only_physical = True |
|
| 170 | - | ||
| 171 | - | #* Read disks list from /etc/fstab. This also disables only_physical. |
|
| 172 | - | use_fstab = True |
|
| 173 | - | ||
| 174 | - | #* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) |
|
| 175 | - | zfs_hide_datasets = False |
|
| 176 | - | ||
| 177 | - | #* Set to true to show available disk space for privileged users. |
|
| 178 | - | disk_free_priv = False |
|
| 179 | - | ||
| 180 | - | #* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. |
|
| 181 | - | show_io_stat = True |
|
| 182 | - | ||
| 183 | - | #* Toggles io mode for disks, showing big graphs for disk read/write speeds. |
|
| 184 | - | io_mode = False |
|
| 185 | - | ||
| 186 | - | #* Set to True to show combined read/write io graphs in io mode. |
|
| 187 | - | io_graph_combined = False |
|
| 188 | - | ||
| 189 | - | #* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". |
|
| 190 | - | #* Example: "/mnt/media:100 /:20 /boot:1". |
|
| 191 | - | io_graph_speeds = "" |
|
| 192 | - | ||
| 193 | - | #* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. |
|
| 194 | - | net_download = 100 |
|
| 195 | - | ||
| 196 | - | net_upload = 100 |
|
| 197 | - | ||
| 198 | - | #* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. |
|
| 199 | - | net_auto = True |
|
| 200 | - | ||
| 201 | - | #* Sync the auto scaling for download and upload to whichever currently has the highest scale. |
|
| 202 | - | net_sync = True |
|
| 203 | - | ||
| 204 | - | #* Starts with the Network Interface specified here. |
|
| 205 | - | net_iface = "" |
|
| 206 | - | ||
| 207 | - | #* Show battery stats in top right if battery is present. |
|
| 208 | - | show_battery = True |
|
| 209 | - | ||
| 210 | - | #* Which battery to use if multiple are present. "Auto" for auto detection. |
|
| 211 | - | selected_battery = "Auto" |
|
| 212 | - | ||
| 213 | - | #* Show power stats of battery next to charge indicator. |
|
| 214 | - | show_battery_watts = True |
|
| 215 | - | ||
| 216 | - | #* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". |
|
| 217 | - | #* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. |
|
| 218 | - | log_level = "WARNING" |
| 1 | - | ||
| 2 | - | 2023/05/08 (12:13:42) | ===> btop++ v.1.2.13 |
|
| 3 | - | 2023/05/08 (12:13:42) | ERROR: Stall in Runner thread, restarting! |
|
| 4 | - | ||
| 5 | - | 2023/09/15 (01:58:40) | ===> btop++ v.1.2.13 |
|
| 6 | - | 2023/09/15 (01:58:40) | ERROR: failed getting network interfaces |
|
| 7 | - | 2023/09/23 (06:19:12) | ERROR: failed getting network interfaces |
|
| 8 | - | ||
| 9 | - | 2024/12/30 (09:30:44) | ===> btop++ v.1.4.0 |
|
| 10 | - | 2024/12/30 (09:30:44) | WARNING: Failed to set locale UTF-8 continuing anyway. |
| 1 | - | # Btop gruvbox material dark (https://github.com/sainnhe/gruvbox-material) theme |
|
| 2 | - | # by Marco Radocchia |
|
| 3 | - | ||
| 4 | - | # Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255" |
|
| 5 | - | # example for white: "#FFFFFF", "#ff" or "255 255 255". |
|
| 6 | - | ||
| 7 | - | # All graphs and meters can be gradients |
|
| 8 | - | # For single color graphs leave "mid" and "end" variable empty. |
|
| 9 | - | # Use "start" and "end" variables for two color gradient |
|
| 10 | - | # Use "start", "mid" and "end" for three color gradient |
|
| 11 | - | ||
| 12 | - | # Main background, empty for terminal default, need to be empty if you want transparent background |
|
| 13 | - | theme[main_bg]="#282828" |
|
| 14 | - | ||
| 15 | - | # Main text color |
|
| 16 | - | theme[main_fg]="#d4be98" |
|
| 17 | - | ||
| 18 | - | # Title color for boxes |
|
| 19 | - | theme[title]="#d4be98" |
|
| 20 | - | ||
| 21 | - | # Higlight color for keyboard shortcuts |
|
| 22 | - | theme[hi_fg]="#ea6962" |
|
| 23 | - | ||
| 24 | - | # Background color of selected items |
|
| 25 | - | theme[selected_bg]="#d8a657" |
|
| 26 | - | ||
| 27 | - | # Foreground color of selected items |
|
| 28 | - | theme[selected_fg]="#282828" |
|
| 29 | - | ||
| 30 | - | # Color of inactive/disabled text |
|
| 31 | - | theme[inactive_fg]="#282828" |
|
| 32 | - | ||
| 33 | - | # Color of text appearing on top of graphs, i.e uptime and current network graph scaling |
|
| 34 | - | theme[graph_text]="#665c54" |
|
| 35 | - | ||
| 36 | - | # Misc colors for processes box including mini cpu graphs, details memory graph and details status text |
|
| 37 | - | theme[proc_misc]="#a9b665" |
|
| 38 | - | ||
| 39 | - | # Cpu box outline color |
|
| 40 | - | theme[cpu_box]="#7c6f64" |
|
| 41 | - | ||
| 42 | - | # Memory/disks box outline color |
|
| 43 | - | theme[mem_box]="#7c6f64" |
|
| 44 | - | ||
| 45 | - | # Net up/down box outline color |
|
| 46 | - | theme[net_box]="#7c6f64" |
|
| 47 | - | ||
| 48 | - | # Processes box outline color |
|
| 49 | - | theme[proc_box]="#7c6f64" |
|
| 50 | - | ||
| 51 | - | # Box divider line and small boxes line color |
|
| 52 | - | theme[div_line]="#7c6f64" |
|
| 53 | - | ||
| 54 | - | # Temperature graph colors |
|
| 55 | - | theme[temp_start]="#7daea3" |
|
| 56 | - | theme[temp_mid]="#e78a4e" |
|
| 57 | - | theme[temp_end]="#ea6962" |
|
| 58 | - | ||
| 59 | - | # CPU graph colors |
|
| 60 | - | theme[cpu_start]="#a9b665" |
|
| 61 | - | theme[cpu_mid]="#d8a657" |
|
| 62 | - | theme[cpu_end]="#ea6962" |
|
| 63 | - | ||
| 64 | - | # Mem/Disk free meter |
|
| 65 | - | theme[free_start]="#89b482" |
|
| 66 | - | theme[free_mid]="" |
|
| 67 | - | theme[free_end]="" |
|
| 68 | - | ||
| 69 | - | # Mem/Disk cached meter |
|
| 70 | - | theme[cached_start]="#7daea3" |
|
| 71 | - | theme[cached_mid]="" |
|
| 72 | - | theme[cached_end]="" |
|
| 73 | - | ||
| 74 | - | # Mem/Disk available meter |
|
| 75 | - | theme[available_start]="#d8a657" |
|
| 76 | - | theme[available_mid]="" |
|
| 77 | - | theme[available_end]="" |
|
| 78 | - | ||
| 79 | - | # Mem/Disk used meter |
|
| 80 | - | theme[used_start]="#ea6962" |
|
| 81 | - | theme[used_mid]="" |
|
| 82 | - | theme[used_end]="" |
|
| 83 | - | ||
| 84 | - | # Download graph colors |
|
| 85 | - | theme[download_start]="#e78a4e" |
|
| 86 | - | theme[download_mid]="" |
|
| 87 | - | theme[download_end]="" |
|
| 88 | - | ||
| 89 | - | # Upload graph colors |
|
| 90 | - | theme[upload_start]="#d3869b" |
|
| 91 | - | theme[upload_mid]="" |
|
| 92 | - | theme[upload_end]="" |
| 1 | - | # Main background, empty for terminal default, need to be empty if you want transparent background |
|
| 2 | - | theme[main_bg]="#191724" |
|
| 3 | - | # Base |
|
| 4 | - | ||
| 5 | - | # Main text color |
|
| 6 | - | theme[main_fg]="#e0def4" |
|
| 7 | - | # Text |
|
| 8 | - | ||
| 9 | - | # Title color for boxes |
|
| 10 | - | theme[title]="#908caa" |
|
| 11 | - | # Subtle |
|
| 12 | - | ||
| 13 | - | # Highlight color for keyboard shortcuts |
|
| 14 | - | theme[hi_fg]="#e0def4" |
|
| 15 | - | # Text |
|
| 16 | - | ||
| 17 | - | # Background color of selected item in processes box |
|
| 18 | - | theme[selected_bg]="#524f67" |
|
| 19 | - | # HL High |
|
| 20 | - | ||
| 21 | - | # Foreground color of selected item in processes box |
|
| 22 | - | theme[selected_fg]="#f6c177" |
|
| 23 | - | # Gold |
|
| 24 | - | ||
| 25 | - | # Color of inactive/disabled text |
|
| 26 | - | theme[inactive_fg]="#403d52" |
|
| 27 | - | # HL Med |
|
| 28 | - | ||
| 29 | - | # Color of text appearing on top of graphs, i.e uptime and current network graph scaling |
|
| 30 | - | theme[graph_text]="#9ccfd8" |
|
| 31 | - | # Foam |
|
| 32 | - | ||
| 33 | - | # Background color of the percentage meters |
|
| 34 | - | theme[meter_bg]="#9ccfd8" |
|
| 35 | - | # Foam |
|
| 36 | - | ||
| 37 | - | # Misc colors for processes box including mini cpu graphs, details memory graph and details status text |
|
| 38 | - | theme[proc_misc]="#c4a7e7" |
|
| 39 | - | # Iris |
|
| 40 | - | ||
| 41 | - | # Cpu box outline color |
|
| 42 | - | theme[cpu_box]="#ebbcba" |
|
| 43 | - | # Rose |
|
| 44 | - | ||
| 45 | - | # Memory/disks box outline color |
|
| 46 | - | theme[mem_box]="#31748f" |
|
| 47 | - | # Pine |
|
| 48 | - | ||
| 49 | - | # Net up/down box outline color |
|
| 50 | - | theme[net_box]="#c4a7e7" |
|
| 51 | - | # Iris |
|
| 52 | - | ||
| 53 | - | # Processes box outline color |
|
| 54 | - | theme[proc_box]="#eb6f92" |
|
| 55 | - | # Love |
|
| 56 | - | ||
| 57 | - | # Box divider line and small boxes line color |
|
| 58 | - | theme[div_line]="#6e6a86" |
|
| 59 | - | # Muted |
|
| 60 | - | ||
| 61 | - | # Temperature graph colors |
|
| 62 | - | theme[temp_start]="#ebbcba" |
|
| 63 | - | # Rose |
|
| 64 | - | theme[temp_mid]="#f6c177" |
|
| 65 | - | # Gold |
|
| 66 | - | theme[temp_end]="#eb6f92" |
|
| 67 | - | # Love |
|
| 68 | - | ||
| 69 | - | # CPU graph colors |
|
| 70 | - | theme[cpu_start]="#f6c177" |
|
| 71 | - | # Gold |
|
| 72 | - | theme[cpu_mid]="#ebbcba" |
|
| 73 | - | # Rose |
|
| 74 | - | theme[cpu_end]="#eb6f92" |
|
| 75 | - | # Love |
|
| 76 | - | ||
| 77 | - | # Mem/Disk free meter |
|
| 78 | - | # all love |
|
| 79 | - | theme[free_start]="#eb6f92" |
|
| 80 | - | theme[free_mid]="#eb6f92" |
|
| 81 | - | theme[free_end]="#eb6f92" |
|
| 82 | - | ||
| 83 | - | # Mem/Disk cached meter |
|
| 84 | - | # all iris |
|
| 85 | - | theme[cached_start]="#c4a7e7" |
|
| 86 | - | theme[cached_mid]="#c4a7e7" |
|
| 87 | - | theme[cached_end]="#c4a7e7" |
|
| 88 | - | ||
| 89 | - | # Mem/Disk available meter |
|
| 90 | - | # all pine |
|
| 91 | - | theme[available_start]="#31748f" |
|
| 92 | - | theme[available_mid]="#31748f" |
|
| 93 | - | theme[available_end]="#31748f" |
|
| 94 | - | ||
| 95 | - | # Mem/Disk used meter |
|
| 96 | - | # all rose |
|
| 97 | - | theme[used_start]="#ebbcba" |
|
| 98 | - | theme[used_mid]="#ebbcba" |
|
| 99 | - | theme[used_end]="#ebbcba" |
|
| 100 | - | ||
| 101 | - | # Download graph colors |
|
| 102 | - | # Pine for start, foam for the rest |
|
| 103 | - | theme[download_start]="#31748f" |
|
| 104 | - | theme[download_mid]="#9ccfd8" |
|
| 105 | - | theme[download_end]="#9ccfd8" |
|
| 106 | - | ||
| 107 | - | # Upload graph colors |
|
| 108 | - | theme[upload_start]="#ebbcba" |
|
| 109 | - | # Rose for start |
|
| 110 | - | theme[upload_mid]="#eb6f92" |
|
| 111 | - | # Love for mid and end |
|
| 112 | - | theme[upload_end]="#eb6f92" |
|
| 113 | - | ||
| 114 | - | # Process box color gradient for threads, mem and cpu usage |
|
| 115 | - | theme[process_start]="#31748f" |
|
| 116 | - | # Pine |
|
| 117 | - | theme[process_mid]="#9ccfd8" |
|
| 118 | - | # Foam for mid and end |
|
| 119 | - | theme[process_end]="#9ccfd8" |
| 1 | + | /Users/stevedylandev/.config/btop/btop.conf |
| 1 | + | /Users/stevedylandev/.config/btop/themes |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "modules": [ |
|
| 4 | - | { |
|
| 5 | - | "type": "title", |
|
| 6 | - | "key": "User", |
|
| 7 | - | "format": "{user-name}" |
|
| 8 | - | }, |
|
| 9 | - | { |
|
| 10 | - | "type": "title", |
|
| 11 | - | "key": "Hostname", |
|
| 12 | - | "format": "{host-name}" |
|
| 13 | - | }, |
|
| 14 | - | { |
|
| 15 | - | "type": "host", |
|
| 16 | - | "key": "Model" |
|
| 17 | - | }, |
|
| 18 | - | { |
|
| 19 | - | "type": "os", |
|
| 20 | - | "format": "{pretty-name} {version-id} {arch}" |
|
| 21 | - | }, |
|
| 22 | - | "kernel", |
|
| 23 | - | "uptime", |
|
| 24 | - | { |
|
| 25 | - | "type": "loadavg", |
|
| 26 | - | "key": "Load Average" |
|
| 27 | - | }, |
|
| 28 | - | "processes", |
|
| 29 | - | { |
|
| 30 | - | "type": "wm", |
|
| 31 | - | "key": "Window Manager" |
|
| 32 | - | }, |
|
| 33 | - | { |
|
| 34 | - | "type": "de", |
|
| 35 | - | "key": "Desktop Environment" |
|
| 36 | - | }, |
|
| 37 | - | "shell", |
|
| 38 | - | { |
|
| 39 | - | "type": "terminal", |
|
| 40 | - | "format": "{pretty-name} {version} {#37}█{#97}█ {#36}█{#96}█ {#35}█{#95}█ {#34}█{#94}█ {#33}█{#93}█ {#32}█{#92}█ {#31}█{#91}█ {#30}█{#90}█" |
|
| 41 | - | }, |
|
| 42 | - | { |
|
| 43 | - | "type": "packages", |
|
| 44 | - | "format": "{all}" |
|
| 45 | - | }, |
|
| 46 | - | { |
|
| 47 | - | "type": "cpu", |
|
| 48 | - | "key": "Temperature", |
|
| 49 | - | "temp": true, |
|
| 50 | - | "format": "{temperature}" |
|
| 51 | - | }, |
|
| 52 | - | { |
|
| 53 | - | "type": "cpu", |
|
| 54 | - | "key": "CPU", |
|
| 55 | - | "format": "{cores-logical} x {name}" |
|
| 56 | - | }, |
|
| 57 | - | { |
|
| 58 | - | "type": "gpu", |
|
| 59 | - | "format": "{name}" |
|
| 60 | - | }, |
|
| 61 | - | { |
|
| 62 | - | "type": "memory", |
|
| 63 | - | "key": "RAM" |
|
| 64 | - | }, |
|
| 65 | - | { |
|
| 66 | - | "type": "disk", |
|
| 67 | - | "key": "Disk", |
|
| 68 | - | "folders": "/" |
|
| 69 | - | }, |
|
| 70 | - | { |
|
| 71 | - | "type": "localip", |
|
| 72 | - | "key": "LAN IP", |
|
| 73 | - | "showIpv6": true, |
|
| 74 | - | "showPrefixLen": false |
|
| 75 | - | }, |
|
| 76 | - | { |
|
| 77 | - | "type": "publicip", |
|
| 78 | - | "key": "WAN IP", |
|
| 79 | - | "timeout": 1000 |
|
| 80 | - | } |
|
| 81 | - | ] |
|
| 82 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "logo": { |
|
| 4 | - | "type": "small", |
|
| 5 | - | "padding": { |
|
| 6 | - | "top": 1, |
|
| 7 | - | }, |
|
| 8 | - | }, |
|
| 9 | - | "modules": [ |
|
| 10 | - | "title", |
|
| 11 | - | "separator", |
|
| 12 | - | "os", |
|
| 13 | - | "host", |
|
| 14 | - | "uptime", |
|
| 15 | - | "packages", |
|
| 16 | - | "shell", |
|
| 17 | - | "theme", |
|
| 18 | - | "cursor", |
|
| 19 | - | "terminal", |
|
| 20 | - | "memory", |
|
| 21 | - | "disk", |
|
| 22 | - | "battery", |
|
| 23 | - | "temperature", |
|
| 24 | - | "poweradapter", |
|
| 25 | - | "break", |
|
| 26 | - | "colors", |
|
| 27 | - | ], |
|
| 28 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "logo": { |
|
| 4 | - | "padding": { |
|
| 5 | - | "top": 2 |
|
| 6 | - | } |
|
| 7 | - | }, |
|
| 8 | - | "modules": [ |
|
| 9 | - | "title", |
|
| 10 | - | "separator", |
|
| 11 | - | "os", |
|
| 12 | - | "host", |
|
| 13 | - | "bios", |
|
| 14 | - | "bootmgr", |
|
| 15 | - | "board", |
|
| 16 | - | "chassis", |
|
| 17 | - | "kernel", |
|
| 18 | - | "initsystem", |
|
| 19 | - | "uptime", |
|
| 20 | - | "loadavg", |
|
| 21 | - | "processes", |
|
| 22 | - | "packages", |
|
| 23 | - | "shell", |
|
| 24 | - | "editor", |
|
| 25 | - | "display", |
|
| 26 | - | "brightness", |
|
| 27 | - | "monitor", |
|
| 28 | - | "lm", |
|
| 29 | - | "de", |
|
| 30 | - | "wm", |
|
| 31 | - | "wmtheme", |
|
| 32 | - | "theme", |
|
| 33 | - | "icons", |
|
| 34 | - | "font", |
|
| 35 | - | "cursor", |
|
| 36 | - | "wallpaper", |
|
| 37 | - | "terminal", |
|
| 38 | - | "terminalfont", |
|
| 39 | - | "terminalsize", |
|
| 40 | - | "terminaltheme", |
|
| 41 | - | { |
|
| 42 | - | "type": "cpu", |
|
| 43 | - | "showPeCoreCount": true, |
|
| 44 | - | "temp": true |
|
| 45 | - | }, |
|
| 46 | - | "cpucache", |
|
| 47 | - | "cpuusage", |
|
| 48 | - | { |
|
| 49 | - | "type": "gpu", |
|
| 50 | - | "driverSpecific": true, |
|
| 51 | - | "temp": true |
|
| 52 | - | }, |
|
| 53 | - | "memory", |
|
| 54 | - | "physicalmemory", |
|
| 55 | - | "swap", |
|
| 56 | - | "disk", |
|
| 57 | - | "btrfs", |
|
| 58 | - | "zpool", |
|
| 59 | - | { |
|
| 60 | - | "type": "battery", |
|
| 61 | - | "temp": true |
|
| 62 | - | }, |
|
| 63 | - | "poweradapter", |
|
| 64 | - | "player", |
|
| 65 | - | "media", |
|
| 66 | - | { |
|
| 67 | - | "type": "publicip", |
|
| 68 | - | "timeout": 1000 |
|
| 69 | - | }, |
|
| 70 | - | { |
|
| 71 | - | "type": "localip", |
|
| 72 | - | "showIpv6": true, |
|
| 73 | - | "showMac": true, |
|
| 74 | - | "showSpeed": true, |
|
| 75 | - | "showMtu": true, |
|
| 76 | - | "showLoop": true, |
|
| 77 | - | "showFlags": true, |
|
| 78 | - | "showAllIps": true |
|
| 79 | - | }, |
|
| 80 | - | "dns", |
|
| 81 | - | "wifi", |
|
| 82 | - | "datetime", |
|
| 83 | - | "locale", |
|
| 84 | - | "vulkan", |
|
| 85 | - | "opengl", |
|
| 86 | - | "opencl", |
|
| 87 | - | "users", |
|
| 88 | - | "bluetooth", |
|
| 89 | - | "bluetoothradio", |
|
| 90 | - | "sound", |
|
| 91 | - | "camera", |
|
| 92 | - | "gamepad", |
|
| 93 | - | { |
|
| 94 | - | "type": "weather", |
|
| 95 | - | "timeout": 1000 |
|
| 96 | - | }, |
|
| 97 | - | "netio", |
|
| 98 | - | "diskio", |
|
| 99 | - | { |
|
| 100 | - | "type": "physicaldisk", |
|
| 101 | - | "temp": true |
|
| 102 | - | }, |
|
| 103 | - | "tpm", |
|
| 104 | - | "version", |
|
| 105 | - | "break", |
|
| 106 | - | "colors" |
|
| 107 | - | ] |
|
| 108 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "modules": [ |
|
| 4 | - | { |
|
| 5 | - | "type": "title", |
|
| 6 | - | "key": "User", |
|
| 7 | - | "format": "{user-name}" |
|
| 8 | - | }, |
|
| 9 | - | { |
|
| 10 | - | "type": "title", |
|
| 11 | - | "key": "Hostname", |
|
| 12 | - | "format": "{host-name}" |
|
| 13 | - | }, |
|
| 14 | - | { |
|
| 15 | - | "type": "host", |
|
| 16 | - | "key": "Model" |
|
| 17 | - | }, |
|
| 18 | - | { |
|
| 19 | - | "type": "os", |
|
| 20 | - | "format": "{pretty-name} {version-id} {arch}" |
|
| 21 | - | }, |
|
| 22 | - | "kernel", |
|
| 23 | - | "uptime", |
|
| 24 | - | { |
|
| 25 | - | "type": "loadavg", |
|
| 26 | - | "key": "Load Average" |
|
| 27 | - | }, |
|
| 28 | - | "processes", |
|
| 29 | - | { |
|
| 30 | - | "type": "wm", |
|
| 31 | - | "key": "Window Manager" |
|
| 32 | - | }, |
|
| 33 | - | { |
|
| 34 | - | "type": "de", |
|
| 35 | - | "key": "Desktop Environment" |
|
| 36 | - | }, |
|
| 37 | - | "shell", |
|
| 38 | - | { |
|
| 39 | - | "type": "terminal", |
|
| 40 | - | "format": "{pretty-name} {version} {#37}█{#97}█ {#36}█{#96}█ {#35}█{#95}█ {#34}█{#94}█ {#33}█{#93}█ {#32}█{#92}█ {#31}█{#91}█ {#30}█{#90}█" |
|
| 41 | - | }, |
|
| 42 | - | { |
|
| 43 | - | "type": "packages", |
|
| 44 | - | "format": "{all}" |
|
| 45 | - | }, |
|
| 46 | - | { |
|
| 47 | - | "type": "cpu", |
|
| 48 | - | "key": "Temperature", |
|
| 49 | - | "temp": true, |
|
| 50 | - | "format": "{temperature}" |
|
| 51 | - | }, |
|
| 52 | - | { |
|
| 53 | - | "type": "cpu", |
|
| 54 | - | "key": "CPU", |
|
| 55 | - | "format": "{cores-logical} x {name}" |
|
| 56 | - | }, |
|
| 57 | - | { |
|
| 58 | - | "type": "gpu", |
|
| 59 | - | "format": "{name}" |
|
| 60 | - | }, |
|
| 61 | - | { |
|
| 62 | - | "type": "memory", |
|
| 63 | - | "key": "RAM" |
|
| 64 | - | }, |
|
| 65 | - | { |
|
| 66 | - | "type": "disk", |
|
| 67 | - | "key": "Disk", |
|
| 68 | - | "folders": "/" |
|
| 69 | - | }, |
|
| 70 | - | { |
|
| 71 | - | "type": "localip", |
|
| 72 | - | "key": "LAN IP", |
|
| 73 | - | "showIpv6": true, |
|
| 74 | - | "showPrefixLen": false |
|
| 75 | - | }, |
|
| 76 | - | { |
|
| 77 | - | "type": "publicip", |
|
| 78 | - | "key": "WAN IP", |
|
| 79 | - | "timeout": 1000 |
|
| 80 | - | } |
|
| 81 | - | ] |
|
| 82 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "display": { |
|
| 4 | - | "stat": true, |
|
| 5 | - | "pipe": true, |
|
| 6 | - | "showErrors": true, |
|
| 7 | - | "noBuffer": true |
|
| 8 | - | }, |
|
| 9 | - | "logo": null, |
|
| 10 | - | "modules": [ |
|
| 11 | - | "title", |
|
| 12 | - | "separator", |
|
| 13 | - | "os", |
|
| 14 | - | "host", |
|
| 15 | - | "bios", |
|
| 16 | - | "bootmgr", |
|
| 17 | - | "board", |
|
| 18 | - | "chassis", |
|
| 19 | - | "kernel", |
|
| 20 | - | "initsystem", |
|
| 21 | - | "uptime", |
|
| 22 | - | "loadavg", |
|
| 23 | - | "processes", |
|
| 24 | - | "packages", |
|
| 25 | - | "shell", |
|
| 26 | - | "editor", |
|
| 27 | - | "display", |
|
| 28 | - | "brightness", |
|
| 29 | - | "monitor", |
|
| 30 | - | "lm", |
|
| 31 | - | "de", |
|
| 32 | - | "wm", |
|
| 33 | - | "wmtheme", |
|
| 34 | - | "theme", |
|
| 35 | - | "icons", |
|
| 36 | - | "font", |
|
| 37 | - | "cursor", |
|
| 38 | - | "wallpaper", |
|
| 39 | - | "terminal", |
|
| 40 | - | "terminalfont", |
|
| 41 | - | "terminalsize", |
|
| 42 | - | "terminaltheme", |
|
| 43 | - | { |
|
| 44 | - | "type": "cpu", |
|
| 45 | - | "showPeCoreCount": true, |
|
| 46 | - | "temp": true |
|
| 47 | - | }, |
|
| 48 | - | "cpucache", |
|
| 49 | - | "cpuusage", |
|
| 50 | - | { |
|
| 51 | - | "type": "gpu", |
|
| 52 | - | "driverSpecific": true, |
|
| 53 | - | "temp": true |
|
| 54 | - | }, |
|
| 55 | - | "memory", |
|
| 56 | - | "physicalmemory", |
|
| 57 | - | "swap", |
|
| 58 | - | "disk", |
|
| 59 | - | "btrfs", |
|
| 60 | - | "zpool", |
|
| 61 | - | { |
|
| 62 | - | "type": "battery", |
|
| 63 | - | "temp": true |
|
| 64 | - | }, |
|
| 65 | - | "poweradapter", |
|
| 66 | - | "player", |
|
| 67 | - | "media", |
|
| 68 | - | { |
|
| 69 | - | "type": "publicip", |
|
| 70 | - | "timeout": 1000 |
|
| 71 | - | }, |
|
| 72 | - | { |
|
| 73 | - | "type": "localip", |
|
| 74 | - | "showIpv6": true, |
|
| 75 | - | "showMac": true, |
|
| 76 | - | "showSpeed": true, |
|
| 77 | - | "showMtu": true, |
|
| 78 | - | "showLoop": true, |
|
| 79 | - | "showFlags": true, |
|
| 80 | - | "showAllIps": true |
|
| 81 | - | }, |
|
| 82 | - | "dns", |
|
| 83 | - | "wifi", |
|
| 84 | - | "datetime", |
|
| 85 | - | "locale", |
|
| 86 | - | "vulkan", |
|
| 87 | - | "opengl", |
|
| 88 | - | "opencl", |
|
| 89 | - | "users", |
|
| 90 | - | "bluetooth", |
|
| 91 | - | "bluetoothradio", |
|
| 92 | - | "sound", |
|
| 93 | - | "camera", |
|
| 94 | - | "gamepad", |
|
| 95 | - | { |
|
| 96 | - | "type": "weather", |
|
| 97 | - | "timeout": 1000 |
|
| 98 | - | }, |
|
| 99 | - | "netio", |
|
| 100 | - | "diskio", |
|
| 101 | - | { |
|
| 102 | - | "type": "physicaldisk", |
|
| 103 | - | "temp": true |
|
| 104 | - | }, |
|
| 105 | - | "tpm", |
|
| 106 | - | "version", |
|
| 107 | - | "break", |
|
| 108 | - | "colors" |
|
| 109 | - | ] |
|
| 110 | - | } |
| 1 | - | // Load with --load-config examples/2.jsonc |
|
| 2 | - | // Note that you must replace the image path to an existing image to display it. |
|
| 3 | - | ||
| 4 | - | { |
|
| 5 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 6 | - | "logo": { |
|
| 7 | - | "padding": { |
|
| 8 | - | "top": 2 |
|
| 9 | - | } |
|
| 10 | - | }, |
|
| 11 | - | "display": { |
|
| 12 | - | "separator": " -> ", |
|
| 13 | - | "constants": [ |
|
| 14 | - | "──────────────────────────────" |
|
| 15 | - | ] |
|
| 16 | - | }, |
|
| 17 | - | "modules": [ |
|
| 18 | - | { |
|
| 19 | - | "type": "custom", |
|
| 20 | - | "format": "┌{$1}{$1}┐", |
|
| 21 | - | "outputColor": "90" |
|
| 22 | - | }, |
|
| 23 | - | { |
|
| 24 | - | "type": "title", |
|
| 25 | - | "keyWidth": 10 |
|
| 26 | - | }, |
|
| 27 | - | { |
|
| 28 | - | "type": "custom", |
|
| 29 | - | "format": "└{$1}{$1}┘", |
|
| 30 | - | "outputColor": "90" |
|
| 31 | - | }, |
|
| 32 | - | { |
|
| 33 | - | "type": "custom", |
|
| 34 | - | "format": " {#90} {#31} {#32} {#33} {#34} {#35} {#36} {#37} {#38} {#39} {#38} {#37} {#36} {#35} {#34} {#33} {#32} {#31} {#90}" |
|
| 35 | - | }, |
|
| 36 | - | { |
|
| 37 | - | "type": "custom", |
|
| 38 | - | "format": "┌{$1}{$1}┐", |
|
| 39 | - | "outputColor": "90" |
|
| 40 | - | }, |
|
| 41 | - | { |
|
| 42 | - | "type": "os", |
|
| 43 | - | "key": "{icon} OS", |
|
| 44 | - | "keyColor": "yellow" |
|
| 45 | - | }, |
|
| 46 | - | { |
|
| 47 | - | "type": "kernel", |
|
| 48 | - | "key": "│ ├", |
|
| 49 | - | "keyColor": "yellow" |
|
| 50 | - | }, |
|
| 51 | - | { |
|
| 52 | - | "type": "packages", |
|
| 53 | - | "key": "│ ├", |
|
| 54 | - | "keyColor": "yellow" |
|
| 55 | - | }, |
|
| 56 | - | { |
|
| 57 | - | "type": "shell", |
|
| 58 | - | "key": "│ └", |
|
| 59 | - | "keyColor": "yellow" |
|
| 60 | - | }, |
|
| 61 | - | { |
|
| 62 | - | "type": "wm", |
|
| 63 | - | "key": " DE/WM", |
|
| 64 | - | "keyColor": "blue" |
|
| 65 | - | }, |
|
| 66 | - | { |
|
| 67 | - | "type": "lm", |
|
| 68 | - | "key": "│ ├", |
|
| 69 | - | "keyColor": "blue" |
|
| 70 | - | }, |
|
| 71 | - | { |
|
| 72 | - | "type": "wmtheme", |
|
| 73 | - | "key": "│ ├", |
|
| 74 | - | "keyColor": "blue" |
|
| 75 | - | }, |
|
| 76 | - | { |
|
| 77 | - | "type": "icons", |
|
| 78 | - | "key": "│ ├", |
|
| 79 | - | "keyColor": "blue" |
|
| 80 | - | }, |
|
| 81 | - | { |
|
| 82 | - | "type": "terminal", |
|
| 83 | - | "key": "│ ├", |
|
| 84 | - | "keyColor": "blue" |
|
| 85 | - | }, |
|
| 86 | - | { |
|
| 87 | - | "type": "wallpaper", |
|
| 88 | - | "key": "│ └", |
|
| 89 | - | "keyColor": "blue" |
|
| 90 | - | }, |
|
| 91 | - | { |
|
| 92 | - | "type": "host", |
|
| 93 | - | "key": " PC", |
|
| 94 | - | "keyColor": "green" |
|
| 95 | - | }, |
|
| 96 | - | { |
|
| 97 | - | "type": "cpu", |
|
| 98 | - | "key": "│ ├", |
|
| 99 | - | "keyColor": "green" |
|
| 100 | - | }, |
|
| 101 | - | { |
|
| 102 | - | "type": "gpu", |
|
| 103 | - | "key": "│ ├", |
|
| 104 | - | "keyColor": "green" |
|
| 105 | - | }, |
|
| 106 | - | { |
|
| 107 | - | "type": "disk", |
|
| 108 | - | "key": "│ ├", |
|
| 109 | - | "keyColor": "green" |
|
| 110 | - | }, |
|
| 111 | - | { |
|
| 112 | - | "type": "memory", |
|
| 113 | - | "key": "│ ├", |
|
| 114 | - | "keyColor": "green" |
|
| 115 | - | }, |
|
| 116 | - | { |
|
| 117 | - | "type": "swap", |
|
| 118 | - | "key": "│ ├", |
|
| 119 | - | "keyColor": "green" |
|
| 120 | - | }, |
|
| 121 | - | { |
|
| 122 | - | "type": "uptime", |
|
| 123 | - | "key": "│ ├", |
|
| 124 | - | "keyColor": "green" |
|
| 125 | - | }, |
|
| 126 | - | { |
|
| 127 | - | "type": "display", |
|
| 128 | - | "key": "│ └", |
|
| 129 | - | "keyColor": "green" |
|
| 130 | - | }, |
|
| 131 | - | { |
|
| 132 | - | "type": "sound", |
|
| 133 | - | "key": " SND", |
|
| 134 | - | "keyColor": "cyan" |
|
| 135 | - | }, |
|
| 136 | - | { |
|
| 137 | - | "type": "player", |
|
| 138 | - | "key": "│ ├", |
|
| 139 | - | "keyColor": "cyan" |
|
| 140 | - | }, |
|
| 141 | - | { |
|
| 142 | - | "type": "media", |
|
| 143 | - | "key": "│ └", |
|
| 144 | - | "keyColor": "cyan" |
|
| 145 | - | }, |
|
| 146 | - | { |
|
| 147 | - | "type": "custom", |
|
| 148 | - | "format": "└{$1}{$1}┘", |
|
| 149 | - | "outputColor": "90" |
|
| 150 | - | }, |
|
| 151 | - | "break", |
|
| 152 | - | { |
|
| 153 | - | "type": "custom", |
|
| 154 | - | "format": " {#90} {#31} {#32} {#33} {#34} {#35} {#36} {#37} {#38} {#39} {#38} {#37} {#36} {#35} {#34} {#33} {#32} {#31} {#90}" |
|
| 155 | - | } |
|
| 156 | - | ] |
|
| 157 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "logo": { |
|
| 4 | - | "type": "small" |
|
| 5 | - | }, |
|
| 6 | - | "display": { |
|
| 7 | - | "separator": "-> ", |
|
| 8 | - | "color": { |
|
| 9 | - | "separator": "red" |
|
| 10 | - | } |
|
| 11 | - | }, |
|
| 12 | - | "modules": [ |
|
| 13 | - | { |
|
| 14 | - | "key": "Distro ", |
|
| 15 | - | "type": "os" |
|
| 16 | - | }, |
|
| 17 | - | { |
|
| 18 | - | "key": "Shell ", |
|
| 19 | - | "type": "shell" |
|
| 20 | - | }, |
|
| 21 | - | { |
|
| 22 | - | "key": "Terminal ", |
|
| 23 | - | "type": "terminal" |
|
| 24 | - | }, |
|
| 25 | - | { |
|
| 26 | - | "key": "Display ", |
|
| 27 | - | "type": "display" |
|
| 28 | - | }, |
|
| 29 | - | { |
|
| 30 | - | "key": "Backlight ", |
|
| 31 | - | "type": "brightness" |
|
| 32 | - | }, |
|
| 33 | - | "break", |
|
| 34 | - | { |
|
| 35 | - | "type": "colors", |
|
| 36 | - | "paddingLeft": 6, |
|
| 37 | - | "symbol": "circle" |
|
| 38 | - | } |
|
| 39 | - | ] |
|
| 40 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "logo": { |
|
| 4 | - | "type": "none" |
|
| 5 | - | }, |
|
| 6 | - | "display": { |
|
| 7 | - | "separator": "-> ", |
|
| 8 | - | "color": { |
|
| 9 | - | "separator": "1" // Bold |
|
| 10 | - | }, |
|
| 11 | - | "constants": [ |
|
| 12 | - | "───────────────────────────" |
|
| 13 | - | ], |
|
| 14 | - | "key": { |
|
| 15 | - | "type": "both", |
|
| 16 | - | "paddingLeft": 4 |
|
| 17 | - | } |
|
| 18 | - | }, |
|
| 19 | - | "modules": [ |
|
| 20 | - | { |
|
| 21 | - | "type": "title", |
|
| 22 | - | "format": " {user-name-colored}{at-symbol-colored}{host-name-colored}" |
|
| 23 | - | }, |
|
| 24 | - | "break", |
|
| 25 | - | { |
|
| 26 | - | "type": "custom", |
|
| 27 | - | "format": "┌{$1} {#1}System Information{#} {$1}┐" |
|
| 28 | - | }, |
|
| 29 | - | "break", |
|
| 30 | - | { |
|
| 31 | - | "key": "OS ", |
|
| 32 | - | "keyColor": "red", |
|
| 33 | - | "type": "os" |
|
| 34 | - | }, |
|
| 35 | - | { |
|
| 36 | - | "key": "Machine ", |
|
| 37 | - | "keyColor": "green", |
|
| 38 | - | "type": "host" |
|
| 39 | - | }, |
|
| 40 | - | { |
|
| 41 | - | "key": "Kernel ", |
|
| 42 | - | "keyColor": "magenta", |
|
| 43 | - | "type": "kernel" |
|
| 44 | - | }, |
|
| 45 | - | { |
|
| 46 | - | "key": "Uptime ", |
|
| 47 | - | "keyColor": "red", |
|
| 48 | - | "type": "uptime" |
|
| 49 | - | }, |
|
| 50 | - | { |
|
| 51 | - | "key": "Resolution ", |
|
| 52 | - | "keyColor": "yellow", |
|
| 53 | - | "type": "display", |
|
| 54 | - | "compactType": "original-with-refresh-rate" |
|
| 55 | - | }, |
|
| 56 | - | { |
|
| 57 | - | "key": "WM ", |
|
| 58 | - | "keyColor": "blue", |
|
| 59 | - | "type": "wm" |
|
| 60 | - | }, |
|
| 61 | - | { |
|
| 62 | - | "key": "DE ", |
|
| 63 | - | "keyColor": "green", |
|
| 64 | - | "type": "de" |
|
| 65 | - | }, |
|
| 66 | - | { |
|
| 67 | - | "key": "Shell ", |
|
| 68 | - | "keyColor": "cyan", |
|
| 69 | - | "type": "shell" |
|
| 70 | - | }, |
|
| 71 | - | { |
|
| 72 | - | "key": "Terminal ", |
|
| 73 | - | "keyColor": "red", |
|
| 74 | - | "type": "terminal" |
|
| 75 | - | }, |
|
| 76 | - | { |
|
| 77 | - | "key": "CPU ", |
|
| 78 | - | "keyColor": "yellow", |
|
| 79 | - | "type": "cpu" |
|
| 80 | - | }, |
|
| 81 | - | { |
|
| 82 | - | "key": "GPU ", |
|
| 83 | - | "keyColor": "blue", |
|
| 84 | - | "type": "gpu" |
|
| 85 | - | }, |
|
| 86 | - | { |
|
| 87 | - | "key": "Memory ", |
|
| 88 | - | "keyColor": "magenta", |
|
| 89 | - | "type": "memory" |
|
| 90 | - | }, |
|
| 91 | - | { |
|
| 92 | - | "key": "Local IP ", |
|
| 93 | - | "keyColor": "red", |
|
| 94 | - | "type": "localip", |
|
| 95 | - | "compact": true |
|
| 96 | - | }, |
|
| 97 | - | { |
|
| 98 | - | "key": "Public IP ", |
|
| 99 | - | "keyColor": "cyan", |
|
| 100 | - | "type": "publicip", |
|
| 101 | - | "timeout": 1000 |
|
| 102 | - | }, |
|
| 103 | - | "break", |
|
| 104 | - | { |
|
| 105 | - | "type": "custom", |
|
| 106 | - | "format": "└{$1}────────────────────{$1}┘" |
|
| 107 | - | }, |
|
| 108 | - | "break", |
|
| 109 | - | { |
|
| 110 | - | "type": "colors", |
|
| 111 | - | "paddingLeft": 34, |
|
| 112 | - | "symbol": "circle" |
|
| 113 | - | } |
|
| 114 | - | ] |
|
| 115 | - | } |
| 1 | - | // Inspired by Catnap |
|
| 2 | - | { |
|
| 3 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 4 | - | "logo": { |
|
| 5 | - | "type": "small", |
|
| 6 | - | "padding": { |
|
| 7 | - | "top": 1 |
|
| 8 | - | } |
|
| 9 | - | }, |
|
| 10 | - | "display": { |
|
| 11 | - | "separator": " " |
|
| 12 | - | }, |
|
| 13 | - | "modules": [ |
|
| 14 | - | { |
|
| 15 | - | "key": "╭───────────╮", |
|
| 16 | - | "type": "custom" |
|
| 17 | - | }, |
|
| 18 | - | { |
|
| 19 | - | "key": "│ {#31} user {#keys}│", |
|
| 20 | - | "type": "title", |
|
| 21 | - | "format": "{user-name}" |
|
| 22 | - | }, |
|
| 23 | - | { |
|
| 24 | - | "key": "│ {#32} hname {#keys}│", |
|
| 25 | - | "type": "title", |
|
| 26 | - | "format": "{host-name}" |
|
| 27 | - | }, |
|
| 28 | - | { |
|
| 29 | - | "key": "│ {#33} uptime {#keys}│", |
|
| 30 | - | "type": "uptime" |
|
| 31 | - | }, |
|
| 32 | - | { |
|
| 33 | - | "key": "│ {#34}{icon} distro {#keys}│", |
|
| 34 | - | "type": "os" |
|
| 35 | - | }, |
|
| 36 | - | { |
|
| 37 | - | "key": "│ {#35} kernel {#keys}│", |
|
| 38 | - | "type": "kernel" |
|
| 39 | - | }, |
|
| 40 | - | { |
|
| 41 | - | "key": "│ {#36} desktop {#keys}│", |
|
| 42 | - | "type": "de" |
|
| 43 | - | }, |
|
| 44 | - | { |
|
| 45 | - | "key": "│ {#31} term {#keys}│", |
|
| 46 | - | "type": "terminal" |
|
| 47 | - | }, |
|
| 48 | - | { |
|
| 49 | - | "key": "│ {#32} shell {#keys}│", |
|
| 50 | - | "type": "shell" |
|
| 51 | - | }, |
|
| 52 | - | { |
|
| 53 | - | "key": "│ {#33} cpu {#keys}│", |
|
| 54 | - | "type": "cpu", |
|
| 55 | - | "showPeCoreCount": true |
|
| 56 | - | }, |
|
| 57 | - | { |
|
| 58 | - | "key": "│ {#34} disk {#keys}│", |
|
| 59 | - | "type": "disk", |
|
| 60 | - | "folders": "/" |
|
| 61 | - | }, |
|
| 62 | - | { |
|
| 63 | - | "key": "│ {#35} memory {#keys}│", |
|
| 64 | - | "type": "memory" |
|
| 65 | - | }, |
|
| 66 | - | { |
|
| 67 | - | "key": "│ {#36} network {#keys}│", |
|
| 68 | - | "type": "localip", |
|
| 69 | - | "format": "{ipv4} ({ifname})" |
|
| 70 | - | }, |
|
| 71 | - | { |
|
| 72 | - | "key": "├───────────┤", |
|
| 73 | - | "type": "custom" |
|
| 74 | - | }, |
|
| 75 | - | { |
|
| 76 | - | "key": "│ {#39} colors {#keys}│", |
|
| 77 | - | "type": "colors", |
|
| 78 | - | "symbol": "circle" |
|
| 79 | - | }, |
|
| 80 | - | { |
|
| 81 | - | "key": "╰───────────╯", |
|
| 82 | - | "type": "custom" |
|
| 83 | - | } |
|
| 84 | - | ] |
|
| 85 | - | } |
| 1 | - | // Inspired by Catnap |
|
| 2 | - | { |
|
| 3 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 4 | - | "logo": { |
|
| 5 | - | "type": "small" |
|
| 6 | - | }, |
|
| 7 | - | "display": { |
|
| 8 | - | "separator": "", |
|
| 9 | - | "key": { |
|
| 10 | - | "width": 15 |
|
| 11 | - | } |
|
| 12 | - | }, |
|
| 13 | - | "modules": [ |
|
| 14 | - | { |
|
| 15 | - | // draw borders first to make colors of left and right border consistant |
|
| 16 | - | "key": " user", |
|
| 17 | - | "type": "title", |
|
| 18 | - | "format": "{user-name}", |
|
| 19 | - | "keyColor": "31" |
|
| 20 | - | }, |
|
| 21 | - | { |
|
| 22 | - | "key": " hname", |
|
| 23 | - | "type": "title", |
|
| 24 | - | "format": "{host-name}", |
|
| 25 | - | "keyColor": "32" |
|
| 26 | - | ||
| 27 | - | }, |
|
| 28 | - | { |
|
| 29 | - | "key": " uptime", |
|
| 30 | - | "type": "uptime", |
|
| 31 | - | "keyColor": "33" |
|
| 32 | - | }, |
|
| 33 | - | { |
|
| 34 | - | "key": "{icon} distro", |
|
| 35 | - | "type": "os", |
|
| 36 | - | "keyColor": "34" |
|
| 37 | - | }, |
|
| 38 | - | { |
|
| 39 | - | "key": " kernel", |
|
| 40 | - | "type": "kernel", |
|
| 41 | - | "keyColor": "35" |
|
| 42 | - | }, |
|
| 43 | - | { |
|
| 44 | - | "key": " desktop", |
|
| 45 | - | "type": "de", |
|
| 46 | - | "keyColor": "36" |
|
| 47 | - | }, |
|
| 48 | - | { |
|
| 49 | - | "key": " term", |
|
| 50 | - | "type": "terminal", |
|
| 51 | - | "keyColor": "31" |
|
| 52 | - | }, |
|
| 53 | - | { |
|
| 54 | - | "key": " shell", |
|
| 55 | - | "type": "shell", |
|
| 56 | - | "keyColor": "32" |
|
| 57 | - | }, |
|
| 58 | - | { |
|
| 59 | - | "key": " cpu", |
|
| 60 | - | "type": "cpu", |
|
| 61 | - | "showPeCoreCount": true, |
|
| 62 | - | "keyColor": "33" |
|
| 63 | - | }, |
|
| 64 | - | { |
|
| 65 | - | "key": " disk", |
|
| 66 | - | "type": "disk", |
|
| 67 | - | "folders": "/", |
|
| 68 | - | "keyColor": "34" |
|
| 69 | - | }, |
|
| 70 | - | { |
|
| 71 | - | "key": " memory", |
|
| 72 | - | "type": "memory", |
|
| 73 | - | "keyColor": "35" |
|
| 74 | - | }, |
|
| 75 | - | { |
|
| 76 | - | "key": " network", |
|
| 77 | - | "type": "localip", |
|
| 78 | - | "format": "{ipv4} ({ifname})", |
|
| 79 | - | "keyColor": "36" |
|
| 80 | - | }, |
|
| 81 | - | { |
|
| 82 | - | "key": " colors", |
|
| 83 | - | "type": "colors", |
|
| 84 | - | "symbol": "circle", |
|
| 85 | - | "keyColor": "39" |
|
| 86 | - | } |
|
| 87 | - | ] |
|
| 88 | - | } |
| 1 | - | // Inspired by Catnap |
|
| 2 | - | { |
|
| 3 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 4 | - | "logo": { |
|
| 5 | - | "type": "small", |
|
| 6 | - | "padding": { |
|
| 7 | - | "top": 1 |
|
| 8 | - | } |
|
| 9 | - | }, |
|
| 10 | - | "display": { |
|
| 11 | - | "separator": " " |
|
| 12 | - | }, |
|
| 13 | - | "modules": [ |
|
| 14 | - | { |
|
| 15 | - | "key": "•••••••••••••", |
|
| 16 | - | "type": "custom" |
|
| 17 | - | }, |
|
| 18 | - | { |
|
| 19 | - | "key": "• {#31} user {#keys}•", |
|
| 20 | - | "type": "title", |
|
| 21 | - | "format": "{user-name}" |
|
| 22 | - | }, |
|
| 23 | - | { |
|
| 24 | - | "key": "• {#32} hname {#keys}•", |
|
| 25 | - | "type": "title", |
|
| 26 | - | "format": "{host-name}" |
|
| 27 | - | }, |
|
| 28 | - | { |
|
| 29 | - | "key": "• {#33} uptime {#keys}•", |
|
| 30 | - | "type": "uptime" |
|
| 31 | - | }, |
|
| 32 | - | { |
|
| 33 | - | "key": "• {#34}{icon} distro {#keys}•", |
|
| 34 | - | "type": "os" |
|
| 35 | - | }, |
|
| 36 | - | { |
|
| 37 | - | "key": "• {#35} kernel {#keys}•", |
|
| 38 | - | "type": "kernel" |
|
| 39 | - | }, |
|
| 40 | - | { |
|
| 41 | - | "key": "• {#36} desktop {#keys}•", |
|
| 42 | - | "type": "de" |
|
| 43 | - | }, |
|
| 44 | - | { |
|
| 45 | - | "key": "• {#31} term {#keys}•", |
|
| 46 | - | "type": "terminal" |
|
| 47 | - | }, |
|
| 48 | - | { |
|
| 49 | - | "key": "• {#32} shell {#keys}•", |
|
| 50 | - | "type": "shell" |
|
| 51 | - | }, |
|
| 52 | - | { |
|
| 53 | - | "key": "• {#33} cpu {#keys}•", |
|
| 54 | - | "type": "cpu", |
|
| 55 | - | "showPeCoreCount": true |
|
| 56 | - | }, |
|
| 57 | - | { |
|
| 58 | - | "key": "• {#34} disk {#keys}•", |
|
| 59 | - | "type": "disk", |
|
| 60 | - | "folders": "/" |
|
| 61 | - | }, |
|
| 62 | - | { |
|
| 63 | - | "key": "• {#35} memory {#keys}•", |
|
| 64 | - | "type": "memory" |
|
| 65 | - | }, |
|
| 66 | - | { |
|
| 67 | - | "key": "• {#36} network {#keys}•", |
|
| 68 | - | "type": "localip", |
|
| 69 | - | "format": "{ipv4} ({ifname})" |
|
| 70 | - | }, |
|
| 71 | - | { |
|
| 72 | - | "key": "•••••••••••••", |
|
| 73 | - | "type": "custom" |
|
| 74 | - | }, |
|
| 75 | - | { |
|
| 76 | - | "key": "• {#39} colors {#keys}•", |
|
| 77 | - | "type": "colors", |
|
| 78 | - | "symbol": "circle" |
|
| 79 | - | }, |
|
| 80 | - | { |
|
| 81 | - | "key": "•••••••••••••", |
|
| 82 | - | "type": "custom" |
|
| 83 | - | } |
|
| 84 | - | ] |
|
| 85 | - | } |
| 1 | - | // Inspired by Catnap |
|
| 2 | - | { |
|
| 3 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 4 | - | "logo": { |
|
| 5 | - | "type": "small", |
|
| 6 | - | "padding": { |
|
| 7 | - | "top": 1 |
|
| 8 | - | } |
|
| 9 | - | }, |
|
| 10 | - | "display": { |
|
| 11 | - | "separator": " " |
|
| 12 | - | }, |
|
| 13 | - | "modules": [ |
|
| 14 | - | { |
|
| 15 | - | "key": "╔═══════════╗", |
|
| 16 | - | "type": "custom" |
|
| 17 | - | }, |
|
| 18 | - | { |
|
| 19 | - | "key": "║ {#31} user {#keys}║", |
|
| 20 | - | "type": "title", |
|
| 21 | - | "format": "{user-name}" |
|
| 22 | - | }, |
|
| 23 | - | { |
|
| 24 | - | "key": "║ {#32} hname {#keys}║", |
|
| 25 | - | "type": "title", |
|
| 26 | - | "format": "{host-name}" |
|
| 27 | - | }, |
|
| 28 | - | { |
|
| 29 | - | "key": "║ {#33} uptime {#keys}║", |
|
| 30 | - | "type": "uptime" |
|
| 31 | - | }, |
|
| 32 | - | { |
|
| 33 | - | "key": "║ {#34}{icon} distro {#keys}║", |
|
| 34 | - | "type": "os" |
|
| 35 | - | }, |
|
| 36 | - | { |
|
| 37 | - | "key": "║ {#35} kernel {#keys}║", |
|
| 38 | - | "type": "kernel" |
|
| 39 | - | }, |
|
| 40 | - | { |
|
| 41 | - | "key": "║ {#36} desktop {#keys}║", |
|
| 42 | - | "type": "de" |
|
| 43 | - | }, |
|
| 44 | - | { |
|
| 45 | - | "key": "║ {#31} term {#keys}║", |
|
| 46 | - | "type": "terminal" |
|
| 47 | - | }, |
|
| 48 | - | { |
|
| 49 | - | "key": "║ {#32} shell {#keys}║", |
|
| 50 | - | "type": "shell" |
|
| 51 | - | }, |
|
| 52 | - | { |
|
| 53 | - | "key": "║ {#33} cpu {#keys}║", |
|
| 54 | - | "type": "cpu", |
|
| 55 | - | "showPeCoreCount": true |
|
| 56 | - | }, |
|
| 57 | - | { |
|
| 58 | - | "key": "║ {#34} disk {#keys}║", |
|
| 59 | - | "type": "disk", |
|
| 60 | - | "folders": "/" |
|
| 61 | - | }, |
|
| 62 | - | { |
|
| 63 | - | "key": "║ {#35} memory {#keys}║", |
|
| 64 | - | "type": "memory" |
|
| 65 | - | }, |
|
| 66 | - | { |
|
| 67 | - | "key": "║ {#36} network {#keys}║", |
|
| 68 | - | "type": "localip", |
|
| 69 | - | "format": "{ipv4} ({ifname})" |
|
| 70 | - | }, |
|
| 71 | - | { |
|
| 72 | - | "key": "╠═══════════╣", |
|
| 73 | - | "type": "custom" |
|
| 74 | - | }, |
|
| 75 | - | { |
|
| 76 | - | "key": "║ {#39} colors {#keys}║", |
|
| 77 | - | "type": "colors", |
|
| 78 | - | "symbol": "circle" |
|
| 79 | - | }, |
|
| 80 | - | { |
|
| 81 | - | "key": "╚═══════════╝", |
|
| 82 | - | "type": "custom" |
|
| 83 | - | } |
|
| 84 | - | ] |
|
| 85 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "logo": { |
|
| 4 | - | "type": "small", |
|
| 5 | - | "padding": { |
|
| 6 | - | "top": 1, |
|
| 7 | - | "right": 2 |
|
| 8 | - | } |
|
| 9 | - | }, |
|
| 10 | - | "display": { |
|
| 11 | - | "separator": "> ", |
|
| 12 | - | "color": { |
|
| 13 | - | "separator": "red" |
|
| 14 | - | }, |
|
| 15 | - | "constants": [ |
|
| 16 | - | "───────────────────────────────────────────────────────────────────────────", |
|
| 17 | - | "│\u001b[75C│\u001b[75D" |
|
| 18 | - | ] |
|
| 19 | - | }, |
|
| 20 | - | "modules": [ |
|
| 21 | - | { |
|
| 22 | - | "format": "{#1}{#keys}╭{$1}╮\u001b[76D {user-name-colored}{at-symbol-colored}{host-name-colored} 🖥 ", |
|
| 23 | - | "type": "title" |
|
| 24 | - | }, |
|
| 25 | - | { |
|
| 26 | - | "key": "{$2}{#31} kernel ", |
|
| 27 | - | "type": "kernel" |
|
| 28 | - | }, |
|
| 29 | - | { |
|
| 30 | - | "key": "{$2}{#32} uptime ", |
|
| 31 | - | "type": "uptime" |
|
| 32 | - | }, |
|
| 33 | - | { |
|
| 34 | - | "key": "{$2}{#33}{icon} distro ", |
|
| 35 | - | "type": "os" |
|
| 36 | - | }, |
|
| 37 | - | { |
|
| 38 | - | "key": "{$2}{#34} desktop ", |
|
| 39 | - | "type": "de" |
|
| 40 | - | }, |
|
| 41 | - | { |
|
| 42 | - | "key": "{$2}{#35} term ", |
|
| 43 | - | "type": "terminal" |
|
| 44 | - | }, |
|
| 45 | - | { |
|
| 46 | - | "key": "{$2}{#36} shell ", |
|
| 47 | - | "type": "shell" |
|
| 48 | - | }, |
|
| 49 | - | { |
|
| 50 | - | "key": "{$2}{#35} cpu ", |
|
| 51 | - | "type": "cpu", |
|
| 52 | - | "showPeCoreCount": true, |
|
| 53 | - | "temp": true |
|
| 54 | - | }, |
|
| 55 | - | { |
|
| 56 | - | "key": "{$2}{#34} gpu ", |
|
| 57 | - | "type": "gpu" |
|
| 58 | - | }, |
|
| 59 | - | { |
|
| 60 | - | "key": "{$2}{#33} disk ", |
|
| 61 | - | "type": "disk", |
|
| 62 | - | "folders": "/" |
|
| 63 | - | }, |
|
| 64 | - | { |
|
| 65 | - | "key": "{$2}{#32} memory ", |
|
| 66 | - | "type": "memory" |
|
| 67 | - | }, |
|
| 68 | - | { |
|
| 69 | - | "key": "{$2}{#31} network ", |
|
| 70 | - | "type": "localip", |
|
| 71 | - | "format": "{ipv4} ({ifname})" |
|
| 72 | - | }, |
|
| 73 | - | { |
|
| 74 | - | "format": "{#1}{#keys}├{$1}┤", |
|
| 75 | - | "type": "custom" |
|
| 76 | - | }, |
|
| 77 | - | { |
|
| 78 | - | "key": "{$2}{#39} colors ", |
|
| 79 | - | "type": "colors", |
|
| 80 | - | "symbol": "circle" |
|
| 81 | - | }, |
|
| 82 | - | { |
|
| 83 | - | "format": "{#1}{#keys}╰{$1}╯", |
|
| 84 | - | "type": "custom" |
|
| 85 | - | } |
|
| 86 | - | ] |
|
| 87 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "logo": { |
|
| 4 | - | "type": "small", |
|
| 5 | - | "padding": { |
|
| 6 | - | "top": 1, |
|
| 7 | - | "right": 2 |
|
| 8 | - | } |
|
| 9 | - | }, |
|
| 10 | - | "display": { |
|
| 11 | - | "separator": "> ", |
|
| 12 | - | "color": { |
|
| 13 | - | "separator": "red" |
|
| 14 | - | }, |
|
| 15 | - | "constants": [ |
|
| 16 | - | "═══════════════════════════════════════════════════════════════════════════", |
|
| 17 | - | "║\u001b[75C║\u001b[75D" |
|
| 18 | - | ] |
|
| 19 | - | }, |
|
| 20 | - | "modules": [ |
|
| 21 | - | { |
|
| 22 | - | "format": "{#1}{#keys}╔{$1}╗\u001b[76D {user-name-colored}{at-symbol-colored}{host-name-colored} 💻 ", |
|
| 23 | - | "type": "title" |
|
| 24 | - | }, |
|
| 25 | - | { |
|
| 26 | - | "key": "{$2}{#31} kernel ", |
|
| 27 | - | "type": "kernel" |
|
| 28 | - | }, |
|
| 29 | - | { |
|
| 30 | - | "key": "{$2}{#32} uptime ", |
|
| 31 | - | "type": "uptime" |
|
| 32 | - | }, |
|
| 33 | - | { |
|
| 34 | - | "key": "{$2}{#33}{icon} distro ", |
|
| 35 | - | "type": "os" |
|
| 36 | - | }, |
|
| 37 | - | { |
|
| 38 | - | "key": "{$2}{#34} desktop ", |
|
| 39 | - | "type": "de" |
|
| 40 | - | }, |
|
| 41 | - | { |
|
| 42 | - | "key": "{$2}{#35} term ", |
|
| 43 | - | "type": "terminal" |
|
| 44 | - | }, |
|
| 45 | - | { |
|
| 46 | - | "key": "{$2}{#36} shell ", |
|
| 47 | - | "type": "shell" |
|
| 48 | - | }, |
|
| 49 | - | { |
|
| 50 | - | "key": "{$2}{#35} cpu ", |
|
| 51 | - | "type": "cpu", |
|
| 52 | - | "showPeCoreCount": true, |
|
| 53 | - | "temp": true |
|
| 54 | - | }, |
|
| 55 | - | { |
|
| 56 | - | "key": "{$2}{#34} gpu ", |
|
| 57 | - | "type": "gpu" |
|
| 58 | - | }, |
|
| 59 | - | { |
|
| 60 | - | "key": "{$2}{#33} disk ", |
|
| 61 | - | "type": "disk", |
|
| 62 | - | "folders": "/" |
|
| 63 | - | }, |
|
| 64 | - | { |
|
| 65 | - | "key": "{$2}{#32} memory ", |
|
| 66 | - | "type": "memory" |
|
| 67 | - | }, |
|
| 68 | - | { |
|
| 69 | - | "key": "{$2}{#31} network ", |
|
| 70 | - | "type": "localip", |
|
| 71 | - | "format": "{ipv4} ({ifname})" |
|
| 72 | - | }, |
|
| 73 | - | { |
|
| 74 | - | "format": "{#1}{#keys}╠{$1}╣", |
|
| 75 | - | "type": "custom" |
|
| 76 | - | }, |
|
| 77 | - | { |
|
| 78 | - | "key": "{$2}{#39} colors ", |
|
| 79 | - | "type": "colors", |
|
| 80 | - | "symbol": "circle" |
|
| 81 | - | }, |
|
| 82 | - | { |
|
| 83 | - | "format": "{#1}{#keys}╚{$1}╝", |
|
| 84 | - | "type": "custom" |
|
| 85 | - | } |
|
| 86 | - | ] |
|
| 87 | - | } |
| 1 | - | // _____ _____ _____ _____ _____ _____ _____ _____ _____ |
|
| 2 | - | // | __| _ | __|_ _| __| __|_ _| | | | |
|
| 3 | - | // | __| |__ | | | | __| __| | | | --| | |
|
| 4 | - | // |__| |__|__|_____| |_| |__| |_____| |_| |_____|__|__| |
|
| 5 | - | // |
|
| 6 | - | // By CarterLi - https://github.com/CarterLi |
|
| 7 | - | // Homepage - https://github.com/fastfetch-cli/fastfetch |
|
| 8 | - | // config.jsonc - ニリ @niri-san |
|
| 9 | - | // pokemon-colorscripts - https://gitlab.com/phoneybadger/pokemon-colorscripts |
|
| 10 | - | { |
|
| 11 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 12 | - | "logo": { |
|
| 13 | - | "source": " _____ _____ _____ _____ _____ _____ _____ _____ _____\n| __| _ | __|_ _| __| __|_ _| | | |\n| __| |__ | | | | __| __| | | | --| |\n|__| |__|__|_____| |_| |__| |_____| |_| |_____|__|__|", |
|
| 14 | - | "type": "data", |
|
| 15 | - | "position": "top", |
|
| 16 | - | "padding": { |
|
| 17 | - | "right": 2 |
|
| 18 | - | } |
|
| 19 | - | }, |
|
| 20 | - | "display": { |
|
| 21 | - | "separator": " - " |
|
| 22 | - | }, |
|
| 23 | - | "modules": [ |
|
| 24 | - | { |
|
| 25 | - | "type": "custom", // HardwareInfo |
|
| 26 | - | "format": "• {#green}SYSTEM INFORMATION" |
|
| 27 | - | }, |
|
| 28 | - | { |
|
| 29 | - | "type": "host", |
|
| 30 | - | "key": "HOST", |
|
| 31 | - | "format": "{name}{?vendor} ({vendor}){?}", |
|
| 32 | - | "keyColor": "green" |
|
| 33 | - | }, |
|
| 34 | - | { |
|
| 35 | - | "type": "chassis", |
|
| 36 | - | "key": "COMPUTER TYPE", |
|
| 37 | - | "keyColor": "green" |
|
| 38 | - | }, |
|
| 39 | - | { |
|
| 40 | - | "type": "cpu", |
|
| 41 | - | "key": "CPU", |
|
| 42 | - | "keyColor": "green" |
|
| 43 | - | }, |
|
| 44 | - | { |
|
| 45 | - | "type": "gpu", |
|
| 46 | - | "key": "GPU", |
|
| 47 | - | "keyColor": "green" |
|
| 48 | - | }, |
|
| 49 | - | { |
|
| 50 | - | "type": "memory", |
|
| 51 | - | "key": "MEMORY USED", |
|
| 52 | - | "keyColor": "green" |
|
| 53 | - | }, |
|
| 54 | - | { |
|
| 55 | - | "type": "swap", |
|
| 56 | - | "key": "SWAP USED", |
|
| 57 | - | "keyColor": "green" |
|
| 58 | - | }, |
|
| 59 | - | { |
|
| 60 | - | "type": "disk", |
|
| 61 | - | "key": "DISK", |
|
| 62 | - | "folders": "/", |
|
| 63 | - | "keyColor": "green" |
|
| 64 | - | }, |
|
| 65 | - | { |
|
| 66 | - | "type": "custom", // SoftwareInfo |
|
| 67 | - | "format": "• {#red}SOFTWARE INFORMATION" |
|
| 68 | - | }, |
|
| 69 | - | { |
|
| 70 | - | "type": "os", |
|
| 71 | - | "key": "DISTRO", |
|
| 72 | - | "keyColor": "red" |
|
| 73 | - | }, |
|
| 74 | - | { |
|
| 75 | - | "type": "disk", |
|
| 76 | - | "folders": "/", // Use "/System/Volumes/VM" or something else on macOS |
|
| 77 | - | "format": "{create-time}", |
|
| 78 | - | "key": "INSTALLED DATE", |
|
| 79 | - | "keyColor": "red" |
|
| 80 | - | }, |
|
| 81 | - | { |
|
| 82 | - | "type": "kernel", |
|
| 83 | - | "key": "KERNEL", |
|
| 84 | - | "keyColor": "red" |
|
| 85 | - | }, |
|
| 86 | - | { |
|
| 87 | - | "type": "packages", |
|
| 88 | - | "key": "PACKAGES", |
|
| 89 | - | "keyColor": "red" |
|
| 90 | - | }, |
|
| 91 | - | { |
|
| 92 | - | "type": "uptime", |
|
| 93 | - | "key": "UPTIME", |
|
| 94 | - | "keyColor": "red" |
|
| 95 | - | }, |
|
| 96 | - | { |
|
| 97 | - | "type": "custom", // DisplayInfo |
|
| 98 | - | "format": "• {#blue}DISPLAY INFORMATION" |
|
| 99 | - | }, |
|
| 100 | - | { |
|
| 101 | - | "type": "de", |
|
| 102 | - | "key": "DESKTOP ENVIRONMENT", |
|
| 103 | - | "keyColor": "blue" |
|
| 104 | - | }, |
|
| 105 | - | { |
|
| 106 | - | "type": "lm", |
|
| 107 | - | "key": "LOGIN MANAGER", |
|
| 108 | - | "format": "{type}", |
|
| 109 | - | "keyColor": "blue" |
|
| 110 | - | }, |
|
| 111 | - | { |
|
| 112 | - | "type": "wm", |
|
| 113 | - | "key": "WM", |
|
| 114 | - | "keyColor": "blue" |
|
| 115 | - | }, |
|
| 116 | - | { |
|
| 117 | - | "type": "wmtheme", |
|
| 118 | - | "key": "WM THEME", |
|
| 119 | - | "keyColor": "blue" |
|
| 120 | - | }, |
|
| 121 | - | { |
|
| 122 | - | "type": "display", |
|
| 123 | - | "key": "MONITOR ({name})", |
|
| 124 | - | "keyColor": "blue", |
|
| 125 | - | "format": "{width}x{height} @ {refresh-rate} Hz - {physical-width}x{physical-height} mm ({inch} inches, {ppi} ppi)" |
|
| 126 | - | }, |
|
| 127 | - | { |
|
| 128 | - | "type": "custom", // DesignInfo |
|
| 129 | - | "format": "• {#yellow}DESIGN INFORMATION" |
|
| 130 | - | }, |
|
| 131 | - | { |
|
| 132 | - | "type": "wallpaper", |
|
| 133 | - | "key": "WALLPAPER", |
|
| 134 | - | "keyColor": "yellow" |
|
| 135 | - | }, |
|
| 136 | - | { |
|
| 137 | - | "type": "theme", |
|
| 138 | - | "key": "KDE THEME", |
|
| 139 | - | "format": "{1}", |
|
| 140 | - | "keyColor": "yellow" |
|
| 141 | - | }, |
|
| 142 | - | { |
|
| 143 | - | "type": "icons", |
|
| 144 | - | "key": "ICON THEME", |
|
| 145 | - | "format": "{1}", |
|
| 146 | - | "keyColor": "yellow" |
|
| 147 | - | }, |
|
| 148 | - | { |
|
| 149 | - | "type": "font", |
|
| 150 | - | "key": "FONT", |
|
| 151 | - | "format": "{?1}{1} [Qt]{?}{/1}Unknown", // Remove "[Qt]" if not using Qt |
|
| 152 | - | "keyColor": "yellow" |
|
| 153 | - | }, |
|
| 154 | - | { |
|
| 155 | - | "type": "terminalfont", |
|
| 156 | - | "key": "TERMINAL FONT", |
|
| 157 | - | "keyColor": "yellow" |
|
| 158 | - | }, |
|
| 159 | - | { |
|
| 160 | - | "type": "cursor", |
|
| 161 | - | "key": "CURSOR", |
|
| 162 | - | "keyColor": "yellow" |
|
| 163 | - | }, |
|
| 164 | - | { |
|
| 165 | - | "type": "custom", // OtherInfo |
|
| 166 | - | "format": "• {#cyan}VARIOUS INFORMATION" |
|
| 167 | - | }, |
|
| 168 | - | { |
|
| 169 | - | "type": "media", |
|
| 170 | - | "key": "NOW PLAYING", |
|
| 171 | - | "format": "{?artist}{artist} - {?}{title}", |
|
| 172 | - | "keyColor": "cyan" |
|
| 173 | - | }, |
|
| 174 | - | { |
|
| 175 | - | "type": "weather", |
|
| 176 | - | "key": "WEATHER", |
|
| 177 | - | "timeout": 1000, |
|
| 178 | - | "keyColor": "cyan" |
|
| 179 | - | }, |
|
| 180 | - | { |
|
| 181 | - | "type": "version", |
|
| 182 | - | "key": "INFO", |
|
| 183 | - | "keyColor": "cyan" |
|
| 184 | - | }, |
|
| 185 | - | "break", |
|
| 186 | - | "colors", |
|
| 187 | - | "break" |
|
| 188 | - | ] |
|
| 189 | - | } |
| 1 | - | // Load with --load-config examples/2.jsonc |
|
| 2 | - | // Note that you must replace the image path to an existing image to display it. |
|
| 3 | - | ||
| 4 | - | { |
|
| 5 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 6 | - | // "logo": { |
|
| 7 | - | // "type": "iterm", |
|
| 8 | - | // "source": "~/Desktop/apple1.png", |
|
| 9 | - | // "width": 28, |
|
| 10 | - | // "height": 12 |
|
| 11 | - | // }, |
|
| 12 | - | "display": { |
|
| 13 | - | "separator": " ", |
|
| 14 | - | "constants": [ |
|
| 15 | - | "─────────────────" // {$1}, used in Custom module |
|
| 16 | - | ], |
|
| 17 | - | "key": { |
|
| 18 | - | "type": "icon", |
|
| 19 | - | "paddingLeft": 2 |
|
| 20 | - | } |
|
| 21 | - | }, |
|
| 22 | - | "modules": [ |
|
| 23 | - | { |
|
| 24 | - | "type": "custom", // HardwareStart |
|
| 25 | - | // {#1} is equivalent to `\u001b[1m`. {#} is equivalent to `\u001b[m` |
|
| 26 | - | "format": "┌{$1} {#1}Hardware Information{#} {$1}┐" |
|
| 27 | - | }, |
|
| 28 | - | "host", |
|
| 29 | - | "cpu", |
|
| 30 | - | "gpu", |
|
| 31 | - | "disk", |
|
| 32 | - | "memory", |
|
| 33 | - | "swap", |
|
| 34 | - | "display", |
|
| 35 | - | "brightness", |
|
| 36 | - | "battery", |
|
| 37 | - | "poweradapter", |
|
| 38 | - | "bluetooth", |
|
| 39 | - | "sound", |
|
| 40 | - | "gamepad", |
|
| 41 | - | { |
|
| 42 | - | "type": "custom", // SoftwareStart |
|
| 43 | - | "format": "├{$1} {#1}Software Information{#} {$1}┤" |
|
| 44 | - | }, |
|
| 45 | - | { |
|
| 46 | - | "type": "title", |
|
| 47 | - | "keyIcon": "", |
|
| 48 | - | "key": "Title", // Title module has no key by default, so that icon is not displayed |
|
| 49 | - | "format": "{user-name}@{host-name}" |
|
| 50 | - | }, |
|
| 51 | - | "os", |
|
| 52 | - | "kernel", |
|
| 53 | - | "lm", |
|
| 54 | - | "de", |
|
| 55 | - | "wm", |
|
| 56 | - | "shell", |
|
| 57 | - | "terminal", |
|
| 58 | - | "terminalfont", |
|
| 59 | - | "theme", |
|
| 60 | - | "icons", |
|
| 61 | - | "wallpaper", |
|
| 62 | - | "packages", |
|
| 63 | - | "uptime", |
|
| 64 | - | "media", |
|
| 65 | - | { |
|
| 66 | - | "type": "localip", |
|
| 67 | - | "compact": true |
|
| 68 | - | }, |
|
| 69 | - | { |
|
| 70 | - | "type": "publicip", |
|
| 71 | - | "timeout": 1000 |
|
| 72 | - | }, |
|
| 73 | - | { |
|
| 74 | - | "type": "wifi", |
|
| 75 | - | "format": "{ssid}" |
|
| 76 | - | }, |
|
| 77 | - | "locale", |
|
| 78 | - | { |
|
| 79 | - | "type": "custom", // InformationEnd |
|
| 80 | - | "format": "└{$1}──────────────────────{$1}┘" |
|
| 81 | - | }, |
|
| 82 | - | { |
|
| 83 | - | "type": "colors", |
|
| 84 | - | "paddingLeft": 2, |
|
| 85 | - | "symbol": "circle" |
|
| 86 | - | } |
|
| 87 | - | ] |
|
| 88 | - | } |
| 1 | - | // Inspired by https://github.com/usgraphics/TR-100 |
|
| 2 | - | { |
|
| 3 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 4 | - | "logo": null, |
|
| 5 | - | "display": { |
|
| 6 | - | "pipe": true, |
|
| 7 | - | "key": { |
|
| 8 | - | "width": 16 |
|
| 9 | - | }, |
|
| 10 | - | "separator": "│ ", |
|
| 11 | - | "percent": { |
|
| 12 | - | "type": 6 |
|
| 13 | - | }, |
|
| 14 | - | "bar": { |
|
| 15 | - | "borderLeft": "", |
|
| 16 | - | "borderRight": "", |
|
| 17 | - | "charElapsed": "█", |
|
| 18 | - | "charTotal": "░", |
|
| 19 | - | "width": 40 |
|
| 20 | - | }, |
|
| 21 | - | "constants": [ |
|
| 22 | - | "\u001b[42C" |
|
| 23 | - | ] |
|
| 24 | - | }, |
|
| 25 | - | "modules": [ |
|
| 26 | - | { |
|
| 27 | - | "type": "custom", |
|
| 28 | - | "format": "┌┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┬┐" |
|
| 29 | - | }, |
|
| 30 | - | { |
|
| 31 | - | "type": "custom", |
|
| 32 | - | "format": "├┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┤" |
|
| 33 | - | }, |
|
| 34 | - | { |
|
| 35 | - | "type": "custom", |
|
| 36 | - | "format": "│ TR-100 MACHINE REPORT │" |
|
| 37 | - | }, |
|
| 38 | - | { |
|
| 39 | - | "type": "custom", |
|
| 40 | - | "format": "├────────────┬──────────────────────────────────────────┤" |
|
| 41 | - | }, |
|
| 42 | - | { |
|
| 43 | - | "type": "os", |
|
| 44 | - | "key": "│ OS │{$1}" |
|
| 45 | - | }, |
|
| 46 | - | { |
|
| 47 | - | "type": "kernel", |
|
| 48 | - | "key": "│ KERNEL │{$1}" |
|
| 49 | - | }, |
|
| 50 | - | { |
|
| 51 | - | "type": "custom", |
|
| 52 | - | "format": "├────────────┼──────────────────────────────────────────┤" |
|
| 53 | - | }, |
|
| 54 | - | { |
|
| 55 | - | "type": "title", |
|
| 56 | - | "key": "│ HOSTNAME │{$1}", |
|
| 57 | - | "format": "{host-name}" |
|
| 58 | - | }, |
|
| 59 | - | { |
|
| 60 | - | "type": "title", |
|
| 61 | - | "key": "│ USER │{$1}", |
|
| 62 | - | "format": "{user-name}" |
|
| 63 | - | }, |
|
| 64 | - | { |
|
| 65 | - | "type": "host", |
|
| 66 | - | "key": "│ MACHINE │{$1}", |
|
| 67 | - | "format": "MacBook Pro" |
|
| 68 | - | }, |
|
| 69 | - | { |
|
| 70 | - | "type": "custom", |
|
| 71 | - | "format": "├────────────┼──────────────────────────────────────────┤" |
|
| 72 | - | }, |
|
| 73 | - | { |
|
| 74 | - | "type": "cpu", |
|
| 75 | - | "key": "│ PROCESSOR │{$1}", |
|
| 76 | - | "format": "{name}" |
|
| 77 | - | }, |
|
| 78 | - | { |
|
| 79 | - | "type": "cpu", |
|
| 80 | - | "key": "│ CORES │{$1}", |
|
| 81 | - | "format": "{cores-physical} PHYSICAL CORES / {cores-logical} THREADS", |
|
| 82 | - | "showPeCoreCount": false |
|
| 83 | - | }, |
|
| 84 | - | { |
|
| 85 | - | "type": "cpu", |
|
| 86 | - | "key": "│ CPU FREQ │{$1}", |
|
| 87 | - | "format": "{freq-max}{/freq-max}{freq-base}{/}" |
|
| 88 | - | }, |
|
| 89 | - | { |
|
| 90 | - | "type": "loadavg", |
|
| 91 | - | "compact": false, |
|
| 92 | - | "key": "│ LOAD {duration>2}m │{$1}" // pad duration to 2 chars |
|
| 93 | - | }, |
|
| 94 | - | { |
|
| 95 | - | "type": "custom", |
|
| 96 | - | "format": "├────────────┼──────────────────────────────────────────┤" |
|
| 97 | - | }, |
|
| 98 | - | { |
|
| 99 | - | "type": "memory", |
|
| 100 | - | "key": "│ MEMORY │{$1}", |
|
| 101 | - | "format": "{used} / {total} [{percentage}]" |
|
| 102 | - | }, |
|
| 103 | - | { |
|
| 104 | - | "type": "memory", |
|
| 105 | - | "key": "│ USAGE │{$1}", |
|
| 106 | - | "format": "" |
|
| 107 | - | }, |
|
| 108 | - | { |
|
| 109 | - | "type": "custom", |
|
| 110 | - | "format": "├────────────┼──────────────────────────────────────────┤" |
|
| 111 | - | }, |
|
| 112 | - | { |
|
| 113 | - | "type": "disk", |
|
| 114 | - | "key": "│ VOLUME │{$1}", |
|
| 115 | - | "format": "{size-used} / {size-total} [{size-percentage}]", |
|
| 116 | - | "folders": "/" |
|
| 117 | - | }, |
|
| 118 | - | { |
|
| 119 | - | "type": "disk", |
|
| 120 | - | "key": "│ DISK USAGE │{$1}", |
|
| 121 | - | "format": "" |
|
| 122 | - | }, |
|
| 123 | - | { |
|
| 124 | - | "type": "custom", |
|
| 125 | - | "format": "├────────────┼──────────────────────────────────────────┤" |
|
| 126 | - | }, |
|
| 127 | - | { |
|
| 128 | - | "type": "users", |
|
| 129 | - | "key": "│ LAST LOGIN │{$1}", |
|
| 130 | - | "format": "{login-time}{?client-ip} ({client-ip})", |
|
| 131 | - | "myselfOnly": true |
|
| 132 | - | }, |
|
| 133 | - | { |
|
| 134 | - | "type": "uptime", |
|
| 135 | - | "key": "│ UPTIME │{$1}" |
|
| 136 | - | }, |
|
| 137 | - | { |
|
| 138 | - | "type": "custom", |
|
| 139 | - | "format": "└────────────┴──────────────────────────────────────────┘" |
|
| 140 | - | } |
|
| 141 | - | ] |
|
| 142 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "logo": { |
|
| 4 | - | "type": "small" |
|
| 5 | - | }, |
|
| 6 | - | "display": { |
|
| 7 | - | "constants": [ |
|
| 8 | - | "██ " |
|
| 9 | - | ] |
|
| 10 | - | }, |
|
| 11 | - | "modules": [ |
|
| 12 | - | { |
|
| 13 | - | "key": "{$1}Distro", |
|
| 14 | - | "keyColor": "38;5;210", |
|
| 15 | - | "type": "os" |
|
| 16 | - | }, |
|
| 17 | - | { |
|
| 18 | - | "key": "{$1}Kernel", |
|
| 19 | - | "keyColor": "38;5;84", |
|
| 20 | - | "type": "kernel" |
|
| 21 | - | }, |
|
| 22 | - | { |
|
| 23 | - | "key": "{$1}Shell", |
|
| 24 | - | "keyColor": "38;5;147", |
|
| 25 | - | "type": "shell" |
|
| 26 | - | }, |
|
| 27 | - | { |
|
| 28 | - | "key": "{$1}Packages", |
|
| 29 | - | "keyColor": "38;5;200", |
|
| 30 | - | "type": "packages" |
|
| 31 | - | }, |
|
| 32 | - | { |
|
| 33 | - | "key": "{$1}WM", |
|
| 34 | - | "keyColor": "38;5;44", |
|
| 35 | - | "type": "wm" |
|
| 36 | - | }, |
|
| 37 | - | { |
|
| 38 | - | "key": "{$1}CPU", |
|
| 39 | - | "keyColor": "38;5;75", |
|
| 40 | - | "type": "cpu" |
|
| 41 | - | }, |
|
| 42 | - | { |
|
| 43 | - | "key": "{$1}Memory", |
|
| 44 | - | "keyColor": "38;5;123", |
|
| 45 | - | "type": "memory" |
|
| 46 | - | } |
|
| 47 | - | ] |
|
| 48 | - | } |
| 1 | - | // Designed for Arch Linux |
|
| 2 | - | // Modified from: https://github.com/fastfetch-cli/fastfetch/pull/1025#issuecomment-2177566138 |
|
| 3 | - | { |
|
| 4 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 5 | - | "logo": { |
|
| 6 | - | "source": "arch3", |
|
| 7 | - | "color": { |
|
| 8 | - | "1": "red", |
|
| 9 | - | "2": "yellow" |
|
| 10 | - | } |
|
| 11 | - | }, |
|
| 12 | - | "display": { |
|
| 13 | - | "color": { |
|
| 14 | - | "separator": "blue" |
|
| 15 | - | }, |
|
| 16 | - | "separator": " | ", |
|
| 17 | - | "constants": [ |
|
| 18 | - | ">-----------<+>---------------------------------------------<" |
|
| 19 | - | ] |
|
| 20 | - | }, |
|
| 21 | - | "modules": [ |
|
| 22 | - | { |
|
| 23 | - | "type": "kernel", |
|
| 24 | - | "key": " /\\rch Linux", |
|
| 25 | - | "keyColor": "magenta" |
|
| 26 | - | }, |
|
| 27 | - | { |
|
| 28 | - | "type": "custom", |
|
| 29 | - | "format": "{$1}", |
|
| 30 | - | "outputColor": "separator" |
|
| 31 | - | }, |
|
| 32 | - | { |
|
| 33 | - | "type": "uptime", |
|
| 34 | - | "key": " Uptime ", |
|
| 35 | - | "keyColor": "green" |
|
| 36 | - | }, |
|
| 37 | - | { |
|
| 38 | - | "type": "shell", |
|
| 39 | - | "key": " Shell ", |
|
| 40 | - | "keyColor": "green" |
|
| 41 | - | }, |
|
| 42 | - | { |
|
| 43 | - | "type": "terminal", |
|
| 44 | - | "key": " Terminal ", |
|
| 45 | - | "keyColor": "green" |
|
| 46 | - | }, |
|
| 47 | - | { |
|
| 48 | - | "type": "terminalfont", |
|
| 49 | - | "key": " Font ", |
|
| 50 | - | "keyColor": "green" |
|
| 51 | - | }, |
|
| 52 | - | { |
|
| 53 | - | "type": "packages", |
|
| 54 | - | "key": " Packages ", |
|
| 55 | - | "keyColor": "green" |
|
| 56 | - | }, |
|
| 57 | - | { |
|
| 58 | - | "type": "localip", |
|
| 59 | - | "key": " Local IP ", |
|
| 60 | - | "keyColor": "green" |
|
| 61 | - | }, |
|
| 62 | - | { |
|
| 63 | - | "type": "custom", |
|
| 64 | - | "format": "{$1}", |
|
| 65 | - | "outputColor": "separator" |
|
| 66 | - | }, |
|
| 67 | - | { |
|
| 68 | - | "type": "display", |
|
| 69 | - | "key": " Display ", |
|
| 70 | - | "keyColor": "cyan" |
|
| 71 | - | }, |
|
| 72 | - | { |
|
| 73 | - | "type": "cpu", |
|
| 74 | - | "key": " CPU ", |
|
| 75 | - | "keyColor": "cyan" |
|
| 76 | - | }, |
|
| 77 | - | { |
|
| 78 | - | "type": "gpu", |
|
| 79 | - | "key": " GPU ", |
|
| 80 | - | "keyColor": "cyan" |
|
| 81 | - | }, |
|
| 82 | - | { |
|
| 83 | - | "type": "memory", |
|
| 84 | - | "key": " RAM ", |
|
| 85 | - | "keyColor": "cyan" |
|
| 86 | - | }, |
|
| 87 | - | { |
|
| 88 | - | "type": "swap", |
|
| 89 | - | "key": " SWAP ", |
|
| 90 | - | "keyColor": "cyan" |
|
| 91 | - | }, |
|
| 92 | - | { |
|
| 93 | - | "type": "disk", |
|
| 94 | - | "key": " Disk ", |
|
| 95 | - | "keyColor": "cyan" |
|
| 96 | - | }, |
|
| 97 | - | { |
|
| 98 | - | "type": "battery", |
|
| 99 | - | "key": " Battery ", |
|
| 100 | - | "keyColor": "cyan" |
|
| 101 | - | }, |
|
| 102 | - | { |
|
| 103 | - | "type": "custom", |
|
| 104 | - | "format": "{$1}", |
|
| 105 | - | "outputColor": "separator" |
|
| 106 | - | }, |
|
| 107 | - | "break", |
|
| 108 | - | { |
|
| 109 | - | "type": "colors", |
|
| 110 | - | "paddingLeft": 15 |
|
| 111 | - | } |
|
| 112 | - | ] |
|
| 113 | - | } |
| 1 | - | // designed for presenting Vanilla Linux |
|
| 2 | - | // inspired from imstilllearnin's Vanilla Logo Ultra |
|
| 3 | - | { |
|
| 4 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 5 | - | "logo": { |
|
| 6 | - | "type": "small" |
|
| 7 | - | }, |
|
| 8 | - | "display": { |
|
| 9 | - | "color": { |
|
| 10 | - | "output": "cyan" |
|
| 11 | - | }, |
|
| 12 | - | "separator": "" |
|
| 13 | - | }, |
|
| 14 | - | "modules": [ |
|
| 15 | - | { |
|
| 16 | - | "type": "kernel", |
|
| 17 | - | "key": "[_Kernel___> ", |
|
| 18 | - | "keyColor": "blue" |
|
| 19 | - | }, |
|
| 20 | - | { |
|
| 21 | - | "type": "packages", |
|
| 22 | - | "outputColor": "white", |
|
| 23 | - | "key": " [_Packages_> ", |
|
| 24 | - | "keyColor": "green" |
|
| 25 | - | }, |
|
| 26 | - | { |
|
| 27 | - | "type": "localip", |
|
| 28 | - | "outputColor": "white", |
|
| 29 | - | "key": " [_Local_IP_> ", |
|
| 30 | - | "keyColor": "green" |
|
| 31 | - | }, |
|
| 32 | - | { |
|
| 33 | - | "type": "memory", |
|
| 34 | - | "format": "[{3}] {1} / {2}", |
|
| 35 | - | "key": " [_RAM______> ", |
|
| 36 | - | "keyColor": "magenta" |
|
| 37 | - | }, |
|
| 38 | - | { |
|
| 39 | - | "type": "swap", |
|
| 40 | - | "format": "[{3}] {1} / {2}", |
|
| 41 | - | "key": " [_SWAP_____> ", |
|
| 42 | - | "keyColor": "magenta" |
|
| 43 | - | }, |
|
| 44 | - | { |
|
| 45 | - | "type": "disk", |
|
| 46 | - | "format": "[{3}] {1} / {2} {9}", |
|
| 47 | - | "key": " [_Disk_____> ", |
|
| 48 | - | "keyColor": "magenta" |
|
| 49 | - | }, |
|
| 50 | - | { |
|
| 51 | - | "type": "battery", |
|
| 52 | - | "format": "[{4}] {5}", |
|
| 53 | - | "key": " [_Battery__> ", |
|
| 54 | - | "keyColor": "magenta" |
|
| 55 | - | }, |
|
| 56 | - | "break", |
|
| 57 | - | { |
|
| 58 | - | "type": "colors", |
|
| 59 | - | "paddingLeft": 9, |
|
| 60 | - | "symbol": "circle" |
|
| 61 | - | } |
|
| 62 | - | ] |
|
| 63 | - | } |
| 1 | - | // By jan-rex |
|
| 2 | - | // Modified from: https://github.com/fastfetch-cli/fastfetch/discussions/1269 |
|
| 3 | - | { |
|
| 4 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 5 | - | "logo": { |
|
| 6 | - | "padding": { |
|
| 7 | - | "top": 2 |
|
| 8 | - | } |
|
| 9 | - | }, |
|
| 10 | - | "display": { |
|
| 11 | - | "separator": "", |
|
| 12 | - | "constants": [ |
|
| 13 | - | // CONSTANT {$1} - COLOR BACKGROUND FOR KEY |
|
| 14 | - | "\u001b[48;2;43;43;69m", |
|
| 15 | - | // CONSTANT {$2} - COLOR BACKGROUND FOR OUTPUT |
|
| 16 | - | "\u001b[48;2;56;59;78m", |
|
| 17 | - | // CONSTANT {$3} - VERTICAL BARS AT START AND 75th CHARACTERS FORWARD AND BACKWARD |
|
| 18 | - | "\u001b[90m│ │\u001b[60D\u001b[39m", |
|
| 19 | - | ] |
|
| 20 | - | }, |
|
| 21 | - | "modules": [ |
|
| 22 | - | // CUSTOM - Top UI bar |
|
| 23 | - | { |
|
| 24 | - | "type": "custom", |
|
| 25 | - | "key": "{#90}{$1}╭─────────────╮", |
|
| 26 | - | "format": "{#90}{$2}╭────────────────────────────────────────────────────────────╮", |
|
| 27 | - | }, |
|
| 28 | - | { |
|
| 29 | - | "type": "title", |
|
| 30 | - | "key": "{#90}{$1}│ {#92}User {#90}│", |
|
| 31 | - | "format": "{$2}{$3}{user-name} {#2}[{home-dir}]" |
|
| 32 | - | }, |
|
| 33 | - | { |
|
| 34 | - | "type": "users", |
|
| 35 | - | "key": "{#90}{$1}│ {#92}Users {#90}│", |
|
| 36 | - | "myselfOnly": false, |
|
| 37 | - | "format": "{$2}{$3}{1}@{host-name}{/host-name}localhost{/}{?client-ip} {#2}[IP:{client-ip}]{?} {#2}[Login time: {login-time}]", |
|
| 38 | - | }, |
|
| 39 | - | { |
|
| 40 | - | "type": "datetime", |
|
| 41 | - | "key": "{#90}{$1}│ {#92}Datetime {#90}│", |
|
| 42 | - | "format": "{$2}{$3}{year}-{month-pretty}-{day-in-month} {hour-pretty}:{minute-pretty}:{second-pretty} {#2}{weekday} {#2}[W{week}] {#2}[UTC{offset-from-utc}]" |
|
| 43 | - | }, |
|
| 44 | - | { |
|
| 45 | - | "type": "title", |
|
| 46 | - | "key": "{#90}{$1}│ {#93}Host: {#90}│", |
|
| 47 | - | "format": "{$2}{$3}{#1}{#36}{host-name}" |
|
| 48 | - | }, |
|
| 49 | - | { |
|
| 50 | - | "type": "host", |
|
| 51 | - | "key": "{#90}{$1}│ {#93}Machine {#90}│", |
|
| 52 | - | "format": "{$2}{$3}{name} {#2}{version}" |
|
| 53 | - | }, |
|
| 54 | - | { |
|
| 55 | - | "type": "os", |
|
| 56 | - | "key": "{#90}{$1}│ {#93}OS {#90}│", |
|
| 57 | - | "format": "{$2}{$3}{pretty-name} {codename} {#2}[v{version}] {#2}[{arch}]" |
|
| 58 | - | }, |
|
| 59 | - | { |
|
| 60 | - | "type": "kernel", |
|
| 61 | - | "key": "{#90}{$1}│ {#93}Kernel {#90}│", |
|
| 62 | - | "format": "{$2}{$3}{sysname} {#2}[v{release}]" |
|
| 63 | - | }, |
|
| 64 | - | { |
|
| 65 | - | "type": "uptime", |
|
| 66 | - | "key": "{#90}{$1}│ {#93}Uptime {#90}│", |
|
| 67 | - | "format": "{$2}{$3}{?days}{days} Days + {?}{hours}:{minutes}:{seconds}" |
|
| 68 | - | }, |
|
| 69 | - | { |
|
| 70 | - | "type": "cpu", |
|
| 71 | - | "key": "{#90}{$1}│ {#91}CPU {#90}│", |
|
| 72 | - | "showPeCoreCount": true, |
|
| 73 | - | "temp": true, |
|
| 74 | - | "format": "{$2}{$3}{name} {#2}[C:{core-types}] {#2}[{freq-max}]" |
|
| 75 | - | }, |
|
| 76 | - | { |
|
| 77 | - | "type": "gpu", |
|
| 78 | - | "key": "{#90}{$1}│ {#91}GPU {#90}│", |
|
| 79 | - | "detectionMethod": "auto", |
|
| 80 | - | "driverSpecific": true, |
|
| 81 | - | "format": "{$2}{$3}{name} {#2}[C:{core-count}] {#2}[{type}]" |
|
| 82 | - | }, |
|
| 83 | - | { |
|
| 84 | - | "type": "memory", |
|
| 85 | - | "key": "{#90}{$1}│ {#91}Memory {#90}│", |
|
| 86 | - | "format": "{$2}{$3}{used} / {total} ({percentage}{$2})" |
|
| 87 | - | }, |
|
| 88 | - | { |
|
| 89 | - | "type": "disk", |
|
| 90 | - | "key": "{#90}{$1}│ {#91}Disk {#90}│", |
|
| 91 | - | "format": "{$2}{$3}{size-used} / {size-total} ({size-percentage}{$2})" |
|
| 92 | - | }, |
|
| 93 | - | { |
|
| 94 | - | "type": "poweradapter", |
|
| 95 | - | "key": "{#90}{$1}│ {#91}Power {#90}│", |
|
| 96 | - | "format": "{$2}{$3}{name}" |
|
| 97 | - | }, |
|
| 98 | - | { |
|
| 99 | - | "type": "terminal", |
|
| 100 | - | "key": "{#90}{$1}│ {#95}Terminal {#90}│", |
|
| 101 | - | "format": "{$2}{$3}{pretty-name} {#2}[{version}] [PID:{pid}]" |
|
| 102 | - | }, |
|
| 103 | - | { |
|
| 104 | - | "type": "terminalfont", |
|
| 105 | - | "key": "{#90}{$1}│ {#95}Font {#90}│", |
|
| 106 | - | "format": "{$2}{$3}{name} {#2}[{size}]" |
|
| 107 | - | }, |
|
| 108 | - | { |
|
| 109 | - | "type": "shell", |
|
| 110 | - | "key": "{#90}{$1}│ {#95}Shell {#90}│", |
|
| 111 | - | "format": "{$2}{$3}{pretty-name} {#2}[v{version}] [PID:{pid}]" |
|
| 112 | - | }, |
|
| 113 | - | { |
|
| 114 | - | // localip IPv4 |
|
| 115 | - | "type": "localip", |
|
| 116 | - | "key": "{#90}{$1}│ {#94}Local IPv4 {#90}│", |
|
| 117 | - | "showPrefixLen": true, |
|
| 118 | - | "showIpv4": true, |
|
| 119 | - | "showIpv6": false, |
|
| 120 | - | "showMtu": true, |
|
| 121 | - | "format": "{$2}{$3}{ifname}: {ipv4} {#2}[MTU:{mtu}]" |
|
| 122 | - | }, |
|
| 123 | - | { |
|
| 124 | - | // localip IPv6 |
|
| 125 | - | "type": "localip", |
|
| 126 | - | "key": "{#90}{$1}│ {#94}Local IPv6 {#90}│", |
|
| 127 | - | "showPrefixLen": true, |
|
| 128 | - | "showIpv4": false, |
|
| 129 | - | "showIpv6": true, |
|
| 130 | - | "showMtu": true, |
|
| 131 | - | "format": "{$2}{$3}{ifname}: {ipv6} {#2}[MTU:{mtu}]" |
|
| 132 | - | }, |
|
| 133 | - | { |
|
| 134 | - | "type": "publicip", |
|
| 135 | - | "key": "{#90}{$1}│ {#94}Public IPv4 {#90}│", |
|
| 136 | - | "ipv6": false, |
|
| 137 | - | "format": "{$2}{$3}{ip} {#2}[{location}]" |
|
| 138 | - | }, |
|
| 139 | - | { |
|
| 140 | - | "type": "publicip", |
|
| 141 | - | "key": "{#90}{$1}│ {#94}Public IPv6 {#90}│", |
|
| 142 | - | "ipv6": true, |
|
| 143 | - | "format": "{$2}{$3}{ip} {#2}[{location}]" |
|
| 144 | - | }, |
|
| 145 | - | // CUSTOM - Button UI bar |
|
| 146 | - | { |
|
| 147 | - | "type": "custom", |
|
| 148 | - | "key": "{#90}{$1}╰─────────────╯", |
|
| 149 | - | "format": "{#90}{$2}╰────────────────────────────────────────────────────────────╯", |
|
| 150 | - | } |
|
| 151 | - | ] |
|
| 152 | - | } |
| 1 | - | // Load with --load-config examples/3.jsonc |
|
| 2 | - | ||
| 3 | - | { |
|
| 4 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 5 | - | "logo": { |
|
| 6 | - | "type": "small" |
|
| 7 | - | }, |
|
| 8 | - | "display": { |
|
| 9 | - | "size": { |
|
| 10 | - | "binaryPrefix": "si" |
|
| 11 | - | } |
|
| 12 | - | }, |
|
| 13 | - | "modules": [ |
|
| 14 | - | "vulkan", |
|
| 15 | - | "opengl", |
|
| 16 | - | "opencl", |
|
| 17 | - | "memory", |
|
| 18 | - | { |
|
| 19 | - | "type": "disk", |
|
| 20 | - | "folders": "/:/home:/boot:/efi" |
|
| 21 | - | }, |
|
| 22 | - | "localip" |
|
| 23 | - | ] |
|
| 24 | - | } |
| 1 | - | // Load with --load-config examples/4.jsonc |
|
| 2 | - | ||
| 3 | - | { |
|
| 4 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 5 | - | "logo": { |
|
| 6 | - | "type": "small", |
|
| 7 | - | "padding": { |
|
| 8 | - | "right": 1 |
|
| 9 | - | } |
|
| 10 | - | }, |
|
| 11 | - | "display": { |
|
| 12 | - | "size": { |
|
| 13 | - | "binaryPrefix": "si" |
|
| 14 | - | }, |
|
| 15 | - | "color": "blue", |
|
| 16 | - | "separator": " " |
|
| 17 | - | }, |
|
| 18 | - | "modules": [ |
|
| 19 | - | { |
|
| 20 | - | "type": "datetime", |
|
| 21 | - | "key": "Date", |
|
| 22 | - | "format": "{1}-{3}-{11}" |
|
| 23 | - | }, |
|
| 24 | - | { |
|
| 25 | - | "type": "datetime", |
|
| 26 | - | "key": "Time", |
|
| 27 | - | "format": "{14}:{17}:{20}" |
|
| 28 | - | }, |
|
| 29 | - | "break", |
|
| 30 | - | "player", |
|
| 31 | - | "media" |
|
| 32 | - | ] |
|
| 33 | - | } |
| 1 | - | // Load with --load-config examples/5.jsonc |
|
| 2 | - | ||
| 3 | - | { |
|
| 4 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 5 | - | "logo": null, |
|
| 6 | - | "display": { |
|
| 7 | - | "color": "magenta" |
|
| 8 | - | }, |
|
| 9 | - | "modules": [ |
|
| 10 | - | { |
|
| 11 | - | "type": "theme", |
|
| 12 | - | "key": "T" |
|
| 13 | - | }, |
|
| 14 | - | { |
|
| 15 | - | "type": "icons", |
|
| 16 | - | "key": "I" |
|
| 17 | - | }, |
|
| 18 | - | { |
|
| 19 | - | "type": "font", |
|
| 20 | - | "key": "F" |
|
| 21 | - | }, |
|
| 22 | - | { |
|
| 23 | - | "type": "cursor", |
|
| 24 | - | "key": "C" |
|
| 25 | - | } |
|
| 26 | - | ] |
|
| 27 | - | } |
| 1 | - | // Load with --load-config examples/2.jsonc |
|
| 2 | - | // Note that you must replace the image path to an existing image to display it. |
|
| 3 | - | ||
| 4 | - | { |
|
| 5 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 6 | - | "display": { |
|
| 7 | - | "separator": " " |
|
| 8 | - | }, |
|
| 9 | - | "modules": [ |
|
| 10 | - | { |
|
| 11 | - | "type": "host", |
|
| 12 | - | "key": "╭─", |
|
| 13 | - | "keyColor": "green" |
|
| 14 | - | }, |
|
| 15 | - | { |
|
| 16 | - | "type": "cpu", |
|
| 17 | - | "key": "├─", |
|
| 18 | - | "keyColor": "green" |
|
| 19 | - | }, |
|
| 20 | - | { |
|
| 21 | - | "type": "gpu", |
|
| 22 | - | "key": "├─", |
|
| 23 | - | "keyColor": "green" |
|
| 24 | - | }, |
|
| 25 | - | { |
|
| 26 | - | "type": "disk", |
|
| 27 | - | "key": "├─", |
|
| 28 | - | "keyColor": "green" |
|
| 29 | - | }, |
|
| 30 | - | { |
|
| 31 | - | "type": "memory", |
|
| 32 | - | "key": "├─", |
|
| 33 | - | "keyColor": "green" |
|
| 34 | - | }, |
|
| 35 | - | { |
|
| 36 | - | "type": "swap", |
|
| 37 | - | "key": "├─", |
|
| 38 | - | "keyColor": "green" |
|
| 39 | - | }, |
|
| 40 | - | { |
|
| 41 | - | "type": "display", |
|
| 42 | - | "key": "├─", |
|
| 43 | - | "keyColor": "green" |
|
| 44 | - | }, |
|
| 45 | - | { |
|
| 46 | - | "type": "brightness", |
|
| 47 | - | "key": "├─", |
|
| 48 | - | "keyColor": "green" |
|
| 49 | - | }, |
|
| 50 | - | { |
|
| 51 | - | "type": "battery", |
|
| 52 | - | "key": "├─", |
|
| 53 | - | "keyColor": "green" |
|
| 54 | - | }, |
|
| 55 | - | { |
|
| 56 | - | "type": "poweradapter", |
|
| 57 | - | "key": "├─", |
|
| 58 | - | "keyColor": "green" |
|
| 59 | - | }, |
|
| 60 | - | { |
|
| 61 | - | "type": "gamepad", |
|
| 62 | - | "key": "├─", |
|
| 63 | - | "keyColor": "green" |
|
| 64 | - | }, |
|
| 65 | - | { |
|
| 66 | - | "type": "bluetooth", |
|
| 67 | - | "key": "├─", |
|
| 68 | - | "keyColor": "green" |
|
| 69 | - | }, |
|
| 70 | - | { |
|
| 71 | - | "type": "sound", |
|
| 72 | - | "key": "╰─", |
|
| 73 | - | "keyColor": "green" |
|
| 74 | - | }, |
|
| 75 | - | "break", |
|
| 76 | - | ||
| 77 | - | { |
|
| 78 | - | "type": "shell", |
|
| 79 | - | "key": "╭─", |
|
| 80 | - | "keyColor": "yellow" |
|
| 81 | - | }, |
|
| 82 | - | { |
|
| 83 | - | "type": "terminal", |
|
| 84 | - | "key": "├─", |
|
| 85 | - | "keyColor": "yellow" |
|
| 86 | - | }, |
|
| 87 | - | { |
|
| 88 | - | "type": "terminalfont", |
|
| 89 | - | "key": "├─", |
|
| 90 | - | "keyColor": "yellow" |
|
| 91 | - | }, |
|
| 92 | - | { |
|
| 93 | - | "type": "lm", |
|
| 94 | - | "key": "├─", |
|
| 95 | - | "keyColor": "yellow" |
|
| 96 | - | }, |
|
| 97 | - | { |
|
| 98 | - | "type": "de", |
|
| 99 | - | "key": "├─", |
|
| 100 | - | "keyColor": "yellow" |
|
| 101 | - | }, |
|
| 102 | - | { |
|
| 103 | - | "type": "wm", |
|
| 104 | - | "key": "├─", |
|
| 105 | - | "keyColor": "yellow" |
|
| 106 | - | }, |
|
| 107 | - | { |
|
| 108 | - | "type": "theme", |
|
| 109 | - | "key": "├─", |
|
| 110 | - | "keyColor": "yellow" |
|
| 111 | - | }, |
|
| 112 | - | { |
|
| 113 | - | "type": "icons", |
|
| 114 | - | "key": "├─", |
|
| 115 | - | "keyColor": "yellow" |
|
| 116 | - | }, |
|
| 117 | - | { |
|
| 118 | - | "type": "wallpaper", |
|
| 119 | - | "key": "╰─", |
|
| 120 | - | "keyColor": "yellow" |
|
| 121 | - | }, |
|
| 122 | - | "break", |
|
| 123 | - | ||
| 124 | - | { |
|
| 125 | - | "type": "title", |
|
| 126 | - | "key": "╭─", |
|
| 127 | - | "format": "{user-name}@{host-name}", |
|
| 128 | - | "keyColor": "blue" |
|
| 129 | - | }, |
|
| 130 | - | { |
|
| 131 | - | "type": "os", |
|
| 132 | - | "key": "├─{icon}", // Just get your distro's logo off nerdfonts.com |
|
| 133 | - | "keyColor": "blue" |
|
| 134 | - | }, |
|
| 135 | - | { |
|
| 136 | - | "type": "kernel", |
|
| 137 | - | "key": "├─", |
|
| 138 | - | "keyColor": "blue" |
|
| 139 | - | }, |
|
| 140 | - | { |
|
| 141 | - | "type": "packages", |
|
| 142 | - | "key": "├─", |
|
| 143 | - | "keyColor": "blue" |
|
| 144 | - | }, |
|
| 145 | - | { |
|
| 146 | - | "type": "uptime", |
|
| 147 | - | "key": "├─", |
|
| 148 | - | "keyColor": "blue" |
|
| 149 | - | }, |
|
| 150 | - | { |
|
| 151 | - | "type": "media", |
|
| 152 | - | "key": "├─", |
|
| 153 | - | "keyColor": "blue" |
|
| 154 | - | }, |
|
| 155 | - | { |
|
| 156 | - | "type": "localip", |
|
| 157 | - | "key": "├─", |
|
| 158 | - | "compact": true, |
|
| 159 | - | "keyColor": "blue" |
|
| 160 | - | }, |
|
| 161 | - | { |
|
| 162 | - | "type": "publicip", |
|
| 163 | - | "key": "├─", |
|
| 164 | - | "keyColor": "blue", |
|
| 165 | - | "timeout": 1000 |
|
| 166 | - | }, |
|
| 167 | - | { |
|
| 168 | - | "type": "wifi", |
|
| 169 | - | "key": "├─", |
|
| 170 | - | "format": "{ssid}", |
|
| 171 | - | "keyColor": "blue" |
|
| 172 | - | }, |
|
| 173 | - | { |
|
| 174 | - | "type": "locale", |
|
| 175 | - | "key": "╰─", |
|
| 176 | - | "keyColor": "blue" |
|
| 177 | - | } |
|
| 178 | - | ] |
|
| 179 | - | } |
| 1 | - | // Load with --load-config examples/2.jsonc |
|
| 2 | - | // Note that you must replace the image path to an existing image to display it. |
|
| 3 | - | ||
| 4 | - | { |
|
| 5 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 6 | - | "logo": { |
|
| 7 | - | "padding": { |
|
| 8 | - | "top": 2 |
|
| 9 | - | } |
|
| 10 | - | }, |
|
| 11 | - | "display": { |
|
| 12 | - | "separator": " -> " |
|
| 13 | - | }, |
|
| 14 | - | "modules": [ |
|
| 15 | - | "title", |
|
| 16 | - | "separator", |
|
| 17 | - | { |
|
| 18 | - | "type": "os", |
|
| 19 | - | "key": " OS", |
|
| 20 | - | "keyColor": "yellow", |
|
| 21 | - | "format": "{2}" |
|
| 22 | - | }, |
|
| 23 | - | { |
|
| 24 | - | "type": "os", |
|
| 25 | - | "key": "├{icon}", // Just get your distro's logo off nerdfonts.com |
|
| 26 | - | "keyColor": "yellow" |
|
| 27 | - | }, |
|
| 28 | - | { |
|
| 29 | - | "type": "kernel", |
|
| 30 | - | "key": "├", |
|
| 31 | - | "keyColor": "yellow" |
|
| 32 | - | }, |
|
| 33 | - | { |
|
| 34 | - | "type": "packages", |
|
| 35 | - | "key": "├", |
|
| 36 | - | "keyColor": "yellow" |
|
| 37 | - | }, |
|
| 38 | - | { |
|
| 39 | - | "type": "shell", |
|
| 40 | - | "key": "└", |
|
| 41 | - | "keyColor": "yellow" |
|
| 42 | - | }, |
|
| 43 | - | "break", |
|
| 44 | - | ||
| 45 | - | { |
|
| 46 | - | "type": "wm", |
|
| 47 | - | "key": " DE/WM", |
|
| 48 | - | "keyColor": "blue" |
|
| 49 | - | }, |
|
| 50 | - | { |
|
| 51 | - | "type": "lm", |
|
| 52 | - | "key": "├", |
|
| 53 | - | "keyColor": "blue" |
|
| 54 | - | }, |
|
| 55 | - | { |
|
| 56 | - | "type": "wmtheme", |
|
| 57 | - | "key": "├", |
|
| 58 | - | "keyColor": "blue" |
|
| 59 | - | }, |
|
| 60 | - | { |
|
| 61 | - | "type": "icons", |
|
| 62 | - | "key": "├", |
|
| 63 | - | "keyColor": "blue" |
|
| 64 | - | }, |
|
| 65 | - | { |
|
| 66 | - | "type": "terminal", |
|
| 67 | - | "key": "├", |
|
| 68 | - | "keyColor": "blue" |
|
| 69 | - | }, |
|
| 70 | - | { |
|
| 71 | - | "type": "wallpaper", |
|
| 72 | - | "key": "└", |
|
| 73 | - | "keyColor": "blue" |
|
| 74 | - | }, |
|
| 75 | - | ||
| 76 | - | "break", |
|
| 77 | - | { |
|
| 78 | - | "type": "host", |
|
| 79 | - | "key": " PC", |
|
| 80 | - | "keyColor": "green" |
|
| 81 | - | }, |
|
| 82 | - | { |
|
| 83 | - | "type": "cpu", |
|
| 84 | - | "key": "├", |
|
| 85 | - | "keyColor": "green" |
|
| 86 | - | }, |
|
| 87 | - | { |
|
| 88 | - | "type": "gpu", |
|
| 89 | - | "key": "├", |
|
| 90 | - | "keyColor": "green" |
|
| 91 | - | }, |
|
| 92 | - | { |
|
| 93 | - | "type": "disk", |
|
| 94 | - | "key": "├", |
|
| 95 | - | "keyColor": "green" |
|
| 96 | - | }, |
|
| 97 | - | { |
|
| 98 | - | "type": "memory", |
|
| 99 | - | "key": "├", |
|
| 100 | - | "keyColor": "green" |
|
| 101 | - | }, |
|
| 102 | - | { |
|
| 103 | - | "type": "swap", |
|
| 104 | - | "key": "├", |
|
| 105 | - | "keyColor": "green" |
|
| 106 | - | }, |
|
| 107 | - | { |
|
| 108 | - | "type": "display", |
|
| 109 | - | "key": "├", |
|
| 110 | - | "keyColor": "green" |
|
| 111 | - | }, |
|
| 112 | - | { |
|
| 113 | - | "type": "uptime", |
|
| 114 | - | "key": "└", |
|
| 115 | - | "keyColor": "green" |
|
| 116 | - | }, |
|
| 117 | - | ||
| 118 | - | "break", |
|
| 119 | - | { |
|
| 120 | - | "type": "sound", |
|
| 121 | - | "key": " SOUND", |
|
| 122 | - | "keyColor": "cyan" |
|
| 123 | - | }, |
|
| 124 | - | { |
|
| 125 | - | "type": "player", |
|
| 126 | - | "key": "├", |
|
| 127 | - | "keyColor": "cyan" |
|
| 128 | - | }, |
|
| 129 | - | { |
|
| 130 | - | "type": "media", |
|
| 131 | - | "key": "└", |
|
| 132 | - | "keyColor": "cyan" |
|
| 133 | - | }, |
|
| 134 | - | ||
| 135 | - | "break", |
|
| 136 | - | "colors" |
|
| 137 | - | ] |
|
| 138 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "logo": { |
|
| 4 | - | "type": "small" |
|
| 5 | - | }, |
|
| 6 | - | "display": { |
|
| 7 | - | "separator": " ", |
|
| 8 | - | "color": { |
|
| 9 | - | "keys": "magenta" |
|
| 10 | - | }, |
|
| 11 | - | "size": { |
|
| 12 | - | "ndigits": 0, |
|
| 13 | - | "maxPrefix": "MB" |
|
| 14 | - | }, |
|
| 15 | - | "key": { |
|
| 16 | - | "type": "icon" |
|
| 17 | - | } |
|
| 18 | - | }, |
|
| 19 | - | "modules": [ |
|
| 20 | - | { |
|
| 21 | - | "type": "title", |
|
| 22 | - | "color": { |
|
| 23 | - | "user": "green", |
|
| 24 | - | "at": "red", |
|
| 25 | - | "host": "blue" |
|
| 26 | - | } |
|
| 27 | - | }, |
|
| 28 | - | "os", |
|
| 29 | - | "kernel", |
|
| 30 | - | "memory", |
|
| 31 | - | "packages", |
|
| 32 | - | "uptime", |
|
| 33 | - | { |
|
| 34 | - | "type": "colors", |
|
| 35 | - | "key": "Colors", // For printing icon |
|
| 36 | - | "block": { |
|
| 37 | - | "range": [1, 6] |
|
| 38 | - | } |
|
| 39 | - | } |
|
| 40 | - | ] |
|
| 41 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "logo": { |
|
| 4 | - | "type": "small" |
|
| 5 | - | }, |
|
| 6 | - | "display": { |
|
| 7 | - | "key": { |
|
| 8 | - | "width": 11 |
|
| 9 | - | }, |
|
| 10 | - | "bar": { |
|
| 11 | - | "charElapsed": "=", |
|
| 12 | - | "charTotal": "-", |
|
| 13 | - | "width": 13 |
|
| 14 | - | }, |
|
| 15 | - | "percent": { |
|
| 16 | - | "type": 2 |
|
| 17 | - | } |
|
| 18 | - | }, |
|
| 19 | - | "modules": [ |
|
| 20 | - | "title", |
|
| 21 | - | "separator", |
|
| 22 | - | "memory", |
|
| 23 | - | "swap", |
|
| 24 | - | { |
|
| 25 | - | "type": "disk", |
|
| 26 | - | "folders": "/" |
|
| 27 | - | }, |
|
| 28 | - | { |
|
| 29 | - | "type": "battery", |
|
| 30 | - | "key": "Battery" |
|
| 31 | - | }, |
|
| 32 | - | { |
|
| 33 | - | "type": "colors", |
|
| 34 | - | "paddingLeft": 10, |
|
| 35 | - | "symbol": "circle" |
|
| 36 | - | } |
|
| 37 | - | ] |
|
| 38 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "display": { |
|
| 4 | - | "size": { |
|
| 5 | - | "maxPrefix": "MB", |
|
| 6 | - | "ndigits": 0 |
|
| 7 | - | } |
|
| 8 | - | }, |
|
| 9 | - | "modules": [ |
|
| 10 | - | "title", |
|
| 11 | - | "separator", |
|
| 12 | - | "os", |
|
| 13 | - | "host", |
|
| 14 | - | { |
|
| 15 | - | "type": "kernel", |
|
| 16 | - | "format": "{release}" |
|
| 17 | - | }, |
|
| 18 | - | "uptime", |
|
| 19 | - | "packages", |
|
| 20 | - | "shell", |
|
| 21 | - | { |
|
| 22 | - | "type": "display", |
|
| 23 | - | "compactType": "original", |
|
| 24 | - | "key": "Resolution" |
|
| 25 | - | }, |
|
| 26 | - | "de", |
|
| 27 | - | "wm", |
|
| 28 | - | "wmtheme", |
|
| 29 | - | "theme", |
|
| 30 | - | "icons", |
|
| 31 | - | "terminal", |
|
| 32 | - | { |
|
| 33 | - | "type": "terminalfont", |
|
| 34 | - | "format": "{/name}{-}{/}{name}{?size} {size}{?}" |
|
| 35 | - | }, |
|
| 36 | - | "cpu", |
|
| 37 | - | { |
|
| 38 | - | "type": "gpu", |
|
| 39 | - | "key": "GPU" |
|
| 40 | - | }, |
|
| 41 | - | { |
|
| 42 | - | "type": "memory", |
|
| 43 | - | "format": "{} / {}" |
|
| 44 | - | }, |
|
| 45 | - | "break", |
|
| 46 | - | "colors" |
|
| 47 | - | ] |
|
| 48 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "modules": [ |
|
| 4 | - | "title", |
|
| 5 | - | "separator", |
|
| 6 | - | "os", |
|
| 7 | - | { |
|
| 8 | - | "type": "host", |
|
| 9 | - | "format": "{/2}{-}{/}{2}{?3} {3}{?}" |
|
| 10 | - | }, |
|
| 11 | - | "kernel", |
|
| 12 | - | "uptime", |
|
| 13 | - | { |
|
| 14 | - | "type": "battery", |
|
| 15 | - | "format": "{/4}{-}{/}{4}{?5} [{5}]{?}" |
|
| 16 | - | }, |
|
| 17 | - | "break", |
|
| 18 | - | "packages", |
|
| 19 | - | "shell", |
|
| 20 | - | "display", |
|
| 21 | - | "terminal", |
|
| 22 | - | "break", |
|
| 23 | - | "cpu", |
|
| 24 | - | { |
|
| 25 | - | "type": "gpu", |
|
| 26 | - | "key": "GPU" |
|
| 27 | - | }, |
|
| 28 | - | "memory", |
|
| 29 | - | "break", |
|
| 30 | - | "colors" |
|
| 31 | - | ] |
|
| 32 | - | } |
| 1 | - | { |
|
| 2 | - | "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", |
|
| 3 | - | "modules": [ |
|
| 4 | - | "title", |
|
| 5 | - | "os", |
|
| 6 | - | "kernel", |
|
| 7 | - | "uptime", |
|
| 8 | - | { |
|
| 9 | - | "type": "packages", |
|
| 10 | - | "format": "{all}" |
|
| 11 | - | }, |
|
| 12 | - | "shell", |
|
| 13 | - | { |
|
| 14 | - | "type": "display", |
|
| 15 | - | "key": "Resolution", |
|
| 16 | - | "compactType": "original" |
|
| 17 | - | }, |
|
| 18 | - | "de", |
|
| 19 | - | "wm", |
|
| 20 | - | "wmtheme", |
|
| 21 | - | { |
|
| 22 | - | "type": "terminalfont", |
|
| 23 | - | "key": "font" |
|
| 24 | - | }, |
|
| 25 | - | { |
|
| 26 | - | "type": "disk", |
|
| 27 | - | "folders": "/", |
|
| 28 | - | "key": "Disk" |
|
| 29 | - | }, |
|
| 30 | - | "cpu", |
|
| 31 | - | "gpu", |
|
| 32 | - | { |
|
| 33 | - | "type": "memory", |
|
| 34 | - | "key": "RAM" |
|
| 35 | - | } |
|
| 36 | - | ] |
|
| 37 | - | } |
| 1 | + | /Users/stevedylandev/.config/fastfetch/archery.jsonc |
| 1 | + | /Users/stevedylandev/.config/fastfetch/config.jsonc |
| 1 | + | /Users/stevedylandev/.config/fastfetch/presets |
Binary file — no preview.
| 1 | - | # This is terribly complicated |
|
| 2 | - | # It's because: |
|
| 3 | - | # 1. bun run has to have dynamic completions |
|
| 4 | - | # 2. there are global options |
|
| 5 | - | # 3. bun {install add remove} gets special options |
|
| 6 | - | # 4. I don't know how to write fish completions well |
|
| 7 | - | # Contributions very welcome!! |
|
| 8 | - | ||
| 9 | - | function __fish__get_bun_bins |
|
| 10 | - | string split ' ' (bun getcompletes b) |
|
| 11 | - | end |
|
| 12 | - | ||
| 13 | - | function __fish__get_bun_scripts |
|
| 14 | - | set -lx SHELL bash |
|
| 15 | - | set -lx MAX_DESCRIPTION_LEN 40 |
|
| 16 | - | string trim (string split '\n' (string split '\t' (bun getcompletes z))) |
|
| 17 | - | end |
|
| 18 | - | ||
| 19 | - | function __fish__get_bun_packages |
|
| 20 | - | if test (commandline -ct) != "" |
|
| 21 | - | set -lx SHELL fish |
|
| 22 | - | string split ' ' (bun getcompletes a (commandline -ct)) |
|
| 23 | - | end |
|
| 24 | - | end |
|
| 25 | - | ||
| 26 | - | function __history_completions |
|
| 27 | - | set -l tokens (commandline --current-process --tokenize) |
|
| 28 | - | history --prefix (commandline) | string replace -r \^$tokens[1]\\s\* "" | string replace -r \^$tokens[2]\\s\* "" | string split ' ' |
|
| 29 | - | end |
|
| 30 | - | ||
| 31 | - | function __fish__get_bun_bun_js_files |
|
| 32 | - | string split ' ' (bun getcompletes j) |
|
| 33 | - | end |
|
| 34 | - | ||
| 35 | - | set -l bun_install_boolean_flags yarn production optional development no-save dry-run force no-cache silent verbose global |
|
| 36 | - | set -l bun_install_boolean_flags_descriptions "Write a yarn.lock file (yarn v1)" "Don't install devDependencies" "Add dependency to optionalDependencies" "Add dependency to devDependencies" "Don't install devDependencies" "Don't install anything" "Always request the latest versions from the registry & reinstall all dependencies" "Ignore manifest cache entirely" "Don't output anything" "Excessively verbose logging" "Use global folder" |
|
| 37 | - | ||
| 38 | - | set -l bun_builtin_cmds_without_run dev create help bun upgrade discord install remove add init pm x |
|
| 39 | - | set -l bun_builtin_cmds_accepting_flags create help bun upgrade discord run init link unlink pm x |
|
| 40 | - | ||
| 41 | - | function __bun_complete_bins_scripts --inherit-variable bun_builtin_cmds_without_run -d "Emit bun completions for bins and scripts" |
|
| 42 | - | # Do nothing if we already have a builtin subcommand, |
|
| 43 | - | # or any subcommand other than "run". |
|
| 44 | - | if __fish_seen_subcommand_from $bun_builtin_cmds_without_run |
|
| 45 | - | or not __fish_use_subcommand && not __fish_seen_subcommand_from run |
|
| 46 | - | return |
|
| 47 | - | end |
|
| 48 | - | # Do we already have a bin or script subcommand? |
|
| 49 | - | set -l bins (__fish__get_bun_bins) |
|
| 50 | - | if __fish_seen_subcommand_from $bins |
|
| 51 | - | return |
|
| 52 | - | end |
|
| 53 | - | # Scripts have descriptions appended with a tab separator. |
|
| 54 | - | # Strip off descriptions for the purposes of subcommand testing. |
|
| 55 | - | set -l scripts (__fish__get_bun_scripts) |
|
| 56 | - | if __fish_seen_subcommand_from (string split \t -f 1 -- $scripts) |
|
| 57 | - | return |
|
| 58 | - | end |
|
| 59 | - | # Emit scripts. |
|
| 60 | - | for script in $scripts |
|
| 61 | - | echo $script |
|
| 62 | - | end |
|
| 63 | - | # Emit binaries and JS files (but only if we're doing `bun run`). |
|
| 64 | - | if __fish_seen_subcommand_from run |
|
| 65 | - | for bin in $bins |
|
| 66 | - | echo "$bin"\t"package bin" |
|
| 67 | - | end |
|
| 68 | - | for file in (__fish__get_bun_bun_js_files) |
|
| 69 | - | echo "$file"\t"Bun.js" |
|
| 70 | - | end |
|
| 71 | - | end |
|
| 72 | - | end |
|
| 73 | - | ||
| 74 | - | ||
| 75 | - | # Clear existing completions |
|
| 76 | - | complete -e -c bun |
|
| 77 | - | ||
| 78 | - | # Dynamically emit scripts and binaries |
|
| 79 | - | complete -c bun -f -a "(__bun_complete_bins_scripts)" |
|
| 80 | - | ||
| 81 | - | # Complete flags if we have no subcommand or a flag-friendly one. |
|
| 82 | - | set -l flag_applies "__fish_use_subcommand; or __fish_seen_subcommand_from $bun_builtin_cmds_accepting_flags" |
|
| 83 | - | complete -c bun \ |
|
| 84 | - | -n $flag_applies --no-files -s 'u' -l 'origin' -r -d 'Server URL. Rewrites import paths' |
|
| 85 | - | complete -c bun \ |
|
| 86 | - | -n $flag_applies --no-files -s 'p' -l 'port' -r -d 'Port number to start server from' |
|
| 87 | - | complete -c bun \ |
|
| 88 | - | -n $flag_applies --no-files -s 'd' -l 'define' -r -d 'Substitute K:V while parsing, e.g. --define process.env.NODE_ENV:\"development\"' |
|
| 89 | - | complete -c bun \ |
|
| 90 | - | -n $flag_applies --no-files -s 'e' -l 'external' -r -d 'Exclude module from transpilation (can use * wildcards). ex: -e react' |
|
| 91 | - | complete -c bun \ |
|
| 92 | - | -n $flag_applies --no-files -l 'use' -r -d 'Use a framework (ex: next)' |
|
| 93 | - | complete -c bun \ |
|
| 94 | - | -n $flag_applies --no-files -l 'hot' -r -d 'Enable hot reloading in Bun\'s JavaScript runtime' |
|
| 95 | - | ||
| 96 | - | # Complete dev and create as first subcommand. |
|
| 97 | - | complete -c bun \ |
|
| 98 | - | -n "__fish_use_subcommand" -a 'dev' -d 'Start dev server' |
|
| 99 | - | complete -c bun \ |
|
| 100 | - | -n "__fish_use_subcommand" -a 'create' -f -d 'Create a new project from a template' |
|
| 101 | - | ||
| 102 | - | # Complete "next" and "react" if we've seen "create". |
|
| 103 | - | complete -c bun \ |
|
| 104 | - | -n "__fish_seen_subcommand_from create" -a 'next' -d 'new Next.js project' |
|
| 105 | - | ||
| 106 | - | complete -c bun \ |
|
| 107 | - | -n "__fish_seen_subcommand_from create" -a 'react' -d 'new React project' |
|
| 108 | - | ||
| 109 | - | # Complete "upgrade" as first subcommand. |
|
| 110 | - | complete -c bun \ |
|
| 111 | - | -n "__fish_use_subcommand" -a 'upgrade' -d 'Upgrade bun to the latest version' -x |
|
| 112 | - | # Complete "-h/--help" unconditionally. |
|
| 113 | - | complete -c bun \ |
|
| 114 | - | -s "h" -l "help" -d 'See all commands and flags' -x |
|
| 115 | - | ||
| 116 | - | # Complete "-v/--version" if we have no subcommand. |
|
| 117 | - | complete -c bun \ |
|
| 118 | - | -n "not __fish_use_subcommand" -l "version" -s "v" -d 'Bun\'s version' -x |
|
| 119 | - | ||
| 120 | - | # Complete additional subcommands. |
|
| 121 | - | complete -c bun \ |
|
| 122 | - | -n "__fish_use_subcommand" -a 'discord' -d 'Open bun\'s Discord server' -x |
|
| 123 | - | ||
| 124 | - | ||
| 125 | - | complete -c bun \ |
|
| 126 | - | -n "__fish_use_subcommand" -a 'bun' -d 'Generate a new bundle' |
|
| 127 | - | ||
| 128 | - | ||
| 129 | - | complete -c bun \ |
|
| 130 | - | -n "__fish_seen_subcommand_from bun" -F -d 'Bundle this' |
|
| 131 | - | ||
| 132 | - | complete -c bun \ |
|
| 133 | - | -n "__fish_seen_subcommand_from create; and __fish_seen_subcommand_from react next" -F -d "Create in directory" |
|
| 134 | - | ||
| 135 | - | ||
| 136 | - | complete -c bun \ |
|
| 137 | - | -n "__fish_use_subcommand" -a 'init' -F -d 'Start an empty Bun project' |
|
| 138 | - | ||
| 139 | - | complete -c bun \ |
|
| 140 | - | -n "__fish_use_subcommand" -a 'install' -f -d 'Install packages from package.json' |
|
| 141 | - | ||
| 142 | - | complete -c bun \ |
|
| 143 | - | -n "__fish_use_subcommand" -a 'add' -F -d 'Add a package to package.json' |
|
| 144 | - | ||
| 145 | - | complete -c bun \ |
|
| 146 | - | -n "__fish_use_subcommand" -a 'remove' -F -d 'Remove a package from package.json' |
|
| 147 | - | ||
| 148 | - | ||
| 149 | - | for i in (seq (count $bun_install_boolean_flags)) |
|
| 150 | - | complete -c bun \ |
|
| 151 | - | -n "__fish_seen_subcommand_from install add remove" -l "$bun_install_boolean_flags[$i]" -d "$bun_install_boolean_flags_descriptions[$i]" |
|
| 152 | - | end |
|
| 153 | - | ||
| 154 | - | complete -c bun \ |
|
| 155 | - | -n "__fish_seen_subcommand_from install add remove" -l 'cwd' -d 'Change working directory' |
|
| 156 | - | ||
| 157 | - | complete -c bun \ |
|
| 158 | - | -n "__fish_seen_subcommand_from install add remove" -l 'cache-dir' -d 'Choose a cache directory (default: $HOME/.bun/install/cache)' |
|
| 159 | - | ||
| 160 | - | complete -c bun \ |
|
| 161 | - | -n "__fish_seen_subcommand_from add" -d 'Popular' -a '(__fish__get_bun_packages)' |
|
| 162 | - | ||
| 163 | - | complete -c bun \ |
|
| 164 | - | -n "__fish_seen_subcommand_from add" -d 'History' -a '(__history_completions)' |
|
| 165 | - | ||
| 166 | - | complete -c bun \ |
|
| 167 | - | -n "__fish_seen_subcommand_from pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) cache;" -a 'bin ls cache hash hash-print hash-string' -f |
|
| 168 | - | ||
| 169 | - | complete -c bun \ |
|
| 170 | - | -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts);" -a 'rm' -f |
|
| 171 | - | ||
| 172 | - | # Add built-in subcommands with descriptions. |
|
| 173 | - | complete -c bun -n "__fish_use_subcommand" -a "create" -f -d "Create a new project from a template" |
|
| 174 | - | complete -c bun -n "__fish_use_subcommand" -a "build bun" --require-parameter -F -d "Transpile and bundle one or more files" |
|
| 175 | - | complete -c bun -n "__fish_use_subcommand" -a "upgrade" -d "Upgrade Bun" |
|
| 176 | - | complete -c bun -n "__fish_use_subcommand" -a "run" -d "Run a script or package binary" |
|
| 177 | - | complete -c bun -n "__fish_use_subcommand" -a "install" -d "Install dependencies from package.json" -f |
|
| 178 | - | complete -c bun -n "__fish_use_subcommand" -a "remove" -d "Remove a dependency from package.json" -f |
|
| 179 | - | complete -c bun -n "__fish_use_subcommand" -a "add" -d "Add a dependency to package.json" -f |
|
| 180 | - | complete -c bun -n "__fish_use_subcommand" -a "init" -d "Initialize a Bun project in this directory" -f |
|
| 181 | - | complete -c bun -n "__fish_use_subcommand" -a "link" -d "Register or link a local npm package" -f |
|
| 182 | - | complete -c bun -n "__fish_use_subcommand" -a "link" -d "Unregister a local npm package" -f |
|
| 183 | - | complete -c bun -n "__fish_use_subcommand" -a "pm" -d "Additional package management utilities" -f |
|
| 184 | - | complete -c bun -n "__fish_use_subcommand" -a "x" -d "Execute a package binary, installing if needed" -f |
| 1 | - | complete --command fisher --exclusive --long help --description "Print help" |
|
| 2 | - | complete --command fisher --exclusive --long version --description "Print version" |
|
| 3 | - | complete --command fisher --exclusive --condition __fish_use_subcommand --arguments install --description "Install plugins" |
|
| 4 | - | complete --command fisher --exclusive --condition __fish_use_subcommand --arguments update --description "Update installed plugins" |
|
| 5 | - | complete --command fisher --exclusive --condition __fish_use_subcommand --arguments remove --description "Remove installed plugins" |
|
| 6 | - | complete --command fisher --exclusive --condition __fish_use_subcommand --arguments list --description "List installed plugins matching regex" |
|
| 7 | - | complete --command fisher --exclusive --condition "__fish_seen_subcommand_from update remove" --arguments "(fisher list)" |
| 1 | - | complete --command nvm --exclusive |
|
| 2 | - | complete --command nvm --exclusive --long version --description "Print version" |
|
| 3 | - | complete --command nvm --exclusive --long help --description "Print help" |
|
| 4 | - | complete --command nvm --long silent --description "Suppress standard output" |
|
| 5 | - | ||
| 6 | - | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments install --description "Download and activate the specified Node version" |
|
| 7 | - | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments use --description "Activate the specified Node version in the current shell" |
|
| 8 | - | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list --description "List installed Node versions" |
|
| 9 | - | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments list-remote --description "List available Node versions to install" |
|
| 10 | - | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments current --description "Print the currently-active Node version" |
|
| 11 | - | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from install" --arguments "( |
|
| 12 | - | test -e $nvm_data && string split ' ' <$nvm_data/.index |
|
| 13 | - | )" |
|
| 14 | - | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use" --arguments "(_nvm_list | string split ' ')" |
|
| 15 | - | complete --command nvm --exclusive --condition __fish_use_subcommand --arguments uninstall --description "Uninstall the specified Node version" |
|
| 16 | - | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from uninstall" --arguments "( |
|
| 17 | - | _nvm_list | string split ' ' | string replace system '' |
|
| 18 | - | )" |
|
| 19 | - | complete --command nvm --exclusive --condition "__fish_seen_subcommand_from use uninstall" --arguments "( |
|
| 20 | - | set --query nvm_default_version && echo default |
|
| 21 | - | )" |
| 1 | - | # Aliases |
|
| 2 | - | ||
| 3 | - | abbr f zi |
|
| 4 | - | abbr nvimrc 'nvim ~/.config/nvim/init.lua' |
|
| 5 | - | abbr nf neofetch |
|
| 6 | - | abbr weather "curl wttr.in/Chattanooga" |
|
| 7 | - | abbr pwdc "pwd | tr -d '\n' | pbcopy" |
|
| 8 | - | abbr nvim-kickstart "set -gx NVIM_APPNAME nvim-kickstart" |
|
| 9 | - | abbr nvim-old "set -gx NVIM_APPNAME nvim" |
|
| 10 | - | abbr nvim-new "set -gx NVIM_APPNAME nvim-new" |
|
| 11 | - | # Colorize grep output (good for log files) |
|
| 12 | - | abbr grep 'grep --color=auto' |
|
| 13 | - | abbr egrep 'egrep --color=auto' |
|
| 14 | - | abbr fgrep 'fgrep --color=auto' |
|
| 15 | - | # confirm before overwriting something |
|
| 16 | - | abbr lnd "sudo arp-scan -l" |
|
| 17 | - | abbr ls eza --icons=always |
|
| 18 | - | abbr lt eza -l --git -T --header --no-permissions --no-user |
|
| 19 | - | abbr lg lazygit |
|
| 20 | - | abbr rm trash |
|
| 21 | - | abbr cat bat |
|
| 22 | - | abbr p pinata |
|
| 23 | - | abbr t sesh_start |
|
| 24 | - | abbr ☕ "ssh terminal.shop" |
|
| 25 | - |
| 1 | - | ||
| 2 | - | source "/Users/stevedsimkins/.deno/env.fish" |
| 1 | - | # Exports |
|
| 2 | - | set -x MANPAGER 'nvim +Man!' |
|
| 3 | - | set -x TINTED_SHELL_ENABLE_BASE16_VARS "1" |
|
| 4 | - | set -x MANWIDTH 999 |
|
| 5 | - | set -x PATH "$HOME/.cargo/bin:$PATH" |
|
| 6 | - | set -x PATH "$HOME/.local/share/go/bin:$PATH" |
|
| 7 | - | set -x PATH "$HOME/.local/bin:$PATH" |
|
| 8 | - | set -x PATH "/Applications/Docker.app/Contents/Resources/bin:$PATH" |
|
| 9 | - | set -x GOPATH "$HOME/.local/share/go" |
|
| 10 | - | set -x PATH "/opt/homebrew/opt/llvm/bin:$PATH" |
|
| 11 | - | set -x PATH "/Users/stevedsimkins/.local/share/solana/install/active_release/bin:$PATH" |
|
| 12 | - | set -x BAT_THEME ansi |
|
| 13 | - | # pnpm |
|
| 14 | - | set -x PNPM_HOME "/Users/stevedsimkins/.local/share/pnpm" |
|
| 15 | - | set -x PATH "$PNPM_HOME:$PATH" |
|
| 16 | - | # pnpm end |
|
| 17 | - | set -x FZF_DEFAULT_OPTS "--height 60% --layout=reverse --inline-info --border" |
|
| 18 | - | set -x _ZO_DATA_DIR "$HOME/.local/share/zoxide" |
|
| 19 | - | ||
| 20 | - | # set -gx NVM_DIR (brew --prefix nvm) |
|
| 21 | - | # set -x PATH "/Users/stevedsimkins/solana"/bin:"$PATH" |
|
| 22 | - | # source $NVM_DIR/nvm.sh; and nvm use |
|
| 23 | - | # set -x PATH "/Users/stevedsimkins/.local/share/solana/install/active_release/bin:$PATH" |
|
| 24 | - | set -x BUN_INSTALL "$HOME/.bun" |
|
| 25 | - | set -x PATH "$BUN_INSTALL/bin:$PATH" |
|
| 26 | - | set -x PATH "/opt/homebrew/opt/curl/bin:$PATH" |
|
| 27 | - | set -x IPFS_GATEWAY "https://newonboardingflow.mypinata.cloud" |
|
| 28 | - | # ~/.tmux/plugins |
|
| 29 | - | set -x PATH $HOME/.tmux/plugins/t-smart-tmux-session-manager/bin:$PATH |
|
| 30 | - | # ~/.config/tmux/plugins |
|
| 31 | - | set -x PATH $HOME/.config/tmux/plugins/t-smart-tmux-session-manager/bin:$PATH |
|
| 32 | - | set -x ETHERSCAN_API_KEY $(prs show etherscan/secret) |
|
| 33 | - | set -x OATMEAL_THEME_FILE "/Users/stevedsimkins/.config/oatmeal/black-metal.tmTheme" |
|
| 34 | - | set -x nvm_default_version "20" |
|
| 35 | - | set -x LIBRARY_PATH "$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" |
|
| 36 | - | set -x PATH "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib:$PATH" |
|
| 37 | - | set -x PATH "/Users/stevedsimkins/.local/share/solana/install/active_release/bin:$PATH" |
| 1 | - | set --query nvm_mirror || set --global nvm_mirror https://nodejs.org/dist |
|
| 2 | - | set --query XDG_DATA_HOME || set --local XDG_DATA_HOME ~/.local/share |
|
| 3 | - | set --global nvm_data $XDG_DATA_HOME/nvm |
|
| 4 | - | ||
| 5 | - | function _nvm_install --on-event nvm_install |
|
| 6 | - | test ! -d $nvm_data && command mkdir -p $nvm_data |
|
| 7 | - | echo "Downloading the Node distribution index..." 2>/dev/null |
|
| 8 | - | _nvm_index_update |
|
| 9 | - | end |
|
| 10 | - | ||
| 11 | - | function _nvm_update --on-event nvm_update |
|
| 12 | - | set --query --universal nvm_data && set --erase --universal nvm_data |
|
| 13 | - | set --query --universal nvm_mirror && set --erase --universal nvm_mirror |
|
| 14 | - | set --query nvm_mirror || set --global nvm_mirror https://nodejs.org/dist |
|
| 15 | - | end |
|
| 16 | - | ||
| 17 | - | function _nvm_uninstall --on-event nvm_uninstall |
|
| 18 | - | command rm -rf $nvm_data |
|
| 19 | - | ||
| 20 | - | set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version |
|
| 21 | - | ||
| 22 | - | set --names | string replace --filter --regex -- "^nvm" "set --erase nvm" | source |
|
| 23 | - | functions --erase (functions --all | string match --entire --regex -- "^_nvm_") |
|
| 24 | - | end |
|
| 25 | - | ||
| 26 | - | if status is-interactive && set --query nvm_default_version && ! set --query nvm_current_version |
|
| 27 | - | nvm use --silent $nvm_default_version |
|
| 28 | - | end |
| 1 | - | # Path to Oh My Fish install. |
|
| 2 | - | set -q XDG_DATA_HOME |
|
| 3 | - | and set -gx OMF_PATH "$XDG_DATA_HOME/omf" |
|
| 4 | - | or set -gx OMF_PATH "$HOME/.local/share/omf" |
|
| 5 | - | ||
| 6 | - | # Load Oh My Fish configuration. |
|
| 7 | - | source $OMF_PATH/init.fish |
| 1 | - | ||
| 2 | - | source "$HOME/.cargo/env.fish" |
| 1 | - | # Sponge version |
|
| 2 | - | set --global sponge_version 1.1.0 |
|
| 3 | - | ||
| 4 | - | # Allow to repeat previous command by default |
|
| 5 | - | if not set --query --universal sponge_delay |
|
| 6 | - | set --universal sponge_delay 2 |
|
| 7 | - | end |
|
| 8 | - | ||
| 9 | - | # Purge entries both after `sponge_delay` entries and on exit by default |
|
| 10 | - | if not set --query --universal sponge_purge_only_on_exit |
|
| 11 | - | set --universal sponge_purge_only_on_exit false |
|
| 12 | - | end |
|
| 13 | - | ||
| 14 | - | # Add default filters |
|
| 15 | - | if not set --query --universal sponge_filters |
|
| 16 | - | set --universal sponge_filters sponge_filter_failed sponge_filter_matched |
|
| 17 | - | end |
|
| 18 | - | ||
| 19 | - | # Don't filter out commands that already have been in the history by default |
|
| 20 | - | if not set --query --universal sponge_allow_previously_successful |
|
| 21 | - | set --universal sponge_allow_previously_successful true |
|
| 22 | - | end |
|
| 23 | - | ||
| 24 | - | # Consider `0` the only successful exit code by default |
|
| 25 | - | if not set --query --universal sponge_successful_exit_codes |
|
| 26 | - | set --universal sponge_successful_exit_codes 0 |
|
| 27 | - | end |
|
| 28 | - | ||
| 29 | - | # No active regex patterns by default |
|
| 30 | - | if not set --query --universal sponge_regex_patterns |
|
| 31 | - | set --universal sponge_regex_patterns |
|
| 32 | - | end |
|
| 33 | - | ||
| 34 | - | # Attach event handlers |
|
| 35 | - | functions --query \ |
|
| 36 | - | _sponge_on_prompt \ |
|
| 37 | - | _sponge_on_preexec \ |
|
| 38 | - | _sponge_on_postexec \ |
|
| 39 | - | _sponge_on_exit |
|
| 40 | - | ||
| 41 | - | # Initialize empty state for the first run |
|
| 42 | - | function _sponge_install --on-event sponge_install |
|
| 43 | - | set --global _sponge_current_command '' |
|
| 44 | - | set --global _sponge_current_command_exit_code 0 |
|
| 45 | - | set --global _sponge_current_command_previously_in_history false |
|
| 46 | - | end |
|
| 47 | - | ||
| 48 | - | # Clean up variables |
|
| 49 | - | function _sponge_uninstall --on-event sponge_uninstall |
|
| 50 | - | _sponge_clear_state |
|
| 51 | - | set --erase sponge_version |
|
| 52 | - | end |
| 1 | - | eval "$(/opt/homebrew/bin/brew shellenv)" |
|
| 2 | - | set -U fish_greeting |
|
| 3 | - | set -U fish_key_bindings fish_vi_key_bindings |
|
| 4 | - | set -U fish_cursor_default |
|
| 5 | - | set -Ux EDITOR nvim |
|
| 6 | - | set -Ux fish_color_autosuggestion normal |
|
| 7 | - | zoxide init fish | source |
|
| 8 | - | starship init fish | source |
|
| 9 | - | # source "/Users/stevedsimkins/.starkli/env" |
|
| 10 | - | ||
| 11 | - | export PATH="$PATH:/Users/stevedsimkins/.foundry/bin" |
|
| 12 | - | ||
| 13 | - | # Added by Radicle. |
|
| 14 | - | export PATH="$PATH:/Users/stevedsimkins/.radicle/bin" |
|
| 15 | - | ||
| 16 | - | function oatsesh |
|
| 17 | - | set selected_session (oatmeal sessions list | awk '{print substr($0, index($0, "latest, ") + 8)}' | fzf) |
|
| 18 | - | ||
| 19 | - | if test -n "$selected_session" |
|
| 20 | - | set full_line (oatmeal sessions list | grep "$selected_session") |
|
| 21 | - | set id_value (echo $full_line | grep -o '[a-f0-9]\{8\}-[a-f0-9]\{4\}' | head -n 1) |
|
| 22 | - | ||
| 23 | - | if test -n "$id_value" |
|
| 24 | - | oatmeal sessions open -i $id_value |
|
| 25 | - | end |
|
| 26 | - | end |
|
| 27 | - | end |
|
| 28 | - | ||
| 29 | - | ||
| 30 | - | fzf --fish | source |
|
| 31 | - | export PATH="/Users/stevedsimkins/.local/share/pinata:$PATH" |
|
| 32 | - | export PATH="/Users/stevedsimkins/.local/share/pinata:$PATH" |
|
| 33 | - | export PATH="/Users/stevedsimkins/.local/share/pinata:$PATH" |
|
| 34 | - | export PATH="/Users/stevedsimkins/.local/share/pinata:$PATH" |
|
| 35 | - | export PATH="/Users/stevedsimkins/.local/share/pinata-go-cli:$PATH" |
|
| 36 | - | export PATH="/Users/stevedsimkins/.local/share/pinata-go-cli:$PATH" |
|
| 37 | - | export PATH="/Users/stevedsimkins/.local/share/cast:$PATH" |
|
| 38 | - | export PATH="/Users/stevedsimkins/.local/share/cast:$PATH" |
|
| 39 | - | export PATH="/Users/stevedsimkins/.local/share/mast:$PATH" |
|
| 40 | - | export PATH="/Users/stevedsimkins/.local/share/mast:$PATH" |
|
| 41 | - | export PATH="/Users/stevedsimkins/.local/share/pinata:$PATH" |
|
| 42 | - | export PATH="/Users/stevedsimkins/.local/share/pinata:$PATH" |
|
| 43 | - | ||
| 44 | - | export PATH="$PATH:/Users/stevedsimkins/.sp1/bin" |
| 1 | - | jorgebucaran/fisher |
|
| 2 | - | meaningful-ooo/sponge |
|
| 3 | - | jorgebucaran/nvm.fish |
|
| 4 | - | rose-pine/fish |
|
| 5 | - | jorgebucaran/autopair.fish |
|
| 6 | - | fabioantunes/base16-fish-shell |
| 1 | - | # This file contains fish universal variable definitions. |
|
| 2 | - | # VERSION: 3.0 |
|
| 3 | - | SETUVAR --export EDITOR:nvim |
|
| 4 | - | SETUVAR --export FZF_DEFAULT_OPTS:\x2d\x2dheight\x2060\x25\x20\x2d\x2dlayout\x3dreverse\x20\x2d\x2dinline\x2dinfo\x20\x2d\x2dborder |
|
| 5 | - | SETUVAR --export TINTED_SHELL_ENABLE_BASE16_VARS:1 |
|
| 6 | - | SETUVAR __fish_initialized:3400 |
|
| 7 | - | SETUVAR _fisher_fabioantunes_2F_base16_2D_fish_2D_shell_files:\x7e/\x2econfig/fish/functions/__base16_fish_shell_color_test\x2efish\x1e\x7e/\x2econfig/fish/functions/__base16_fish_shell_create_vimrc_background\x2efish\x1e\x7e/\x2econfig/fish/functions/__base16_fish_shell_set_background\x2efish\x1e\x7e/\x2econfig/fish/functions/__put_template\x2efish\x1e\x7e/\x2econfig/fish/functions/__put_template_custom\x2efish\x1e\x7e/\x2econfig/fish/functions/__put_template_var\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2d3024\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dapathy\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dapprentice\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dashes\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dcave\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dcave\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2ddune\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2ddune\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2destuary\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2destuary\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dforest\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dforest\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dheath\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dheath\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dlakeside\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dlakeside\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dplateau\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dplateau\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dsavanna\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dsavanna\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dseaside\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dseaside\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dsulphurpool\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datelier\x2dsulphurpool\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2datlas\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbespin\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dbathory\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dburzum\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2ddark\x2dfuneral\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dgorgoroth\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dimmortal\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dkhold\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dmarduk\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dmayhem\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dnile\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2dvenom\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dblack\x2dmetal\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbrewer\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbright\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbrogrammer\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbrushtrees\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dbrushtrees\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dchalk\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcircus\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dclassic\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dclassic\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcodeschool\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcolors\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcupcake\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dcupertino\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddanqing\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddarcula\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddarkmoss\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddarktooth\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddarkviolet\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddecaf\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddefault\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddefault\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddirtysea\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2ddracula\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dedge\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dedge\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2deighties\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dembers\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dequilibrium\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dequilibrium\x2dgray\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dequilibrium\x2dgray\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dequilibrium\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2despresso\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2deva\x2ddim\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2deva\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dflat\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dframer\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dfruit\x2dsoda\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgigavolt\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgithub\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgoogle\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgoogle\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgrayscale\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgrayscale\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgreenscreen\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2ddark\x2dhard\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2ddark\x2dmedium\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2ddark\x2dpale\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2ddark\x2dsoft\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2dlight\x2dhard\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2dlight\x2dmedium\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dgruvbox\x2dlight\x2dsoft\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhardcore\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dharmonic\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dharmonic\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dheetch\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dheetch\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhelios\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhopscotch\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhorizon\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhorizon\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhorizon\x2dterminal\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhorizon\x2dterminal\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhumanoid\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dhumanoid\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dia\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dia\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dicy\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dirblack\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2disotope\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dkimber\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmacintosh\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmarrakesh\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmateria\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2ddarker\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2dlighter\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2dpalenight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2dvivid\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmaterial\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmellow\x2dpurple\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmexico\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmocha\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dmonokai\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dnebula\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dnord\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dnova\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2docean\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2doceanicnext\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2done\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2donedark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2doutrun\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpapercolor\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpapercolor\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dparaiso\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpasque\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dphd\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpico\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpinky\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dpop\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dporple\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dqualia\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drailscasts\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drebecca\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drose\x2dpine\x2ddawn\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drose\x2dpine\x2dmoon\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2drose\x2dpine\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsagelight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsakura\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsandcastle\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dseti\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dshades\x2dof\x2dpurple\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dshapeshifter\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsilk\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsilk\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsnazzy\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsolarflare\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsolarflare\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsolarized\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsolarized\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dspacemacs\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsummercamp\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsummerfruit\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsummerfruit\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsynth\x2dmidnight\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dsynth\x2dmidnight\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtango\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtender\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtomorrow\x2dnight\x2deighties\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtomorrow\x2dnight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtomorrow\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtube\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dtwilight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dunikitty\x2ddark\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dunikitty\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dvulcan\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2d10\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2d10\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2d95\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2d95\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2dhighcontrast\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2dhighcontrast\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2dnt\x2dlight\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwindows\x2dnt\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dwoodland\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dxcode\x2ddusk\x2efish\x1e\x7e/\x2econfig/fish/functions/base16\x2dzenburn\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/base16\x2efish |
|
| 8 | - | SETUVAR _fisher_jorgebucaran_2F_autopair_2E_fish_files:\x7e/\x2econfig/fish/functions/_autopair_backspace\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_insert_left\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_insert_right\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_insert_same\x2efish\x1e\x7e/\x2econfig/fish/functions/_autopair_tab\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/autopair\x2efish |
|
| 9 | - | SETUVAR _fisher_jorgebucaran_2F_fisher_files:\x7e/\x2econfig/fish/functions/fisher\x2efish\x1e\x7e/\x2econfig/fish/completions/fisher\x2efish |
|
| 10 | - | SETUVAR _fisher_jorgebucaran_2F_nvm_2E_fish_files:\x7e/\x2econfig/fish/functions/_nvm_index_update\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_list\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_activate\x2efish\x1e\x7e/\x2econfig/fish/functions/_nvm_version_deactivate\x2efish\x1e\x7e/\x2econfig/fish/functions/nvm\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/nvm\x2efish\x1e\x7e/\x2econfig/fish/completions/nvm\x2efish |
|
| 11 | - | SETUVAR _fisher_meaningful_2D_ooo_2F_sponge_files:\x7e/\x2econfig/fish/functions/_sponge_clear_state\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_on_exit\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_on_postexec\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_on_preexec\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_on_prompt\x2efish\x1e\x7e/\x2econfig/fish/functions/_sponge_remove_from_history\x2efish\x1e\x7e/\x2econfig/fish/functions/sponge_filter_failed\x2efish\x1e\x7e/\x2econfig/fish/functions/sponge_filter_matched\x2efish\x1e\x7e/\x2econfig/fish/conf\x2ed/sponge\x2efish |
|
| 12 | - | SETUVAR _fisher_plugins:jorgebucaran/fisher\x1emeaningful\x2dooo/sponge\x1ejorgebucaran/nvm\x2efish\x1erose\x2dpine/fish\x1ejorgebucaran/autopair\x2efish\x1efabioantunes/base16\x2dfish\x2dshell |
|
| 13 | - | SETUVAR _fisher_rose_2D_pine_2F_fish_files:\x7e/\x2econfig/fish/themes/Ros\u00e9\x20Pine\x20Dawn\x2etheme\x1e\x7e/\x2econfig/fish/themes/Ros\u00e9\x20Pine\x20Moon\x2etheme\x1e\x7e/\x2econfig/fish/themes/Ros\u00e9\x20Pine\x2etheme |
|
| 14 | - | SETUVAR _fisher_upgraded_to_4_4:\x1d |
|
| 15 | - | SETUVAR --export fish_color_autosuggestion:normal |
|
| 16 | - | SETUVAR fish_color_cancel:\x2dr |
|
| 17 | - | SETUVAR fish_color_command:blue |
|
| 18 | - | SETUVAR fish_color_comment:red |
|
| 19 | - | SETUVAR fish_color_cwd:green |
|
| 20 | - | SETUVAR fish_color_cwd_root:red |
|
| 21 | - | SETUVAR fish_color_end:green |
|
| 22 | - | SETUVAR fish_color_error:brred |
|
| 23 | - | SETUVAR fish_color_escape:brcyan |
|
| 24 | - | SETUVAR fish_color_history_current:\x2d\x2dbold |
|
| 25 | - | SETUVAR fish_color_host:normal |
|
| 26 | - | SETUVAR fish_color_host_remote:yellow |
|
| 27 | - | SETUVAR fish_color_normal:normal |
|
| 28 | - | SETUVAR fish_color_operator:brcyan |
|
| 29 | - | SETUVAR fish_color_param:cyan |
|
| 30 | - | SETUVAR fish_color_quote:yellow |
|
| 31 | - | SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold |
|
| 32 | - | SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack |
|
| 33 | - | SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack |
|
| 34 | - | SETUVAR fish_color_status:red |
|
| 35 | - | SETUVAR fish_color_user:brgreen |
|
| 36 | - | SETUVAR fish_color_valid_path:\x2d\x2dunderline |
|
| 37 | - | SETUVAR fish_cursor_default:\x1d |
|
| 38 | - | SETUVAR fish_cursor_external:yes |
|
| 39 | - | SETUVAR fish_greeting:\x1d |
|
| 40 | - | SETUVAR fish_key_bindings:fish_vi_key_bindings |
|
| 41 | - | SETUVAR fish_pager_color_completion:normal |
|
| 42 | - | SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di |
|
| 43 | - | SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline |
|
| 44 | - | SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan |
|
| 45 | - | SETUVAR fish_pager_color_selected_background:\x2dr |
|
| 46 | - | SETUVAR fish_user_paths:/Users/stevedsimkins/Library/Application\x20Support/Herd/bin |
|
| 47 | - | SETUVAR sponge_allow_previously_successful:true |
|
| 48 | - | SETUVAR sponge_delay:2 |
|
| 49 | - | SETUVAR sponge_filters:sponge_filter_failed\x1esponge_filter_matched |
|
| 50 | - | SETUVAR sponge_purge_only_on_exit:false |
|
| 51 | - | SETUVAR sponge_regex_patterns:\x1d |
|
| 52 | - | SETUVAR sponge_successful_exit_codes:0 |
Binary file — no preview.
| 1 | - | function __put_template -d "base16-fish-shell private function" |
|
| 2 | - | if test -n "$TMUX" |
|
| 3 | - | printf '\033Ptmux;\033\033]4;%d;rgb:%s\033\033\\\\\033\\' $argv |
|
| 4 | - | else if string match -q -- '*screen*' $TERM |
|
| 5 | - | printf '\033P\033]4;%d;rgb:%s\007\033\\' $argv |
|
| 6 | - | else if string match -q -- 'linux*' $TERM |
|
| 7 | - | test $argv[1] -lt 16 && printf "\e]P%x%s" $argv[1] (echo $argv[2] | sed 's/\///g') |
|
| 8 | - | else |
|
| 9 | - | printf '\033]4;%d;rgb:%s\033\\' $argv |
|
| 10 | - | end |
|
| 11 | - | end |
| 1 | - | function __put_template_custom |
|
| 2 | - | if test -n "$TMUX" |
|
| 3 | - | printf '\033Ptmux;\033\033]%s%s\033\033\\\\\033\\' $argv |
|
| 4 | - | else if string match -q -- 'screen*' $TERM |
|
| 5 | - | printf '\033P\033]%s%s\007\033\\' $argv |
|
| 6 | - | else if string match -q -- 'linux*' $TERM |
|
| 7 | - | true |
|
| 8 | - | else |
|
| 9 | - | printf '\033]%s%s\033\\' $argv |
|
| 10 | - | end |
|
| 11 | - | end |
| 1 | - | function __put_template_var -d "base16-fish-shell private function" |
|
| 2 | - | if test -n "$TMUX" |
|
| 3 | - | printf '\033Ptmux;\033\033]%d;rgb:%s\033\033\\\\\033\\' $argv |
|
| 4 | - | else if string match -q -- 'screen*' $TERM |
|
| 5 | - | printf '\033P\033]%d;rgb:%s\007\033\\' $argv |
|
| 6 | - | else if string match -q -- 'linux*' $TERM |
|
| 7 | - | true |
|
| 8 | - | else |
|
| 9 | - | printf '\033]%d;rgb:%s\033\\' $argv |
|
| 10 | - | end |
|
| 11 | - | end |
| 1 | - | function _autopair_backspace |
|
| 2 | - | set --local index (commandline --cursor) |
|
| 3 | - | set --local buffer (commandline) |
|
| 4 | - | ||
| 5 | - | test $index -ge 1 && |
|
| 6 | - | contains -- (string sub --start=$index --length=2 -- "$buffer") $autopair_pairs && |
|
| 7 | - | commandline --function delete-char |
|
| 8 | - | commandline --function backward-delete-char |
|
| 9 | - | end |
| 1 | - | function _autopair_insert_left --argument-names left right |
|
| 2 | - | set --local buffer (commandline) |
|
| 3 | - | set --local before (commandline --cut-at-cursor) |
|
| 4 | - | ||
| 5 | - | commandline --insert -- $left |
|
| 6 | - | ||
| 7 | - | switch "$buffer" |
|
| 8 | - | case "$before"{," "\*,$autopair_right\*} |
|
| 9 | - | set --local index (commandline --cursor) |
|
| 10 | - | commandline --insert -- $right |
|
| 11 | - | commandline --cursor $index |
|
| 12 | - | end |
|
| 13 | - | end |
| 1 | - | function _autopair_insert_right --argument-names key |
|
| 2 | - | set --local buffer (commandline) |
|
| 3 | - | set --local before (commandline --cut-at-cursor) |
|
| 4 | - | ||
| 5 | - | switch "$buffer" |
|
| 6 | - | case "$before$key"\* |
|
| 7 | - | commandline --cursor (math (commandline --cursor) + 1) |
|
| 8 | - | case \* |
|
| 9 | - | commandline --insert -- $key |
|
| 10 | - | end |
|
| 11 | - | end |
| 1 | - | function _autopair_insert_same --argument-names key |
|
| 2 | - | set --local buffer (commandline) |
|
| 3 | - | set --local index (commandline --cursor) |
|
| 4 | - | set --local next (string sub --start=(math $index + 1) --length=1 -- "$buffer") |
|
| 5 | - | ||
| 6 | - | if test (math (count (string match --all --regex -- "$key" "$buffer")) % 2) = 0 |
|
| 7 | - | test $key = $next && commandline --cursor (math $index + 1) && return |
|
| 8 | - | ||
| 9 | - | commandline --insert -- $key |
|
| 10 | - | ||
| 11 | - | if test $index -lt 1 || |
|
| 12 | - | contains -- (string sub --start=$index --length=1 -- "$buffer") "" " " $autopair_left && |
|
| 13 | - | contains -- $next "" " " $autopair_right |
|
| 14 | - | commandline --insert -- $key |
|
| 15 | - | commandline --cursor (math $index + 1) |
|
| 16 | - | end |
|
| 17 | - | else |
|
| 18 | - | commandline --insert -- $key |
|
| 19 | - | end |
|
| 20 | - | end |
| 1 | - | function _autopair_tab |
|
| 2 | - | commandline --paging-mode && down-or-search && return |
|
| 3 | - | ||
| 4 | - | string match --quiet --regex -- '\$[^\s]*"$' (commandline --current-token) && |
|
| 5 | - | commandline --function end-of-line --function backward-delete-char |
|
| 6 | - | commandline --function complete |
|
| 7 | - | end |
| 1 | - | function _nvm_index_update |
|
| 2 | - | test ! -d $nvm_data && command mkdir -p $nvm_data |
|
| 3 | - | ||
| 4 | - | set --local index $nvm_data/.index |
|
| 5 | - | ||
| 6 | - | if not command curl --location --silent $nvm_mirror/index.tab >$index.temp |
|
| 7 | - | command rm -f $index.temp |
|
| 8 | - | echo "nvm: Can't update index, host unavailable: \"$nvm_mirror\"" >&2 |
|
| 9 | - | return 1 |
|
| 10 | - | end |
|
| 11 | - | ||
| 12 | - | command awk -v OFS=\t ' |
|
| 13 | - | /v0.9.12/ { exit } # Unsupported |
|
| 14 | - | NR > 1 { |
|
| 15 | - | print $1 (NR == 2 ? " latest" : $10 != "-" ? " lts/" tolower($10) : "") |
|
| 16 | - | } |
|
| 17 | - | ' $index.temp >$index |
|
| 18 | - | ||
| 19 | - | command rm -f $index.temp |
|
| 20 | - | end |
| 1 | - | function _nvm_list |
|
| 2 | - | set --local versions $nvm_data/* |
|
| 3 | - | set --query versions[1] && |
|
| 4 | - | string match --entire --regex -- (string match --regex -- "v\d.+" $versions | |
|
| 5 | - | string escape --style=regex | |
|
| 6 | - | string join "|" |
|
| 7 | - | ) <$nvm_data/.index |
|
| 8 | - | ||
| 9 | - | command --all node | |
|
| 10 | - | string match --quiet --invert --regex -- "^$nvm_data" && echo system |
|
| 11 | - | end |
| 1 | - | function _nvm_version_activate --argument-names ver |
|
| 2 | - | set --global --export nvm_current_version $ver |
|
| 3 | - | set --prepend PATH $nvm_data/$ver/bin |
|
| 4 | - | end |
| 1 | - | function _nvm_version_deactivate --argument-names ver |
|
| 2 | - | test "$nvm_current_version" = "$ver" && set --erase nvm_current_version |
|
| 3 | - | set --local index (contains --index -- $nvm_data/$ver/bin $PATH) && |
|
| 4 | - | set --erase PATH[$index] |
|
| 5 | - | end |
| 1 | - | function _sponge_clear_state |
|
| 2 | - | set --erase --global _sponge_current_command |
|
| 3 | - | set --erase --global _sponge_current_command_exit_code |
|
| 4 | - | set --erase --global _sponge_current_command_previously_in_history |
|
| 5 | - | end |
| 1 | - | function _sponge_on_exit --on-event fish_exit |
|
| 2 | - | sponge_delay=0 _sponge_remove_from_history |
|
| 3 | - | end |
| 1 | - | function _sponge_on_postexec --on-event fish_postexec |
|
| 2 | - | set --global _sponge_current_command_exit_code $status |
|
| 3 | - | ||
| 4 | - | # Remove command from the queue if it's been added previously |
|
| 5 | - | if set --local index (contains --index -- $_sponge_current_command $_sponge_queue) |
|
| 6 | - | set --erase _sponge_queue[$index] |
|
| 7 | - | end |
|
| 8 | - | ||
| 9 | - | # Ignore empty commands |
|
| 10 | - | if test -n $_sponge_current_command |
|
| 11 | - | set --local command '' |
|
| 12 | - | # Run filters |
|
| 13 | - | for filter in $sponge_filters |
|
| 14 | - | if $filter \ |
|
| 15 | - | $_sponge_current_command \ |
|
| 16 | - | $_sponge_current_command_exit_code \ |
|
| 17 | - | $_sponge_current_command_previously_in_history |
|
| 18 | - | set command $_sponge_current_command |
|
| 19 | - | break |
|
| 20 | - | end |
|
| 21 | - | end |
|
| 22 | - | set --prepend --global _sponge_queue $command |
|
| 23 | - | end |
|
| 24 | - | end |
| 1 | - | function _sponge_on_preexec --on-event fish_preexec \ |
|
| 2 | - | --argument-names command |
|
| 3 | - | _sponge_clear_state |
|
| 4 | - | ||
| 5 | - | set --global _sponge_current_command $command |
|
| 6 | - | ||
| 7 | - | builtin history search --case-sensitive --exact --max=1 --null $command \ |
|
| 8 | - | | read --local --null found_entries |
|
| 9 | - | ||
| 10 | - | # If a command is in the history and in the queue, ignore it, like if it wasn’t in the history |
|
| 11 | - | if test (count $found_entries) -ne 0; and not contains $command $_sponge_queue |
|
| 12 | - | set --global _sponge_current_command_previously_in_history true |
|
| 13 | - | else |
|
| 14 | - | set --global _sponge_current_command_previously_in_history false |
|
| 15 | - | end |
|
| 16 | - | end |
| 1 | - | function _sponge_on_prompt --on-event fish_prompt |
|
| 2 | - | if test $sponge_purge_only_on_exit = false |
|
| 3 | - | _sponge_remove_from_history |
|
| 4 | - | end |
|
| 5 | - | end |
| 1 | - | function _sponge_remove_from_history |
|
| 2 | - | ||
| 3 | - | while test (count $_sponge_queue) -gt $sponge_delay |
|
| 4 | - | builtin history delete --case-sensitive --exact -- $_sponge_queue[-1] |
|
| 5 | - | set --erase _sponge_queue[-1] |
|
| 6 | - | end |
|
| 7 | - | ||
| 8 | - | builtin history save |
|
| 9 | - | end |
| 1 | - | function fcd |
|
| 2 | - | set selected_file (fd . -t d --exclude node_modules | gum filter --prompt=" " --match.foreground="2" --indicator.foreground="2") |
|
| 3 | - | if test "$status" -eq 0 |
|
| 4 | - | cd "$selected_file" |
|
| 5 | - | else |
|
| 6 | - | echo "" |
|
| 7 | - | end |
|
| 8 | - | end |
|
| 9 | - |
| 1 | - | function fisher --argument-names cmd --description "A plugin manager for Fish" |
|
| 2 | - | set --query fisher_path || set --local fisher_path $__fish_config_dir |
|
| 3 | - | set --local fisher_version 4.4.4 |
|
| 4 | - | set --local fish_plugins $__fish_config_dir/fish_plugins |
|
| 5 | - | ||
| 6 | - | switch "$cmd" |
|
| 7 | - | case -v --version |
|
| 8 | - | echo "fisher, version $fisher_version" |
|
| 9 | - | case "" -h --help |
|
| 10 | - | echo "Usage: fisher install <plugins...> Install plugins" |
|
| 11 | - | echo " fisher remove <plugins...> Remove installed plugins" |
|
| 12 | - | echo " fisher update <plugins...> Update installed plugins" |
|
| 13 | - | echo " fisher update Update all installed plugins" |
|
| 14 | - | echo " fisher list [<regex>] List installed plugins matching regex" |
|
| 15 | - | echo "Options:" |
|
| 16 | - | echo " -v, --version Print version" |
|
| 17 | - | echo " -h, --help Print this help message" |
|
| 18 | - | echo "Variables:" |
|
| 19 | - | echo " \$fisher_path Plugin installation path. Default: $__fish_config_dir" | string replace --regex -- $HOME \~ |
|
| 20 | - | case ls list |
|
| 21 | - | string match --entire --regex -- "$argv[2]" $_fisher_plugins |
|
| 22 | - | case install update remove |
|
| 23 | - | isatty || read --local --null --array stdin && set --append argv $stdin |
|
| 24 | - | ||
| 25 | - | set --local install_plugins |
|
| 26 | - | set --local update_plugins |
|
| 27 | - | set --local remove_plugins |
|
| 28 | - | set --local arg_plugins $argv[2..-1] |
|
| 29 | - | set --local old_plugins $_fisher_plugins |
|
| 30 | - | set --local new_plugins |
|
| 31 | - | ||
| 32 | - | test -e $fish_plugins && set --local file_plugins (string match --regex -- '^[^\s]+$' <$fish_plugins) |
|
| 33 | - | ||
| 34 | - | if ! set --query argv[2] |
|
| 35 | - | if test "$cmd" != update |
|
| 36 | - | echo "fisher: Not enough arguments for command: \"$cmd\"" >&2 && return 1 |
|
| 37 | - | else if ! set --query file_plugins |
|
| 38 | - | echo "fisher: \"$fish_plugins\" file not found: \"$cmd\"" >&2 && return 1 |
|
| 39 | - | end |
|
| 40 | - | set arg_plugins $file_plugins |
|
| 41 | - | end |
|
| 42 | - | ||
| 43 | - | for plugin in $arg_plugins |
|
| 44 | - | set plugin (test -e "$plugin" && realpath $plugin || string lower -- $plugin) |
|
| 45 | - | contains -- "$plugin" $new_plugins || set --append new_plugins $plugin |
|
| 46 | - | end |
|
| 47 | - | ||
| 48 | - | if set --query argv[2] |
|
| 49 | - | for plugin in $new_plugins |
|
| 50 | - | if contains -- "$plugin" $old_plugins |
|
| 51 | - | test "$cmd" = remove && |
|
| 52 | - | set --append remove_plugins $plugin || |
|
| 53 | - | set --append update_plugins $plugin |
|
| 54 | - | else if test "$cmd" = install |
|
| 55 | - | set --append install_plugins $plugin |
|
| 56 | - | else |
|
| 57 | - | echo "fisher: Plugin not installed: \"$plugin\"" >&2 && return 1 |
|
| 58 | - | end |
|
| 59 | - | end |
|
| 60 | - | else |
|
| 61 | - | for plugin in $new_plugins |
|
| 62 | - | contains -- "$plugin" $old_plugins && |
|
| 63 | - | set --append update_plugins $plugin || |
|
| 64 | - | set --append install_plugins $plugin |
|
| 65 | - | end |
|
| 66 | - | ||
| 67 | - | for plugin in $old_plugins |
|
| 68 | - | contains -- "$plugin" $new_plugins || set --append remove_plugins $plugin |
|
| 69 | - | end |
|
| 70 | - | end |
|
| 71 | - | ||
| 72 | - | set --local pid_list |
|
| 73 | - | set --local source_plugins |
|
| 74 | - | set --local fetch_plugins $update_plugins $install_plugins |
|
| 75 | - | set --local fish_path (status fish-path) |
|
| 76 | - | ||
| 77 | - | echo (set_color --bold)fisher $cmd version $fisher_version(set_color normal) |
|
| 78 | - | ||
| 79 | - | for plugin in $fetch_plugins |
|
| 80 | - | set --local source (command mktemp -d) |
|
| 81 | - | set --append source_plugins $source |
|
| 82 | - | ||
| 83 | - | command mkdir -p $source/{completions,conf.d,themes,functions} |
|
| 84 | - | ||
| 85 | - | $fish_path --command " |
|
| 86 | - | if test -e $plugin |
|
| 87 | - | command cp -Rf $plugin/* $source |
|
| 88 | - | else |
|
| 89 | - | set temp (command mktemp -d) |
|
| 90 | - | set repo (string split -- \@ $plugin) || set repo[2] HEAD |
|
| 91 | - | ||
| 92 | - | if set path (string replace --regex -- '^(https://)?gitlab.com/' '' \$repo[1]) |
|
| 93 | - | set name (string split -- / \$path)[-1] |
|
| 94 | - | set url https://gitlab.com/\$path/-/archive/\$repo[2]/\$name-\$repo[2].tar.gz |
|
| 95 | - | else |
|
| 96 | - | set url https://api.github.com/repos/\$repo[1]/tarball/\$repo[2] |
|
| 97 | - | end |
|
| 98 | - | ||
| 99 | - | echo Fetching (set_color --underline)\$url(set_color normal) |
|
| 100 | - | ||
| 101 | - | if command curl -q --silent -L \$url | command tar -xzC \$temp -f - 2>/dev/null |
|
| 102 | - | command cp -Rf \$temp/*/* $source |
|
| 103 | - | else |
|
| 104 | - | echo fisher: Invalid plugin name or host unavailable: \\\"$plugin\\\" >&2 |
|
| 105 | - | command rm -rf $source |
|
| 106 | - | end |
|
| 107 | - | ||
| 108 | - | command rm -rf \$temp |
|
| 109 | - | end |
|
| 110 | - | ||
| 111 | - | set files $source/* && string match --quiet --regex -- .+\.fish\\\$ \$files |
|
| 112 | - | " & |
|
| 113 | - | ||
| 114 | - | set --append pid_list (jobs --last --pid) |
|
| 115 | - | end |
|
| 116 | - | ||
| 117 | - | wait $pid_list 2>/dev/null |
|
| 118 | - | ||
| 119 | - | for plugin in $fetch_plugins |
|
| 120 | - | if set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)] && test ! -e $source |
|
| 121 | - | if set --local index (contains --index -- "$plugin" $install_plugins) |
|
| 122 | - | set --erase install_plugins[$index] |
|
| 123 | - | else |
|
| 124 | - | set --erase update_plugins[(contains --index -- "$plugin" $update_plugins)] |
|
| 125 | - | end |
|
| 126 | - | end |
|
| 127 | - | end |
|
| 128 | - | ||
| 129 | - | for plugin in $update_plugins $remove_plugins |
|
| 130 | - | if set --local index (contains --index -- "$plugin" $_fisher_plugins) |
|
| 131 | - | set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files |
|
| 132 | - | ||
| 133 | - | if contains -- "$plugin" $remove_plugins |
|
| 134 | - | for name in (string replace --filter --regex -- '.+/conf\.d/([^/]+)\.fish$' '$1' $$plugin_files_var) |
|
| 135 | - | emit {$name}_uninstall |
|
| 136 | - | end |
|
| 137 | - | printf "%s\n" Removing\ (set_color red --bold)$plugin(set_color normal) " "$$plugin_files_var | string replace -- \~ ~ |
|
| 138 | - | set --erase _fisher_plugins[$index] |
|
| 139 | - | end |
|
| 140 | - | ||
| 141 | - | command rm -rf (string replace -- \~ ~ $$plugin_files_var) |
|
| 142 | - | ||
| 143 | - | functions --erase (string replace --filter --regex -- '.+/functions/([^/]+)\.fish$' '$1' $$plugin_files_var) |
|
| 144 | - | ||
| 145 | - | for name in (string replace --filter --regex -- '.+/completions/([^/]+)\.fish$' '$1' $$plugin_files_var) |
|
| 146 | - | complete --erase --command $name |
|
| 147 | - | end |
|
| 148 | - | ||
| 149 | - | set --erase $plugin_files_var |
|
| 150 | - | end |
|
| 151 | - | end |
|
| 152 | - | ||
| 153 | - | if set --query update_plugins[1] || set --query install_plugins[1] |
|
| 154 | - | command mkdir -p $fisher_path/{functions,themes,conf.d,completions} |
|
| 155 | - | end |
|
| 156 | - | ||
| 157 | - | for plugin in $update_plugins $install_plugins |
|
| 158 | - | set --local source $source_plugins[(contains --index -- "$plugin" $fetch_plugins)] |
|
| 159 | - | set --local files $source/{functions,themes,conf.d,completions}/* |
|
| 160 | - | ||
| 161 | - | if set --local index (contains --index -- $plugin $install_plugins) |
|
| 162 | - | set --local user_files $fisher_path/{functions,themes,conf.d,completions}/* |
|
| 163 | - | set --local conflict_files |
|
| 164 | - | ||
| 165 | - | for file in (string replace -- $source/ $fisher_path/ $files) |
|
| 166 | - | contains -- $file $user_files && set --append conflict_files $file |
|
| 167 | - | end |
|
| 168 | - | ||
| 169 | - | if set --query conflict_files[1] && set --erase install_plugins[$index] |
|
| 170 | - | echo -s "fisher: Cannot install \"$plugin\": please remove or move conflicting files first:" \n" "$conflict_files >&2 |
|
| 171 | - | continue |
|
| 172 | - | end |
|
| 173 | - | end |
|
| 174 | - | ||
| 175 | - | for file in (string replace -- $source/ "" $files) |
|
| 176 | - | command cp -RLf $source/$file $fisher_path/$file |
|
| 177 | - | end |
|
| 178 | - | ||
| 179 | - | set --local plugin_files_var _fisher_(string escape --style=var -- $plugin)_files |
|
| 180 | - | ||
| 181 | - | set --query files[1] && set --universal $plugin_files_var (string replace -- $source $fisher_path $files | string replace -- ~ \~) |
|
| 182 | - | ||
| 183 | - | contains -- $plugin $_fisher_plugins || set --universal --append _fisher_plugins $plugin |
|
| 184 | - | contains -- $plugin $install_plugins && set --local event install || set --local event update |
|
| 185 | - | ||
| 186 | - | printf "%s\n" Installing\ (set_color --bold)$plugin(set_color normal) " "$$plugin_files_var | string replace -- \~ ~ |
|
| 187 | - | ||
| 188 | - | for file in (string match --regex -- '.+/[^/]+\.fish$' $$plugin_files_var | string replace -- \~ ~) |
|
| 189 | - | source $file |
|
| 190 | - | if set --local name (string replace --regex -- '.+conf\.d/([^/]+)\.fish$' '$1' $file) |
|
| 191 | - | emit {$name}_$event |
|
| 192 | - | end |
|
| 193 | - | end |
|
| 194 | - | end |
|
| 195 | - | ||
| 196 | - | command rm -rf $source_plugins |
|
| 197 | - | ||
| 198 | - | if set --query _fisher_plugins[1] |
|
| 199 | - | set --local commit_plugins |
|
| 200 | - | ||
| 201 | - | for plugin in $file_plugins |
|
| 202 | - | contains -- (string lower -- $plugin) (string lower -- $_fisher_plugins) && set --append commit_plugins $plugin |
|
| 203 | - | end |
|
| 204 | - | ||
| 205 | - | for plugin in $_fisher_plugins |
|
| 206 | - | contains -- (string lower -- $plugin) (string lower -- $commit_plugins) || set --append commit_plugins $plugin |
|
| 207 | - | end |
|
| 208 | - | ||
| 209 | - | printf "%s\n" $commit_plugins >$fish_plugins |
|
| 210 | - | else |
|
| 211 | - | set --erase _fisher_plugins |
|
| 212 | - | command rm -f $fish_plugins |
|
| 213 | - | end |
|
| 214 | - | ||
| 215 | - | set --local total (count $install_plugins) (count $update_plugins) (count $remove_plugins) |
|
| 216 | - | ||
| 217 | - | test "$total" != "0 0 0" && echo (string join ", " ( |
|
| 218 | - | test $total[1] = 0 || echo "Installed $total[1]") ( |
|
| 219 | - | test $total[2] = 0 || echo "Updated $total[2]") ( |
|
| 220 | - | test $total[3] = 0 || echo "Removed $total[3]") |
|
| 221 | - | ) plugin/s |
|
| 222 | - | case \* |
|
| 223 | - | echo "fisher: Unknown command: \"$cmd\"" >&2 && return 1 |
|
| 224 | - | end |
|
| 225 | - | end |
|
| 226 | - | ||
| 227 | - | if ! set --query _fisher_upgraded_to_4_4 |
|
| 228 | - | set --universal _fisher_upgraded_to_4_4 |
|
| 229 | - | if functions --query _fisher_list |
|
| 230 | - | set --query XDG_DATA_HOME[1] || set --local XDG_DATA_HOME ~/.local/share |
|
| 231 | - | command rm -rf $XDG_DATA_HOME/fisher |
|
| 232 | - | functions --erase _fisher_{list,plugin_parse} |
|
| 233 | - | fisher update >/dev/null 2>/dev/null |
|
| 234 | - | else |
|
| 235 | - | for var in (set --names | string match --entire --regex '^_fisher_.+_files$') |
|
| 236 | - | set $var (string replace -- ~ \~ $$var) |
|
| 237 | - | end |
|
| 238 | - | functions --erase _fisher_fish_postexec |
|
| 239 | - | end |
|
| 240 | - | end |
| 1 | - | function inv |
|
| 2 | - | set selected_file (fzf -m --preview='bat --color=always {}') |
|
| 3 | - | if test "$status" -eq 0 |
|
| 4 | - | nvim "$selected_file" |
|
| 5 | - | else |
|
| 6 | - | echo "Selection canceled." |
|
| 7 | - | end |
|
| 8 | - | end |
| 1 | - | function nvm --description "Node version manager" |
|
| 2 | - | for silent in --silent -s |
|
| 3 | - | if set --local index (contains --index -- $silent $argv) |
|
| 4 | - | set --erase argv[$index] && break |
|
| 5 | - | end |
|
| 6 | - | set --erase silent |
|
| 7 | - | end |
|
| 8 | - | ||
| 9 | - | set --local cmd $argv[1] |
|
| 10 | - | set --local ver $argv[2] |
|
| 11 | - | ||
| 12 | - | if set --query silent && ! set --query cmd[1] |
|
| 13 | - | echo "nvm: Version number not specified (see nvm -h for usage)" >&2 |
|
| 14 | - | return 1 |
|
| 15 | - | end |
|
| 16 | - | ||
| 17 | - | if ! set --query ver[1] && contains -- "$cmd" install use |
|
| 18 | - | for file in .nvmrc .node-version |
|
| 19 | - | set file (_nvm_find_up $PWD $file) && read ver <$file && break |
|
| 20 | - | end |
|
| 21 | - | ||
| 22 | - | if ! set --query ver[1] |
|
| 23 | - | echo "nvm: Invalid version or missing \".nvmrc\" file" >&2 |
|
| 24 | - | return 1 |
|
| 25 | - | end |
|
| 26 | - | end |
|
| 27 | - | ||
| 28 | - | set --local their_version $ver |
|
| 29 | - | ||
| 30 | - | switch "$cmd" |
|
| 31 | - | case -v --version |
|
| 32 | - | echo "nvm, version 2.2.13" |
|
| 33 | - | case "" -h --help |
|
| 34 | - | echo "Usage: nvm install <version> Download and activate the specified Node version" |
|
| 35 | - | echo " nvm install Install the version specified in the nearest .nvmrc file" |
|
| 36 | - | echo " nvm use <version> Activate the specified Node version in the current shell" |
|
| 37 | - | echo " nvm use Activate the version specified in the nearest .nvmrc file" |
|
| 38 | - | echo " nvm list List installed Node versions" |
|
| 39 | - | echo " nvm list-remote List available Node versions to install" |
|
| 40 | - | echo " nvm list-remote <regex> List Node versions matching a given regex pattern" |
|
| 41 | - | echo " nvm current Print the currently-active Node version" |
|
| 42 | - | echo " nvm uninstall <version> Uninstall the specified Node version" |
|
| 43 | - | echo "Options:" |
|
| 44 | - | echo " -s, --silent Suppress standard output" |
|
| 45 | - | echo " -v, --version Print the version of nvm" |
|
| 46 | - | echo " -h, --help Print this help message" |
|
| 47 | - | echo "Variables:" |
|
| 48 | - | echo " nvm_arch Override architecture, e.g. x64-musl" |
|
| 49 | - | echo " nvm_mirror Use a mirror for downloading Node binaries" |
|
| 50 | - | echo " nvm_default_version Set the default version for new shells" |
|
| 51 | - | echo " nvm_default_packages Install a list of packages every time a Node version is installed" |
|
| 52 | - | echo "Examples:" |
|
| 53 | - | echo " nvm install latest Install the latest version of Node" |
|
| 54 | - | echo " nvm use 14.15.1 Use Node version 14.15.1" |
|
| 55 | - | echo " nvm use system Activate the system's Node version" |
|
| 56 | - | ||
| 57 | - | case install |
|
| 58 | - | _nvm_index_update |
|
| 59 | - | ||
| 60 | - | string match --entire --regex -- (_nvm_version_match $ver) <$nvm_data/.index | read ver alias |
|
| 61 | - | ||
| 62 | - | if ! set --query ver[1] |
|
| 63 | - | echo "nvm: Invalid version number or alias: \"$their_version\"" >&2 |
|
| 64 | - | return 1 |
|
| 65 | - | end |
|
| 66 | - | ||
| 67 | - | if test ! -e $nvm_data/$ver |
|
| 68 | - | set --local os (command uname -s | string lower) |
|
| 69 | - | set --local ext tar.gz |
|
| 70 | - | set --local arch (command uname -m) |
|
| 71 | - | ||
| 72 | - | switch $os |
|
| 73 | - | case aix |
|
| 74 | - | set arch ppc64 |
|
| 75 | - | case sunos |
|
| 76 | - | case linux |
|
| 77 | - | case darwin |
|
| 78 | - | case {MSYS_NT,MINGW\*_NT}\* |
|
| 79 | - | set os win |
|
| 80 | - | set ext zip |
|
| 81 | - | case \* |
|
| 82 | - | echo "nvm: Unsupported operating system: \"$os\"" >&2 |
|
| 83 | - | return 1 |
|
| 84 | - | end |
|
| 85 | - | ||
| 86 | - | switch $arch |
|
| 87 | - | case i\*86 |
|
| 88 | - | set arch x86 |
|
| 89 | - | case x86_64 |
|
| 90 | - | set arch x64 |
|
| 91 | - | case arm64 |
|
| 92 | - | string match --regex --quiet "v(?<major>\d+)" $ver |
|
| 93 | - | if test "$os" = darwin -a $major -lt 16 |
|
| 94 | - | set arch x64 |
|
| 95 | - | end |
|
| 96 | - | case armv6 armv6l |
|
| 97 | - | set arch armv6l |
|
| 98 | - | case armv7 armv7l |
|
| 99 | - | set arch armv7l |
|
| 100 | - | case armv8 armv8l aarch64 |
|
| 101 | - | set arch arm64 |
|
| 102 | - | end |
|
| 103 | - | ||
| 104 | - | set --query nvm_arch && set arch $nvm_arch |
|
| 105 | - | ||
| 106 | - | set --local dir "node-$ver-$os-$arch" |
|
| 107 | - | set --local url $nvm_mirror/$ver/$dir.$ext |
|
| 108 | - | ||
| 109 | - | command mkdir -p $nvm_data/$ver |
|
| 110 | - | ||
| 111 | - | if ! set --query silent |
|
| 112 | - | echo -e "Installing Node \x1b[1m$ver\x1b[22m $alias" |
|
| 113 | - | echo -e "Fetching \x1b[4m$url\x1b[24m\x1b[7m" |
|
| 114 | - | end |
|
| 115 | - | ||
| 116 | - | if ! command curl $silent --progress-bar --location $url | |
|
| 117 | - | command tar --extract --gzip --directory $nvm_data/$ver 2>/dev/null |
|
| 118 | - | command rm -rf $nvm_data/$ver |
|
| 119 | - | echo -e "\033[F\33[2K\x1b[0mnvm: Invalid mirror or host unavailable: \"$url\"" >&2 |
|
| 120 | - | return 1 |
|
| 121 | - | end |
|
| 122 | - | ||
| 123 | - | set --query silent || echo -en "\033[F\33[2K\x1b[0m" |
|
| 124 | - | ||
| 125 | - | if test "$os" = win |
|
| 126 | - | command mv $nvm_data/$ver/$dir $nvm_data/$ver/bin |
|
| 127 | - | else |
|
| 128 | - | command mv $nvm_data/$ver/$dir/* $nvm_data/$ver |
|
| 129 | - | command rm -rf $nvm_data/$ver/$dir |
|
| 130 | - | end |
|
| 131 | - | end |
|
| 132 | - | ||
| 133 | - | if test $ver != "$nvm_current_version" |
|
| 134 | - | set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version |
|
| 135 | - | _nvm_version_activate $ver |
|
| 136 | - | ||
| 137 | - | set --query nvm_default_packages[1] && npm install --global $silent $nvm_default_packages |
|
| 138 | - | end |
|
| 139 | - | ||
| 140 | - | set --query silent || printf "Now using Node %s (npm %s) %s\n" (_nvm_node_info) |
|
| 141 | - | case use |
|
| 142 | - | test $ver = default && set ver $nvm_default_version |
|
| 143 | - | _nvm_list | string match --entire --regex -- (_nvm_version_match $ver) | read ver __ |
|
| 144 | - | ||
| 145 | - | if ! set --query ver[1] |
|
| 146 | - | echo "nvm: Can't use Node \"$their_version\", version must be installed first" >&2 |
|
| 147 | - | return 1 |
|
| 148 | - | end |
|
| 149 | - | ||
| 150 | - | if test $ver != "$nvm_current_version" |
|
| 151 | - | set --query nvm_current_version && _nvm_version_deactivate $nvm_current_version |
|
| 152 | - | test $ver != system && _nvm_version_activate $ver |
|
| 153 | - | end |
|
| 154 | - | ||
| 155 | - | set --query silent || printf "Now using Node %s (npm %s) %s\n" (_nvm_node_info) |
|
| 156 | - | case uninstall |
|
| 157 | - | if test -z "$ver" |
|
| 158 | - | echo "nvm: Not enough arguments for command: \"$cmd\"" >&2 |
|
| 159 | - | return 1 |
|
| 160 | - | end |
|
| 161 | - | ||
| 162 | - | test $ver = default && test ! -z "$nvm_default_version" && set ver $nvm_default_version |
|
| 163 | - | ||
| 164 | - | _nvm_list | string match --entire --regex -- (_nvm_version_match $ver) | read ver __ |
|
| 165 | - | ||
| 166 | - | if ! set -q ver[1] |
|
| 167 | - | echo "nvm: Node version not installed or invalid: \"$their_version\"" >&2 |
|
| 168 | - | return 1 |
|
| 169 | - | end |
|
| 170 | - | ||
| 171 | - | set --query silent || printf "Uninstalling Node %s %s\n" $ver (string replace ~ \~ "$nvm_data/$ver/bin/node") |
|
| 172 | - | ||
| 173 | - | _nvm_version_deactivate $ver |
|
| 174 | - | ||
| 175 | - | command rm -rf $nvm_data/$ver |
|
| 176 | - | case current |
|
| 177 | - | _nvm_current |
|
| 178 | - | case ls list |
|
| 179 | - | _nvm_list | _nvm_list_format (_nvm_current) $argv[2] |
|
| 180 | - | case lsr {ls,list}-remote |
|
| 181 | - | _nvm_index_update || return |
|
| 182 | - | _nvm_list | command awk ' |
|
| 183 | - | FILENAME == "-" && (is_local[$1] = FNR == NR) { next } { |
|
| 184 | - | print $0 (is_local[$1] ? " ✓" : "") |
|
| 185 | - | } |
|
| 186 | - | ' - $nvm_data/.index | _nvm_list_format (_nvm_current) $argv[2] |
|
| 187 | - | case \* |
|
| 188 | - | echo "nvm: Unknown command or option: \"$cmd\" (see nvm -h for usage)" >&2 |
|
| 189 | - | return 1 |
|
| 190 | - | end |
|
| 191 | - | end |
|
| 192 | - | ||
| 193 | - | function _nvm_find_up --argument-names path file |
|
| 194 | - | test -e "$path/$file" && echo $path/$file || begin |
|
| 195 | - | test ! -z "$path" || return |
|
| 196 | - | _nvm_find_up (string replace --regex -- '/[^/]*$' "" $path) $file |
|
| 197 | - | end |
|
| 198 | - | end |
|
| 199 | - | ||
| 200 | - | function _nvm_version_match --argument-names ver |
|
| 201 | - | string replace --regex -- '^v?(\d+|\d+\.\d+)$' 'v$1.' $ver | |
|
| 202 | - | string replace --filter --regex -- '^v?(\d+)' 'v$1' | |
|
| 203 | - | string escape --style=regex || string lower '\b'$ver'(?:/\w+)?$' |
|
| 204 | - | end |
|
| 205 | - | ||
| 206 | - | function _nvm_list_format --argument-names current regex |
|
| 207 | - | command awk -v current="$current" -v regex="$regex" ' |
|
| 208 | - | $0 ~ regex { |
|
| 209 | - | aliases[versions[i++] = $1] = $2 " " $3 |
|
| 210 | - | pad = (n = length($1)) > pad ? n : pad |
|
| 211 | - | } |
|
| 212 | - | END { |
|
| 213 | - | if (!i) exit 1 |
|
| 214 | - | while (i--) |
|
| 215 | - | printf((current == versions[i] ? " ▶ " : " ") "%"pad"s %s\n", |
|
| 216 | - | versions[i], aliases[versions[i]]) |
|
| 217 | - | } |
|
| 218 | - | ' |
|
| 219 | - | end |
|
| 220 | - | ||
| 221 | - | function _nvm_current |
|
| 222 | - | command --search --quiet node || return |
|
| 223 | - | set --query nvm_current_version && echo $nvm_current_version || echo system |
|
| 224 | - | end |
|
| 225 | - | ||
| 226 | - | function _nvm_node_info |
|
| 227 | - | set --local npm_path (string replace bin/npm-cli.js "" (realpath (command --search npm))) |
|
| 228 | - | test -f $npm_path/package.json || set --local npm_version_default (command npm --version) |
|
| 229 | - | command node --eval " |
|
| 230 | - | console.log(process.version) |
|
| 231 | - | console.log('$npm_version_default' ? '$npm_version_default': require('$npm_path/package.json').version) |
|
| 232 | - | console.log(process.execPath) |
|
| 233 | - | " | string replace -- ~ \~ |
|
| 234 | - | end |
| 1 | - | function oatshesh |
|
| 2 | - | set selected_session (oatmeal sessions list | fzf) |
|
| 3 | - | ||
| 4 | - | if test -n "$selected_session" |
|
| 5 | - | set id_value (echo $selected_session | grep -o '[a-f0-9]\{8\}-[a-f0-9]\{4\}' | head -n 1) |
|
| 6 | - | ||
| 7 | - | if test -n "$id_value" |
|
| 8 | - | oatmeal sessions open -i $id_value |
|
| 9 | - | end |
|
| 10 | - | end |
|
| 11 | - | end |
| 1 | - | #!/usr/bin/env |
|
| 2 | - | ||
| 3 | - | # Get the URL from the command-line argument |
|
| 4 | - | set url $argv[1] |
|
| 5 | - | ||
| 6 | - | # Download the file using wget |
|
| 7 | - | wget -O downloaded_file $url |
|
| 8 | - | ||
| 9 | - | # Upload the file using Pinata |
|
| 10 | - | pinata upload downloaded_file |
|
| 11 | - | ||
| 12 | - | # Get the "bafy" value from the upload command |
|
| 13 | - | set bafy (echo $last_status | grep -o 'bafy.*') |
|
| 14 | - | ||
| 15 | - | # Construct the IPFS URL |
|
| 16 | - | set ipfs_url "https://docs.mypinata.cloud/ipfs/"$bafy |
|
| 17 | - | ||
| 18 | - | # Copy the IPFS URL |
|
| 19 | - | echo $ipfs_url |
|
| 20 | - | ||
| 21 | - | # Delete the original downloaded file |
|
| 22 | - | rm downloaded_file |
| 1 | - | #!/usr/bin/env fish |
|
| 2 | - | sesh connect $( |
|
| 3 | - | sesh list -i | gum filter --limit 1 --placeholder "Choose a session" --height 50 --prompt="⚡" |
|
| 4 | - | ) |
| 1 | - | function sponge_filter_failed \ |
|
| 2 | - | --argument-names command exit_code previously_in_history |
|
| 3 | - | ||
| 4 | - | if test $previously_in_history = true -a $sponge_allow_previously_successful = true |
|
| 5 | - | return 1 |
|
| 6 | - | end |
|
| 7 | - | ||
| 8 | - | if contains $exit_code $sponge_successful_exit_codes |
|
| 9 | - | return 1 |
|
| 10 | - | end |
|
| 11 | - | end |
| 1 | - | function sponge_filter_matched \ |
|
| 2 | - | --argument-names command |
|
| 3 | - | ||
| 4 | - | for pattern in $sponge_regex_patterns |
|
| 5 | - | if string match --regex --quiet $pattern -- $command |
|
| 6 | - | return |
|
| 7 | - | end |
|
| 8 | - | end |
|
| 9 | - | ||
| 10 | - | return 1 |
|
| 11 | - | end |
| 1 | - | # syntax highlighting variables |
|
| 2 | - | # https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables |
|
| 3 | - | fish_color_normal 575279 |
|
| 4 | - | fish_color_command 907aa9 |
|
| 5 | - | fish_color_keyword 56949f |
|
| 6 | - | fish_color_quote ea9d34 |
|
| 7 | - | fish_color_redirection 286983 |
|
| 8 | - | fish_color_end 797593 |
|
| 9 | - | fish_color_error b4637a |
|
| 10 | - | fish_color_param d7827e |
|
| 11 | - | fish_color_comment 797593 |
|
| 12 | - | # fish_color_match --background=brblue |
|
| 13 | - | fish_color_selection --reverse |
|
| 14 | - | # fish_color_history_current --bold |
|
| 15 | - | fish_color_operator 575279 |
|
| 16 | - | fish_color_escape 286983 |
|
| 17 | - | fish_color_autosuggestion 797593 |
|
| 18 | - | fish_color_cwd d7827e |
|
| 19 | - | # fish_color_cwd_root red |
|
| 20 | - | fish_color_user ea9d34 |
|
| 21 | - | fish_color_host 56949f |
|
| 22 | - | fish_color_host_remote 907aa9 |
|
| 23 | - | fish_color_cancel 575279 |
|
| 24 | - | fish_color_search_match --background=faf4ed |
|
| 25 | - | fish_color_valid_path |
|
| 26 | - | ||
| 27 | - | # pager color variables |
|
| 28 | - | # https://fishshell.com/docs/current/interactive.html#pager-color-variables |
|
| 29 | - | fish_pager_color_progress d7827e |
|
| 30 | - | fish_pager_color_background --background=fffaf3 |
|
| 31 | - | fish_pager_color_prefix 56949f |
|
| 32 | - | fish_pager_color_completion 797593 |
|
| 33 | - | fish_pager_color_description 797593 |
|
| 34 | - | fish_pager_color_secondary_background |
|
| 35 | - | fish_pager_color_secondary_prefix |
|
| 36 | - | fish_pager_color_secondary_completion |
|
| 37 | - | fish_pager_color_secondary_description |
|
| 38 | - | fish_pager_color_selected_background --background=f2e9e1 |
|
| 39 | - | fish_pager_color_selected_prefix 56949f |
|
| 40 | - | fish_pager_color_selected_completion 575279 |
|
| 41 | - | fish_pager_color_selected_description 575279 |
| 1 | - | # syntax highlighting variables |
|
| 2 | - | # https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables |
|
| 3 | - | fish_color_normal e0def4 |
|
| 4 | - | fish_color_command c4a7e7 |
|
| 5 | - | fish_color_keyword 9ccfd8 |
|
| 6 | - | fish_color_quote f6c177 |
|
| 7 | - | fish_color_redirection 3e8fb0 |
|
| 8 | - | fish_color_end 908caa |
|
| 9 | - | fish_color_error eb6f92 |
|
| 10 | - | fish_color_param ea9a97 |
|
| 11 | - | fish_color_comment 908caa |
|
| 12 | - | # fish_color_match --background=brblue |
|
| 13 | - | fish_color_selection --reverse |
|
| 14 | - | # fish_color_history_current --bold |
|
| 15 | - | fish_color_operator e0def4 |
|
| 16 | - | fish_color_escape 3e8fb0 |
|
| 17 | - | fish_color_autosuggestion 908caa |
|
| 18 | - | fish_color_cwd ea9a97 |
|
| 19 | - | # fish_color_cwd_root red |
|
| 20 | - | fish_color_user f6c177 |
|
| 21 | - | fish_color_host 9ccfd8 |
|
| 22 | - | fish_color_host_remote c4a7e7 |
|
| 23 | - | fish_color_cancel e0def4 |
|
| 24 | - | fish_color_search_match --background=232136 |
|
| 25 | - | fish_color_valid_path |
|
| 26 | - | ||
| 27 | - | # pager color variables |
|
| 28 | - | # https://fishshell.com/docs/current/interactive.html#pager-color-variables |
|
| 29 | - | fish_pager_color_progress ea9a97 |
|
| 30 | - | fish_pager_color_background --background=2a273f |
|
| 31 | - | fish_pager_color_prefix 9ccfd8 |
|
| 32 | - | fish_pager_color_completion 908caa |
|
| 33 | - | fish_pager_color_description 908caa |
|
| 34 | - | fish_pager_color_secondary_background |
|
| 35 | - | fish_pager_color_secondary_prefix |
|
| 36 | - | fish_pager_color_secondary_completion |
|
| 37 | - | fish_pager_color_secondary_description |
|
| 38 | - | fish_pager_color_selected_background --background=393552 |
|
| 39 | - | fish_pager_color_selected_prefix 9ccfd8 |
|
| 40 | - | fish_pager_color_selected_completion e0def4 |
|
| 41 | - | fish_pager_color_selected_description e0def4 |
| 1 | - | # syntax highlighting variables |
|
| 2 | - | # https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables |
|
| 3 | - | fish_color_normal e0def4 |
|
| 4 | - | fish_color_command c4a7e7 |
|
| 5 | - | fish_color_keyword 9ccfd8 |
|
| 6 | - | fish_color_quote f6c177 |
|
| 7 | - | fish_color_redirection 31748f |
|
| 8 | - | fish_color_end 908caa |
|
| 9 | - | fish_color_error eb6f92 |
|
| 10 | - | fish_color_param ebbcba |
|
| 11 | - | fish_color_comment 908caa |
|
| 12 | - | # fish_color_match --background=brblue |
|
| 13 | - | fish_color_selection --reverse |
|
| 14 | - | # fish_color_history_current --bold |
|
| 15 | - | fish_color_operator e0def4 |
|
| 16 | - | fish_color_escape 31748f |
|
| 17 | - | fish_color_autosuggestion 908caa |
|
| 18 | - | fish_color_cwd ebbcba |
|
| 19 | - | # fish_color_cwd_root red |
|
| 20 | - | fish_color_user f6c177 |
|
| 21 | - | fish_color_host 9ccfd8 |
|
| 22 | - | fish_color_host_remote c4a7e7 |
|
| 23 | - | fish_color_cancel e0def4 |
|
| 24 | - | fish_color_search_match --background=191724 |
|
| 25 | - | fish_color_valid_path |
|
| 26 | - | ||
| 27 | - | # pager color variables |
|
| 28 | - | # https://fishshell.com/docs/current/interactive.html#pager-color-variables |
|
| 29 | - | fish_pager_color_progress ebbcba |
|
| 30 | - | fish_pager_color_background --background=1f1d2e |
|
| 31 | - | fish_pager_color_prefix 9ccfd8 |
|
| 32 | - | fish_pager_color_completion 908caa |
|
| 33 | - | fish_pager_color_description 908caa |
|
| 34 | - | fish_pager_color_secondary_background |
|
| 35 | - | fish_pager_color_secondary_prefix |
|
| 36 | - | fish_pager_color_secondary_completion |
|
| 37 | - | fish_pager_color_secondary_description |
|
| 38 | - | fish_pager_color_selected_background --background=26233a |
|
| 39 | - | fish_pager_color_selected_prefix 9ccfd8 |
|
| 40 | - | fish_pager_color_selected_completion e0def4 |
|
| 41 | - | fish_pager_color_selected_description e0def4 |
| 1 | + | /Users/stevedylandev/.config/fish/completions |
| 1 | + | /Users/stevedylandev/.config/fish/conf.d |
| 1 | + | /Users/stevedylandev/.config/fish/config.fish |
| 1 | + | /Users/stevedylandev/.config/fish/fish_plugins |
| 1 | + | /Users/stevedylandev/.config/fish/fish_variables |
| 1 | + | /Users/stevedylandev/.config/fish/functions |
| 1 | + | /Users/stevedylandev/.config/fish/themes |
| 1 | - | font-family = CommitMono Nerd Font |
|
| 2 | - | font-family-bold = CommitMono Nerd Font |
|
| 3 | - | font-family-italic = CommitMono Nerd Font |
|
| 4 | - | font-family-bold-italic = CommitMono Nerd Font |
|
| 5 | - | font-size = 14 |
|
| 6 | - | ||
| 7 | - | confirm-close-surface = false |
|
| 8 | - | clipboard-read = allow |
|
| 9 | - | clipboard-write = allow |
|
| 10 | - | mouse-hide-while-typing = true |
|
| 11 | - | macos-titlebar-style = hidden |
|
| 12 | - | macos-window-shadow = false |
|
| 13 | - | window-padding-x = 6 |
|
| 14 | - | window-padding-balance = true |
|
| 15 | - | window-save-state = always |
|
| 16 | - | window-width = 85 |
|
| 17 | - | window-height = 30 |
|
| 18 | - | ||
| 19 | - | # Icon |
|
| 20 | - | macos-icon = custom-style |
|
| 21 | - | macos-icon-frame = plastic |
|
| 22 | - | macos-icon-screen-color = #000000 |
|
| 23 | - | macos-icon-ghost-color = #E78B52 |
|
| 24 | - | ||
| 25 | - | # Scheme: Black Metal (Bathory) |
|
| 26 | - | # Generated by Ghostty Base16 Converter |
|
| 27 | - | background = #000000 |
|
| 28 | - | foreground = #ffffff |
|
| 29 | - | ||
| 30 | - | selection-background = #222222 |
|
| 31 | - | selection-foreground = #000000 |
|
| 32 | - | ||
| 33 | - | palette = 0=#000000 |
|
| 34 | - | palette = 1=#5f8787 |
|
| 35 | - | palette = 2=#fbcb97 |
|
| 36 | - | palette = 3=#e78a53 |
|
| 37 | - | palette = 4=#888888 |
|
| 38 | - | palette = 5=#999999 |
|
| 39 | - | palette = 6=#aaaaaa |
|
| 40 | - | palette = 7=#c1c1c1 |
|
| 41 | - | palette = 8=#333333 |
|
| 42 | - | palette = 9=#5f8787 |
|
| 43 | - | palette = 10=#fbcb97 |
|
| 44 | - | palette = 11=#e78a53 |
|
| 45 | - | palette = 12=#888888 |
|
| 46 | - | palette = 13=#999999 |
|
| 47 | - | palette = 14=#aaaaaa |
|
| 48 | - | palette = 15=#c1c1c1 |
|
| 49 | - | palette = 16=#aaaaaa |
|
| 50 | - | palette = 17=#444444 |
|
| 51 | - | palette = 18=#121212 |
|
| 52 | - | palette = 19=#222222 |
|
| 53 | - | palette = 20=#999999 |
|
| 54 | - | palette = 21=#999999 |
|
| 55 | - | ||
| 56 | - | auto-update-channel = stable |
|
| 57 | - | click-repeat-interval = 500 |
|
| 58 | - | command = /opt/homebrew/bin/nu |
| 1 | - | # The font families to use. |
|
| 2 | - | # |
|
| 3 | - | # You can generate the list of valid values using the CLI: |
|
| 4 | - | # |
|
| 5 | - | # ghostty +list-fonts |
|
| 6 | - | # |
|
| 7 | - | # This configuration can be repeated multiple times to specify preferred |
|
| 8 | - | # fallback fonts when the requested codepoint is not available in the primary |
|
| 9 | - | # font. This is particularly useful for multiple languages, symbolic fonts, |
|
| 10 | - | # etc. |
|
| 11 | - | # |
|
| 12 | - | # Notes on emoji specifically: On macOS, Ghostty by default will always use |
|
| 13 | - | # Apple Color Emoji and on Linux will always use Noto Emoji. You can |
|
| 14 | - | # override this behavior by specifying a font family here that contains |
|
| 15 | - | # emoji glyphs. |
|
| 16 | - | # |
|
| 17 | - | # The specific styles (bold, italic, bold italic) do not need to be |
|
| 18 | - | # explicitly set. If a style is not set, then the regular style (font-family) |
|
| 19 | - | # will be searched for stylistic variants. If a stylistic variant is not |
|
| 20 | - | # found, Ghostty will use the regular style. This prevents falling back to a |
|
| 21 | - | # different font family just to get a style such as bold. This also applies |
|
| 22 | - | # if you explicitly specify a font family for a style. For example, if you |
|
| 23 | - | # set `font-family-bold = FooBar` and "FooBar" cannot be found, Ghostty will |
|
| 24 | - | # use whatever font is set for `font-family` for the bold style. |
|
| 25 | - | # |
|
| 26 | - | # Finally, some styles may be synthesized if they are not supported. |
|
| 27 | - | # For example, if a font does not have an italic style and no alternative |
|
| 28 | - | # italic font is specified, Ghostty will synthesize an italic style by |
|
| 29 | - | # applying a slant to the regular style. If you want to disable these |
|
| 30 | - | # synthesized styles then you can use the `font-style` configurations |
|
| 31 | - | # as documented below. |
|
| 32 | - | # |
|
| 33 | - | # You can disable styles completely by using the `font-style` set of |
|
| 34 | - | # configurations. See the documentation for `font-style` for more information. |
|
| 35 | - | # |
|
| 36 | - | # If you want to overwrite a previous set value rather than append a fallback, |
|
| 37 | - | # specify the value as `""` (empty string) to reset the list and then set the |
|
| 38 | - | # new values. For example: |
|
| 39 | - | # |
|
| 40 | - | # font-family = "" |
|
| 41 | - | # font-family = "My Favorite Font" |
|
| 42 | - | # |
|
| 43 | - | # Setting any of these as CLI arguments will automatically clear the |
|
| 44 | - | # values set in configuration files so you don't need to specify |
|
| 45 | - | # `--font-family=""` before setting a new value. You only need to specify |
|
| 46 | - | # this within config files if you want to clear previously set values in |
|
| 47 | - | # configuration files or on the CLI if you want to clear values set on the |
|
| 48 | - | # CLI. |
|
| 49 | - | # |
|
| 50 | - | # Changing this configuration at runtime will only affect new terminals, i.e. |
|
| 51 | - | # new windows, tabs, etc. |
|
| 52 | - | font-family = "CommitMono Nerd Font" |
|
| 53 | - | ||
| 54 | - | font-family-bold = |
|
| 55 | - | font-family-italic = |
|
| 56 | - | font-family-bold-italic = |
|
| 57 | - | ||
| 58 | - | keybind = super+alt+j=toggle_quick_terminal |
|
| 59 | - | ||
| 60 | - | # The named font style to use for each of the requested terminal font styles. |
|
| 61 | - | # This looks up the style based on the font style string advertised by the |
|
| 62 | - | # font itself. For example, "Iosevka Heavy" has a style of "Heavy". |
|
| 63 | - | # |
|
| 64 | - | # You can also use these fields to completely disable a font style. If you set |
|
| 65 | - | # the value of the configuration below to literal `false` then that font style |
|
| 66 | - | # will be disabled. If the running program in the terminal requests a disabled |
|
| 67 | - | # font style, the regular font style will be used instead. |
|
| 68 | - | # |
|
| 69 | - | # These are only valid if its corresponding font-family is also specified. If |
|
| 70 | - | # no font-family is specified, then the font-style is ignored unless you're |
|
| 71 | - | # disabling the font style. |
|
| 72 | - | font-style = default |
|
| 73 | - | ||
| 74 | - | font-style-bold = default |
|
| 75 | - | font-style-italic = default |
|
| 76 | - | font-style-bold-italic = default |
|
| 77 | - | # Control whether Ghostty should synthesize a style if the requested style is |
|
| 78 | - | # not available in the specified font-family. |
|
| 79 | - | # |
|
| 80 | - | # Ghostty can synthesize bold, italic, and bold italic styles if the font |
|
| 81 | - | # does not have a specific style. For bold, this is done by drawing an |
|
| 82 | - | # outline around the glyph of varying thickness. For italic, this is done by |
|
| 83 | - | # applying a slant to the glyph. For bold italic, both of these are applied. |
|
| 84 | - | # |
|
| 85 | - | # Synthetic styles are not perfect and will generally not look as good |
|
| 86 | - | # as a font that has the style natively. However, they are useful to |
|
| 87 | - | # provide styled text when the font does not have the style. |
|
| 88 | - | # |
|
| 89 | - | # Set this to "false" or "true" to disable or enable synthetic styles |
|
| 90 | - | # completely. You can disable specific styles using "no-bold", "no-italic", |
|
| 91 | - | # and "no-bold-italic". You can disable multiple styles by separating them |
|
| 92 | - | # with a comma. For example, "no-bold,no-italic". |
|
| 93 | - | # |
|
| 94 | - | # Available style keys are: `bold`, `italic`, `bold-italic`. |
|
| 95 | - | # |
|
| 96 | - | # If synthetic styles are disabled, then the regular style will be used |
|
| 97 | - | # instead if the requested style is not available. If the font has the |
|
| 98 | - | # requested style, then the font will be used as-is since the style is |
|
| 99 | - | # not synthetic. |
|
| 100 | - | # |
|
| 101 | - | # Warning: An easy mistake is to disable `bold` or `italic` but not |
|
| 102 | - | # `bold-italic`. Disabling only `bold` or `italic` will NOT disable either |
|
| 103 | - | # in the `bold-italic` style. If you want to disable `bold-italic`, you must |
|
| 104 | - | # explicitly disable it. You cannot partially disable `bold-italic`. |
|
| 105 | - | # |
|
| 106 | - | # By default, synthetic styles are enabled. |
|
| 107 | - | font-synthetic-style = bold,italic,bold-italic |
|
| 108 | - | ||
| 109 | - | # Apply a font feature. This can be repeated multiple times to enable multiple |
|
| 110 | - | # font features. You can NOT set multiple font features with a single value |
|
| 111 | - | # (yet). |
|
| 112 | - | # |
|
| 113 | - | # The font feature will apply to all fonts rendered by Ghostty. A future |
|
| 114 | - | # enhancement will allow targeting specific faces. |
|
| 115 | - | # |
|
| 116 | - | # A valid value is the name of a feature. Prefix the feature with a `-` to |
|
| 117 | - | # explicitly disable it. Example: `ss20` or `-ss20`. |
|
| 118 | - | # |
|
| 119 | - | # To disable programming ligatures, use `-calt` since this is the typical |
|
| 120 | - | # feature name for programming ligatures. To look into what font features |
|
| 121 | - | # your font has and what they do, use a font inspection tool such as |
|
| 122 | - | # [fontdrop.info](https://fontdrop.info). |
|
| 123 | - | # |
|
| 124 | - | # To generally disable most ligatures, use `-calt`, `-liga`, and `-dlig` (as |
|
| 125 | - | # separate repetitive entries in your config). |
|
| 126 | - | font-feature = |
|
| 127 | - | ||
| 128 | - | # Font size in points. This value can be a non-integer and the nearest integer |
|
| 129 | - | # pixel size will be selected. If you have a high dpi display where 1pt = 2px |
|
| 130 | - | # then you can get an odd numbered pixel size by specifying a half point. |
|
| 131 | - | # |
|
| 132 | - | # For example, 13.5pt @ 2px/pt = 27px |
|
| 133 | - | # |
|
| 134 | - | # Changing this configuration at runtime will only affect new terminals, |
|
| 135 | - | # i.e. new windows, tabs, etc. Note that you may still not see the change |
|
| 136 | - | # depending on your `window-inherit-font-size` setting. If that setting is |
|
| 137 | - | # true, only the first window will be affected by this change since all |
|
| 138 | - | # subsequent windows will inherit the font size of the previous window. |
|
| 139 | - | font-size = 13 |
|
| 140 | - | ||
| 141 | - | # A repeatable configuration to set one or more font variations values for |
|
| 142 | - | # a variable font. A variable font is a single font, usually with a filename |
|
| 143 | - | # ending in `-VF.ttf` or `-VF.otf` that contains one or more configurable axes |
|
| 144 | - | # for things such as weight, slant, etc. Not all fonts support variations; |
|
| 145 | - | # only fonts that explicitly state they are variable fonts will work. |
|
| 146 | - | # |
|
| 147 | - | # The format of this is `id=value` where `id` is the axis identifier. An axis |
|
| 148 | - | # identifier is always a 4 character string, such as `wght`. To get the list |
|
| 149 | - | # of supported axes, look at your font documentation or use a font inspection |
|
| 150 | - | # tool. |
|
| 151 | - | # |
|
| 152 | - | # Invalid ids and values are usually ignored. For example, if a font only |
|
| 153 | - | # supports weights from 100 to 700, setting `wght=800` will do nothing (it |
|
| 154 | - | # will not be clamped to 700). You must consult your font's documentation to |
|
| 155 | - | # see what values are supported. |
|
| 156 | - | # |
|
| 157 | - | # Common axes are: `wght` (weight), `slnt` (slant), `ital` (italic), `opsz` |
|
| 158 | - | # (optical size), `wdth` (width), `GRAD` (gradient), etc. |
|
| 159 | - | font-variation = |
|
| 160 | - | ||
| 161 | - | font-variation-bold = |
|
| 162 | - | font-variation-italic = |
|
| 163 | - | font-variation-bold-italic = |
|
| 164 | - | # Force one or a range of Unicode codepoints to map to a specific named font. |
|
| 165 | - | # This is useful if you want to support special symbols or if you want to use |
|
| 166 | - | # specific glyphs that render better for your specific font. |
|
| 167 | - | # |
|
| 168 | - | # The syntax is `codepoint=fontname` where `codepoint` is either a single |
|
| 169 | - | # codepoint or a range. Codepoints must be specified as full Unicode |
|
| 170 | - | # hex values, such as `U+ABCD`. Codepoints ranges are specified as |
|
| 171 | - | # `U+ABCD-U+DEFG`. You can specify multiple ranges for the same font separated |
|
| 172 | - | # by commas, such as `U+ABCD-U+DEFG,U+1234-U+5678=fontname`. The font name is |
|
| 173 | - | # the same value as you would use for `font-family`. |
|
| 174 | - | # |
|
| 175 | - | # This configuration can be repeated multiple times to specify multiple |
|
| 176 | - | # codepoint mappings. |
|
| 177 | - | # |
|
| 178 | - | # Changing this configuration at runtime will only affect new terminals, |
|
| 179 | - | # i.e. new windows, tabs, etc. |
|
| 180 | - | font-codepoint-map = |
|
| 181 | - | ||
| 182 | - | # Draw fonts with a thicker stroke, if supported. This is only supported |
|
| 183 | - | # currently on macOS. |
|
| 184 | - | font-thicken = false |
|
| 185 | - | ||
| 186 | - | # All of the configurations behavior adjust various metrics determined by the |
|
| 187 | - | # font. The values can be integers (1, -1, etc.) or a percentage (20%, -15%, |
|
| 188 | - | # etc.). In each case, the values represent the amount to change the original |
|
| 189 | - | # value. |
|
| 190 | - | # |
|
| 191 | - | # For example, a value of `1` increases the value by 1; it does not set it to |
|
| 192 | - | # literally 1. A value of `20%` increases the value by 20%. And so on. |
|
| 193 | - | # |
|
| 194 | - | # There is little to no validation on these values so the wrong values (i.e. |
|
| 195 | - | # `-100%`) can cause the terminal to be unusable. Use with caution and reason. |
|
| 196 | - | # |
|
| 197 | - | # Some values are clamped to minimum or maximum values. This can make it |
|
| 198 | - | # appear that certain values are ignored. For example, many `*-thickness` |
|
| 199 | - | # adjustments cannot go below 1px. |
|
| 200 | - | # |
|
| 201 | - | # `adjust-cell-height` has some additional behaviors to describe: |
|
| 202 | - | # |
|
| 203 | - | # * The font will be centered vertically in the cell. |
|
| 204 | - | # |
|
| 205 | - | # * The cursor will remain the same size as the font, but may be |
|
| 206 | - | # adjusted separately with `adjust-cursor-height`. |
|
| 207 | - | # |
|
| 208 | - | # * Powerline glyphs will be adjusted along with the cell height so |
|
| 209 | - | # that things like status lines continue to look aligned. |
|
| 210 | - | adjust-cell-width = |
|
| 211 | - | ||
| 212 | - | adjust-cell-height = |
|
| 213 | - | # Distance in pixels from the bottom of the cell to the text baseline. |
|
| 214 | - | # Increase to move baseline UP, decrease to move baseline DOWN. |
|
| 215 | - | adjust-font-baseline = |
|
| 216 | - | ||
| 217 | - | # Distance in pixels from the top of the cell to the top of the underline. |
|
| 218 | - | # Increase to move underline DOWN, decrease to move underline UP. |
|
| 219 | - | adjust-underline-position = |
|
| 220 | - | ||
| 221 | - | # Thickness in pixels of the underline. |
|
| 222 | - | adjust-underline-thickness = |
|
| 223 | - | ||
| 224 | - | # Distance in pixels from the top of the cell to the top of the strikethrough. |
|
| 225 | - | # Increase to move strikethrough DOWN, decrease to move underline UP. |
|
| 226 | - | adjust-strikethrough-position = |
|
| 227 | - | ||
| 228 | - | # Thickness in pixels of the strikethrough. |
|
| 229 | - | adjust-strikethrough-thickness = |
|
| 230 | - | ||
| 231 | - | # Distance in pixels from the top of the cell to the top of the overline. |
|
| 232 | - | # Increase to move overline DOWN, decrease to move underline UP. |
|
| 233 | - | adjust-overline-position = |
|
| 234 | - | ||
| 235 | - | # Thickness in pixels of the overline. |
|
| 236 | - | adjust-overline-thickness = |
|
| 237 | - | ||
| 238 | - | # Thickness in pixels of the bar cursor and outlined rect cursor. |
|
| 239 | - | adjust-cursor-thickness = |
|
| 240 | - | ||
| 241 | - | # Height in pixels of the cursor. Currently applies to all cursor types: |
|
| 242 | - | # bar, rect, and outlined rect. |
|
| 243 | - | adjust-cursor-height = |
|
| 244 | - | ||
| 245 | - | # Thickness in pixels of box drawing characters. |
|
| 246 | - | adjust-box-thickness = |
|
| 247 | - | ||
| 248 | - | # The method to use for calculating the cell width of a grapheme cluster. |
|
| 249 | - | # The default value is `unicode` which uses the Unicode standard to determine |
|
| 250 | - | # grapheme width. This results in correct grapheme width but may result in |
|
| 251 | - | # cursor-desync issues with some programs (such as shells) that may use a |
|
| 252 | - | # legacy method such as `wcswidth`. |
|
| 253 | - | # |
|
| 254 | - | # Valid values are: |
|
| 255 | - | # |
|
| 256 | - | # * `legacy` - Use a legacy method to determine grapheme width, such as |
|
| 257 | - | # wcswidth This maximizes compatibility with legacy programs but may result |
|
| 258 | - | # in incorrect grapheme width for certain graphemes such as skin-tone |
|
| 259 | - | # emoji, non-English characters, etc. |
|
| 260 | - | # |
|
| 261 | - | # This is called "legacy" and not something more specific because the |
|
| 262 | - | # behavior is undefined and we want to retain the ability to modify it. |
|
| 263 | - | # For example, we may or may not use libc `wcswidth` now or in the future. |
|
| 264 | - | # |
|
| 265 | - | # * `unicode` - Use the Unicode standard to determine grapheme width. |
|
| 266 | - | # |
|
| 267 | - | # If a running program explicitly enables terminal mode 2027, then `unicode` |
|
| 268 | - | # width will be forced regardless of this configuration. When mode 2027 is |
|
| 269 | - | # reset, this configuration will be used again. |
|
| 270 | - | # |
|
| 271 | - | # This configuration can be changed at runtime but will not affect existing |
|
| 272 | - | # terminals. Only new terminals will use the new configuration. |
|
| 273 | - | grapheme-width-method = unicode |
|
| 274 | - | ||
| 275 | - | # FreeType load flags to enable. The format of this is a list of flags to |
|
| 276 | - | # enable separated by commas. If you prefix a flag with `no-` then it is |
|
| 277 | - | # disabled. If you omit a flag, it's default value is used, so you must |
|
| 278 | - | # explicitly disable flags you don't want. You can also use `true` or `false` |
|
| 279 | - | # to turn all flags on or off. |
|
| 280 | - | # |
|
| 281 | - | # This configuration only applies to Ghostty builds that use FreeType. |
|
| 282 | - | # This is usually the case only for Linux builds. macOS uses CoreText |
|
| 283 | - | # and does not have an equivalent configuration. |
|
| 284 | - | # |
|
| 285 | - | # Available flags: |
|
| 286 | - | # |
|
| 287 | - | # * `hinting` - Enable or disable hinting, enabled by default. |
|
| 288 | - | # * `force-autohint` - Use the freetype auto-hinter rather than the |
|
| 289 | - | # font's native hinter. Enabled by default. |
|
| 290 | - | # * `monochrome` - Instructs renderer to use 1-bit monochrome |
|
| 291 | - | # rendering. This option doesn't impact the hinter. |
|
| 292 | - | # Enabled by default. |
|
| 293 | - | # * `autohint` - Use the freetype auto-hinter. Enabled by default. |
|
| 294 | - | # |
|
| 295 | - | # Example: `hinting`, `no-hinting`, `force-autohint`, `no-force-autohint` |
|
| 296 | - | freetype-load-flags = hinting,force-autohint,monochrome,autohint |
|
| 297 | - | ||
| 298 | - | # A theme to use. This can be a built-in theme name, a custom theme |
|
| 299 | - | # name, or an absolute path to a custom theme file. Ghostty also supports |
|
| 300 | - | # specifying a different theme to use for light and dark mode. Each |
|
| 301 | - | # option is documented below. |
|
| 302 | - | # |
|
| 303 | - | # If the theme is an absolute pathname, Ghostty will attempt to load that |
|
| 304 | - | # file as a theme. If that file does not exist or is inaccessible, an error |
|
| 305 | - | # will be logged and no other directories will be searched. |
|
| 306 | - | # |
|
| 307 | - | # If the theme is not an absolute pathname, two different directories will be |
|
| 308 | - | # searched for a file name that matches the theme. This is case sensitive on |
|
| 309 | - | # systems with case-sensitive filesystems. It is an error for a theme name to |
|
| 310 | - | # include path separators unless it is an absolute pathname. |
|
| 311 | - | # |
|
| 312 | - | # The first directory is the `themes` subdirectory of your Ghostty |
|
| 313 | - | # configuration directory. This is `$XDG_CONFIG_DIR/ghostty/themes` or |
|
| 314 | - | # `~/.config/ghostty/themes`. |
|
| 315 | - | # |
|
| 316 | - | # The second directory is the `themes` subdirectory of the Ghostty resources |
|
| 317 | - | # directory. Ghostty ships with a multitude of themes that will be installed |
|
| 318 | - | # into this directory. On macOS, this list is in the `Ghostty.app/Contents/ |
|
| 319 | - | # Resources/ghostty/themes` directory. On Linux, this list is in the `share/ |
|
| 320 | - | # ghostty/themes` directory (wherever you installed the Ghostty "share" |
|
| 321 | - | # directory. |
|
| 322 | - | # |
|
| 323 | - | # To see a list of available themes, run `ghostty +list-themes`. |
|
| 324 | - | # |
|
| 325 | - | # A theme file is simply another Ghostty configuration file. They share |
|
| 326 | - | # the same syntax and same configuration options. A theme can set any valid |
|
| 327 | - | # configuration option so please do not use a theme file from an untrusted |
|
| 328 | - | # source. The built-in themes are audited to only set safe configuration |
|
| 329 | - | # options. |
|
| 330 | - | # |
|
| 331 | - | # Some options cannot be set within theme files. The reason these are not |
|
| 332 | - | # supported should be self-evident. A theme file cannot set `theme` or |
|
| 333 | - | # `config-file`. At the time of writing this, Ghostty will not show any |
|
| 334 | - | # warnings or errors if you set these options in a theme file but they will |
|
| 335 | - | # be silently ignored. |
|
| 336 | - | # |
|
| 337 | - | # Any additional colors specified via background, foreground, palette, etc. |
|
| 338 | - | # will override the colors specified in the theme. |
|
| 339 | - | # |
|
| 340 | - | # To specify a different theme for light and dark mode, use the following |
|
| 341 | - | # syntax: `light:theme-name,dark:theme-name`. For example: |
|
| 342 | - | # `light:rose-pine-dawn,dark:rose-pine`. Whitespace around all values are |
|
| 343 | - | # trimmed and order of light and dark does not matter. Both light and dark |
|
| 344 | - | # must be specified in this form. In this form, the theme used will be |
|
| 345 | - | # based on the current desktop environment theme. |
|
| 346 | - | # |
|
| 347 | - | # There are some known bugs with light/dark mode theming. These will |
|
| 348 | - | # be fixed in a future update: |
|
| 349 | - | # |
|
| 350 | - | # - macOS: titlebar tabs style is not updated when switching themes. |
|
| 351 | - | # |
|
| 352 | - | theme = |
|
| 353 | - | ||
| 354 | - | # Background color for the window. |
|
| 355 | - | background = #282c34 |
|
| 356 | - | ||
| 357 | - | # Foreground color for the window. |
|
| 358 | - | foreground = #ffffff |
|
| 359 | - | ||
| 360 | - | # The foreground and background color for selection. If this is not set, then |
|
| 361 | - | # the selection color is just the inverted window background and foreground |
|
| 362 | - | # (note: not to be confused with the cell bg/fg). |
|
| 363 | - | selection-foreground = |
|
| 364 | - | ||
| 365 | - | selection-background = |
|
| 366 | - | # Swap the foreground and background colors of cells for selection. This |
|
| 367 | - | # option overrides the `selection-foreground` and `selection-background` |
|
| 368 | - | # options. |
|
| 369 | - | # |
|
| 370 | - | # If you select across cells with differing foregrounds and backgrounds, the |
|
| 371 | - | # selection color will vary across the selection. |
|
| 372 | - | selection-invert-fg-bg = false |
|
| 373 | - | ||
| 374 | - | # The minimum contrast ratio between the foreground and background colors. |
|
| 375 | - | # The contrast ratio is a value between 1 and 21. A value of 1 allows for no |
|
| 376 | - | # contrast (i.e. black on black). This value is the contrast ratio as defined |
|
| 377 | - | # by the [WCAG 2.0 specification](https://www.w3.org/TR/WCAG20/). |
|
| 378 | - | # |
|
| 379 | - | # If you want to avoid invisible text (same color as background), a value of |
|
| 380 | - | # 1.1 is a good value. If you want to avoid text that is difficult to read, a |
|
| 381 | - | # value of 3 or higher is a good value. The higher the value, the more likely |
|
| 382 | - | # that text will become black or white. |
|
| 383 | - | # |
|
| 384 | - | # This value does not apply to Emoji or images. |
|
| 385 | - | minimum-contrast = 1 |
|
| 386 | - | ||
| 387 | - | # Color palette for the 256 color form that many terminal applications use. |
|
| 388 | - | # The syntax of this configuration is `N=HEXCODE` where `N` is 0 to 255 (for |
|
| 389 | - | # the 256 colors in the terminal color table) and `HEXCODE` is a typical RGB |
|
| 390 | - | # color code such as `#AABBCC`. |
|
| 391 | - | # |
|
| 392 | - | # For definitions on all the codes [see this cheat |
|
| 393 | - | # sheet](https://www.ditig.com/256-colors-cheat-sheet). |
|
| 394 | - | palette = 0=#1d1f21 |
|
| 395 | - | palette = 1=#cc6666 |
|
| 396 | - | palette = 2=#b5bd68 |
|
| 397 | - | palette = 3=#f0c674 |
|
| 398 | - | palette = 4=#81a2be |
|
| 399 | - | palette = 5=#b294bb |
|
| 400 | - | palette = 6=#8abeb7 |
|
| 401 | - | palette = 7=#c5c8c6 |
|
| 402 | - | palette = 8=#666666 |
|
| 403 | - | palette = 9=#d54e53 |
|
| 404 | - | palette = 10=#b9ca4a |
|
| 405 | - | palette = 11=#e7c547 |
|
| 406 | - | palette = 12=#7aa6da |
|
| 407 | - | palette = 13=#c397d8 |
|
| 408 | - | palette = 14=#70c0b1 |
|
| 409 | - | palette = 15=#eaeaea |
|
| 410 | - | palette = 16=#000000 |
|
| 411 | - | palette = 17=#00005f |
|
| 412 | - | palette = 18=#000087 |
|
| 413 | - | palette = 19=#0000af |
|
| 414 | - | palette = 20=#0000d7 |
|
| 415 | - | palette = 21=#0000ff |
|
| 416 | - | palette = 22=#005f00 |
|
| 417 | - | palette = 23=#005f5f |
|
| 418 | - | palette = 24=#005f87 |
|
| 419 | - | palette = 25=#005faf |
|
| 420 | - | palette = 26=#005fd7 |
|
| 421 | - | palette = 27=#005fff |
|
| 422 | - | palette = 28=#008700 |
|
| 423 | - | palette = 29=#00875f |
|
| 424 | - | palette = 30=#008787 |
|
| 425 | - | palette = 31=#0087af |
|
| 426 | - | palette = 32=#0087d7 |
|
| 427 | - | palette = 33=#0087ff |
|
| 428 | - | palette = 34=#00af00 |
|
| 429 | - | palette = 35=#00af5f |
|
| 430 | - | palette = 36=#00af87 |
|
| 431 | - | palette = 37=#00afaf |
|
| 432 | - | palette = 38=#00afd7 |
|
| 433 | - | palette = 39=#00afff |
|
| 434 | - | palette = 40=#00d700 |
|
| 435 | - | palette = 41=#00d75f |
|
| 436 | - | palette = 42=#00d787 |
|
| 437 | - | palette = 43=#00d7af |
|
| 438 | - | palette = 44=#00d7d7 |
|
| 439 | - | palette = 45=#00d7ff |
|
| 440 | - | palette = 46=#00ff00 |
|
| 441 | - | palette = 47=#00ff5f |
|
| 442 | - | palette = 48=#00ff87 |
|
| 443 | - | palette = 49=#00ffaf |
|
| 444 | - | palette = 50=#00ffd7 |
|
| 445 | - | palette = 51=#00ffff |
|
| 446 | - | palette = 52=#5f0000 |
|
| 447 | - | palette = 53=#5f005f |
|
| 448 | - | palette = 54=#5f0087 |
|
| 449 | - | palette = 55=#5f00af |
|
| 450 | - | palette = 56=#5f00d7 |
|
| 451 | - | palette = 57=#5f00ff |
|
| 452 | - | palette = 58=#5f5f00 |
|
| 453 | - | palette = 59=#5f5f5f |
|
| 454 | - | palette = 60=#5f5f87 |
|
| 455 | - | palette = 61=#5f5faf |
|
| 456 | - | palette = 62=#5f5fd7 |
|
| 457 | - | palette = 63=#5f5fff |
|
| 458 | - | palette = 64=#5f8700 |
|
| 459 | - | palette = 65=#5f875f |
|
| 460 | - | palette = 66=#5f8787 |
|
| 461 | - | palette = 67=#5f87af |
|
| 462 | - | palette = 68=#5f87d7 |
|
| 463 | - | palette = 69=#5f87ff |
|
| 464 | - | palette = 70=#5faf00 |
|
| 465 | - | palette = 71=#5faf5f |
|
| 466 | - | palette = 72=#5faf87 |
|
| 467 | - | palette = 73=#5fafaf |
|
| 468 | - | palette = 74=#5fafd7 |
|
| 469 | - | palette = 75=#5fafff |
|
| 470 | - | palette = 76=#5fd700 |
|
| 471 | - | palette = 77=#5fd75f |
|
| 472 | - | palette = 78=#5fd787 |
|
| 473 | - | palette = 79=#5fd7af |
|
| 474 | - | palette = 80=#5fd7d7 |
|
| 475 | - | palette = 81=#5fd7ff |
|
| 476 | - | palette = 82=#5fff00 |
|
| 477 | - | palette = 83=#5fff5f |
|
| 478 | - | palette = 84=#5fff87 |
|
| 479 | - | palette = 85=#5fffaf |
|
| 480 | - | palette = 86=#5fffd7 |
|
| 481 | - | palette = 87=#5fffff |
|
| 482 | - | palette = 88=#870000 |
|
| 483 | - | palette = 89=#87005f |
|
| 484 | - | palette = 90=#870087 |
|
| 485 | - | palette = 91=#8700af |
|
| 486 | - | palette = 92=#8700d7 |
|
| 487 | - | palette = 93=#8700ff |
|
| 488 | - | palette = 94=#875f00 |
|
| 489 | - | palette = 95=#875f5f |
|
| 490 | - | palette = 96=#875f87 |
|
| 491 | - | palette = 97=#875faf |
|
| 492 | - | palette = 98=#875fd7 |
|
| 493 | - | palette = 99=#875fff |
|
| 494 | - | palette = 100=#878700 |
|
| 495 | - | palette = 101=#87875f |
|
| 496 | - | palette = 102=#878787 |
|
| 497 | - | palette = 103=#8787af |
|
| 498 | - | palette = 104=#8787d7 |
|
| 499 | - | palette = 105=#8787ff |
|
| 500 | - | palette = 106=#87af00 |
|
| 501 | - | palette = 107=#87af5f |
|
| 502 | - | palette = 108=#87af87 |
|
| 503 | - | palette = 109=#87afaf |
|
| 504 | - | palette = 110=#87afd7 |
|
| 505 | - | palette = 111=#87afff |
|
| 506 | - | palette = 112=#87d700 |
|
| 507 | - | palette = 113=#87d75f |
|
| 508 | - | palette = 114=#87d787 |
|
| 509 | - | palette = 115=#87d7af |
|
| 510 | - | palette = 116=#87d7d7 |
|
| 511 | - | palette = 117=#87d7ff |
|
| 512 | - | palette = 118=#87ff00 |
|
| 513 | - | palette = 119=#87ff5f |
|
| 514 | - | palette = 120=#87ff87 |
|
| 515 | - | palette = 121=#87ffaf |
|
| 516 | - | palette = 122=#87ffd7 |
|
| 517 | - | palette = 123=#87ffff |
|
| 518 | - | palette = 124=#af0000 |
|
| 519 | - | palette = 125=#af005f |
|
| 520 | - | palette = 126=#af0087 |
|
| 521 | - | palette = 127=#af00af |
|
| 522 | - | palette = 128=#af00d7 |
|
| 523 | - | palette = 129=#af00ff |
|
| 524 | - | palette = 130=#af5f00 |
|
| 525 | - | palette = 131=#af5f5f |
|
| 526 | - | palette = 132=#af5f87 |
|
| 527 | - | palette = 133=#af5faf |
|
| 528 | - | palette = 134=#af5fd7 |
|
| 529 | - | palette = 135=#af5fff |
|
| 530 | - | palette = 136=#af8700 |
|
| 531 | - | palette = 137=#af875f |
|
| 532 | - | palette = 138=#af8787 |
|
| 533 | - | palette = 139=#af87af |
|
| 534 | - | palette = 140=#af87d7 |
|
| 535 | - | palette = 141=#af87ff |
|
| 536 | - | palette = 142=#afaf00 |
|
| 537 | - | palette = 143=#afaf5f |
|
| 538 | - | palette = 144=#afaf87 |
|
| 539 | - | palette = 145=#afafaf |
|
| 540 | - | palette = 146=#afafd7 |
|
| 541 | - | palette = 147=#afafff |
|
| 542 | - | palette = 148=#afd700 |
|
| 543 | - | palette = 149=#afd75f |
|
| 544 | - | palette = 150=#afd787 |
|
| 545 | - | palette = 151=#afd7af |
|
| 546 | - | palette = 152=#afd7d7 |
|
| 547 | - | palette = 153=#afd7ff |
|
| 548 | - | palette = 154=#afff00 |
|
| 549 | - | palette = 155=#afff5f |
|
| 550 | - | palette = 156=#afff87 |
|
| 551 | - | palette = 157=#afffaf |
|
| 552 | - | palette = 158=#afffd7 |
|
| 553 | - | palette = 159=#afffff |
|
| 554 | - | palette = 160=#d70000 |
|
| 555 | - | palette = 161=#d7005f |
|
| 556 | - | palette = 162=#d70087 |
|
| 557 | - | palette = 163=#d700af |
|
| 558 | - | palette = 164=#d700d7 |
|
| 559 | - | palette = 165=#d700ff |
|
| 560 | - | palette = 166=#d75f00 |
|
| 561 | - | palette = 167=#d75f5f |
|
| 562 | - | palette = 168=#d75f87 |
|
| 563 | - | palette = 169=#d75faf |
|
| 564 | - | palette = 170=#d75fd7 |
|
| 565 | - | palette = 171=#d75fff |
|
| 566 | - | palette = 172=#d78700 |
|
| 567 | - | palette = 173=#d7875f |
|
| 568 | - | palette = 174=#d78787 |
|
| 569 | - | palette = 175=#d787af |
|
| 570 | - | palette = 176=#d787d7 |
|
| 571 | - | palette = 177=#d787ff |
|
| 572 | - | palette = 178=#d7af00 |
|
| 573 | - | palette = 179=#d7af5f |
|
| 574 | - | palette = 180=#d7af87 |
|
| 575 | - | palette = 181=#d7afaf |
|
| 576 | - | palette = 182=#d7afd7 |
|
| 577 | - | palette = 183=#d7afff |
|
| 578 | - | palette = 184=#d7d700 |
|
| 579 | - | palette = 185=#d7d75f |
|
| 580 | - | palette = 186=#d7d787 |
|
| 581 | - | palette = 187=#d7d7af |
|
| 582 | - | palette = 188=#d7d7d7 |
|
| 583 | - | palette = 189=#d7d7ff |
|
| 584 | - | palette = 190=#d7ff00 |
|
| 585 | - | palette = 191=#d7ff5f |
|
| 586 | - | palette = 192=#d7ff87 |
|
| 587 | - | palette = 193=#d7ffaf |
|
| 588 | - | palette = 194=#d7ffd7 |
|
| 589 | - | palette = 195=#d7ffff |
|
| 590 | - | palette = 196=#ff0000 |
|
| 591 | - | palette = 197=#ff005f |
|
| 592 | - | palette = 198=#ff0087 |
|
| 593 | - | palette = 199=#ff00af |
|
| 594 | - | palette = 200=#ff00d7 |
|
| 595 | - | palette = 201=#ff00ff |
|
| 596 | - | palette = 202=#ff5f00 |
|
| 597 | - | palette = 203=#ff5f5f |
|
| 598 | - | palette = 204=#ff5f87 |
|
| 599 | - | palette = 205=#ff5faf |
|
| 600 | - | palette = 206=#ff5fd7 |
|
| 601 | - | palette = 207=#ff5fff |
|
| 602 | - | palette = 208=#ff8700 |
|
| 603 | - | palette = 209=#ff875f |
|
| 604 | - | palette = 210=#ff8787 |
|
| 605 | - | palette = 211=#ff87af |
|
| 606 | - | palette = 212=#ff87d7 |
|
| 607 | - | palette = 213=#ff87ff |
|
| 608 | - | palette = 214=#ffaf00 |
|
| 609 | - | palette = 215=#ffaf5f |
|
| 610 | - | palette = 216=#ffaf87 |
|
| 611 | - | palette = 217=#ffafaf |
|
| 612 | - | palette = 218=#ffafd7 |
|
| 613 | - | palette = 219=#ffafff |
|
| 614 | - | palette = 220=#ffd700 |
|
| 615 | - | palette = 221=#ffd75f |
|
| 616 | - | palette = 222=#ffd787 |
|
| 617 | - | palette = 223=#ffd7af |
|
| 618 | - | palette = 224=#ffd7d7 |
|
| 619 | - | palette = 225=#ffd7ff |
|
| 620 | - | palette = 226=#ffff00 |
|
| 621 | - | palette = 227=#ffff5f |
|
| 622 | - | palette = 228=#ffff87 |
|
| 623 | - | palette = 229=#ffffaf |
|
| 624 | - | palette = 230=#ffffd7 |
|
| 625 | - | palette = 231=#ffffff |
|
| 626 | - | palette = 232=#080808 |
|
| 627 | - | palette = 233=#121212 |
|
| 628 | - | palette = 234=#1c1c1c |
|
| 629 | - | palette = 235=#262626 |
|
| 630 | - | palette = 236=#303030 |
|
| 631 | - | palette = 237=#3a3a3a |
|
| 632 | - | palette = 238=#444444 |
|
| 633 | - | palette = 239=#4e4e4e |
|
| 634 | - | palette = 240=#585858 |
|
| 635 | - | palette = 241=#626262 |
|
| 636 | - | palette = 242=#6c6c6c |
|
| 637 | - | palette = 243=#767676 |
|
| 638 | - | palette = 244=#808080 |
|
| 639 | - | palette = 245=#8a8a8a |
|
| 640 | - | palette = 246=#949494 |
|
| 641 | - | palette = 247=#9e9e9e |
|
| 642 | - | palette = 248=#a8a8a8 |
|
| 643 | - | palette = 249=#b2b2b2 |
|
| 644 | - | palette = 250=#bcbcbc |
|
| 645 | - | palette = 251=#c6c6c6 |
|
| 646 | - | palette = 252=#d0d0d0 |
|
| 647 | - | palette = 253=#dadada |
|
| 648 | - | palette = 254=#e4e4e4 |
|
| 649 | - | palette = 255=#eeeeee |
|
| 650 | - | ||
| 651 | - | # The color of the cursor. If this is not set, a default will be chosen. |
|
| 652 | - | cursor-color = |
|
| 653 | - | ||
| 654 | - | # Swap the foreground and background colors of the cell under the cursor. This |
|
| 655 | - | # option overrides the `cursor-color` and `cursor-text` options. |
|
| 656 | - | cursor-invert-fg-bg = false |
|
| 657 | - | ||
| 658 | - | # The opacity level (opposite of transparency) of the cursor. A value of 1 |
|
| 659 | - | # is fully opaque and a value of 0 is fully transparent. A value less than 0 |
|
| 660 | - | # or greater than 1 will be clamped to the nearest valid value. Note that a |
|
| 661 | - | # sufficiently small value such as 0.3 may be effectively invisible and may |
|
| 662 | - | # make it difficult to find the cursor. |
|
| 663 | - | cursor-opacity = 1 |
|
| 664 | - | ||
| 665 | - | # The style of the cursor. This sets the default style. A running program can |
|
| 666 | - | # still request an explicit cursor style using escape sequences (such as `CSI |
|
| 667 | - | # q`). Shell configurations will often request specific cursor styles. |
|
| 668 | - | # |
|
| 669 | - | # Note that shell integration will automatically set the cursor to a bar at |
|
| 670 | - | # a prompt, regardless of this configuration. You can disable that behavior |
|
| 671 | - | # by specifying `shell-integration-features = no-cursor` or disabling shell |
|
| 672 | - | # integration entirely. |
|
| 673 | - | # |
|
| 674 | - | # Valid values are: |
|
| 675 | - | # |
|
| 676 | - | # * `block` |
|
| 677 | - | # * `bar` |
|
| 678 | - | # * `underline` |
|
| 679 | - | # * `block_hollow` |
|
| 680 | - | # |
|
| 681 | - | cursor-style = block |
|
| 682 | - | ||
| 683 | - | # Sets the default blinking state of the cursor. This is just the default |
|
| 684 | - | # state; running programs may override the cursor style using `DECSCUSR` (`CSI |
|
| 685 | - | # q`). |
|
| 686 | - | # |
|
| 687 | - | # If this is not set, the cursor blinks by default. Note that this is not the |
|
| 688 | - | # same as a "true" value, as noted below. |
|
| 689 | - | # |
|
| 690 | - | # If this is not set at all (`null`), then Ghostty will respect DEC Mode 12 |
|
| 691 | - | # (AT&T cursor blink) as an alternate approach to turning blinking on/off. If |
|
| 692 | - | # this is set to any value other than null, DEC mode 12 will be ignored but |
|
| 693 | - | # `DECSCUSR` will still be respected. |
|
| 694 | - | # |
|
| 695 | - | # Valid values are: |
|
| 696 | - | # |
|
| 697 | - | # * `` (blank) |
|
| 698 | - | # * `true` |
|
| 699 | - | # * `false` |
|
| 700 | - | # |
|
| 701 | - | cursor-style-blink = |
|
| 702 | - | ||
| 703 | - | # The color of the text under the cursor. If this is not set, a default will |
|
| 704 | - | # be chosen. |
|
| 705 | - | cursor-text = |
|
| 706 | - | ||
| 707 | - | # Enables the ability to move the cursor at prompts by using `alt+click` on |
|
| 708 | - | # Linux and `option+click` on macOS. |
|
| 709 | - | # |
|
| 710 | - | # This feature requires shell integration (specifically prompt marking |
|
| 711 | - | # via `OSC 133`) and only works in primary screen mode. Alternate screen |
|
| 712 | - | # applications like vim usually have their own version of this feature but |
|
| 713 | - | # this configuration doesn't control that. |
|
| 714 | - | # |
|
| 715 | - | # It should be noted that this feature works by translating your desired |
|
| 716 | - | # position into a series of synthetic arrow key movements, so some weird |
|
| 717 | - | # behavior around edge cases are to be expected. This is unfortunately how |
|
| 718 | - | # this feature is implemented across terminals because there isn't any other |
|
| 719 | - | # way to implement it. |
|
| 720 | - | cursor-click-to-move = true |
|
| 721 | - | ||
| 722 | - | # Hide the mouse immediately when typing. The mouse becomes visible again |
|
| 723 | - | # when the mouse is used (button, movement, etc.). Platform-specific behavior |
|
| 724 | - | # may dictate other scenarios where the mouse is shown. For example on macOS, |
|
| 725 | - | # the mouse is shown again when a new window, tab, or split is created. |
|
| 726 | - | mouse-hide-while-typing = false |
|
| 727 | - | ||
| 728 | - | # Determines whether running programs can detect the shift key pressed with a |
|
| 729 | - | # mouse click. Typically, the shift key is used to extend mouse selection. |
|
| 730 | - | # |
|
| 731 | - | # The default value of `false` means that the shift key is not sent with |
|
| 732 | - | # the mouse protocol and will extend the selection. This value can be |
|
| 733 | - | # conditionally overridden by the running program with the `XTSHIFTESCAPE` |
|
| 734 | - | # sequence. |
|
| 735 | - | # |
|
| 736 | - | # The value `true` means that the shift key is sent with the mouse protocol |
|
| 737 | - | # but the running program can override this behavior with `XTSHIFTESCAPE`. |
|
| 738 | - | # |
|
| 739 | - | # The value `never` is the same as `false` but the running program cannot |
|
| 740 | - | # override this behavior with `XTSHIFTESCAPE`. The value `always` is the |
|
| 741 | - | # same as `true` but the running program cannot override this behavior with |
|
| 742 | - | # `XTSHIFTESCAPE`. |
|
| 743 | - | # |
|
| 744 | - | # If you always want shift to extend mouse selection even if the program |
|
| 745 | - | # requests otherwise, set this to `never`. |
|
| 746 | - | # |
|
| 747 | - | # Valid values are: |
|
| 748 | - | # |
|
| 749 | - | # * `true` |
|
| 750 | - | # * `false` |
|
| 751 | - | # * `always` |
|
| 752 | - | # * `never` |
|
| 753 | - | # |
|
| 754 | - | mouse-shift-capture = false |
|
| 755 | - | ||
| 756 | - | # Multiplier for scrolling distance with the mouse wheel. Any value less |
|
| 757 | - | # than 0.01 or greater than 10,000 will be clamped to the nearest valid |
|
| 758 | - | # value. |
|
| 759 | - | # |
|
| 760 | - | # A value of "1" (default) scrolls te default amount. A value of "2" scrolls |
|
| 761 | - | # double the default amount. A value of "0.5" scrolls half the default amount. |
|
| 762 | - | # Et cetera. |
|
| 763 | - | mouse-scroll-multiplier = 1 |
|
| 764 | - | ||
| 765 | - | # The opacity level (opposite of transparency) of the background. A value of |
|
| 766 | - | # 1 is fully opaque and a value of 0 is fully transparent. A value less than 0 |
|
| 767 | - | # or greater than 1 will be clamped to the nearest valid value. |
|
| 768 | - | # |
|
| 769 | - | # On macOS, background opacity is disabled when the terminal enters native |
|
| 770 | - | # fullscreen. This is because the background becomes gray and it can cause |
|
| 771 | - | # widgets to show through which isn't generally desirable. |
|
| 772 | - | background-opacity = 1 |
|
| 773 | - | ||
| 774 | - | # A positive value enables blurring of the background when background-opacity |
|
| 775 | - | # is less than 1. The value is the blur radius to apply. A value of 20 |
|
| 776 | - | # is reasonable for a good looking blur. Higher values will cause strange |
|
| 777 | - | # rendering issues as well as performance issues. |
|
| 778 | - | # |
|
| 779 | - | # This is only supported on macOS. |
|
| 780 | - | background-blur-radius = 0 |
|
| 781 | - | ||
| 782 | - | # The opacity level (opposite of transparency) of an unfocused split. |
|
| 783 | - | # Unfocused splits by default are slightly faded out to make it easier to see |
|
| 784 | - | # which split is focused. To disable this feature, set this value to 1. |
|
| 785 | - | # |
|
| 786 | - | # A value of 1 is fully opaque and a value of 0 is fully transparent. Because |
|
| 787 | - | # "0" is not useful (it makes the window look very weird), the minimum value |
|
| 788 | - | # is 0.15. This value still looks weird but you can at least see what's going |
|
| 789 | - | # on. A value outside of the range 0.15 to 1 will be clamped to the nearest |
|
| 790 | - | # valid value. |
|
| 791 | - | unfocused-split-opacity = 0.7 |
|
| 792 | - | ||
| 793 | - | # The color to dim the unfocused split. Unfocused splits are dimmed by |
|
| 794 | - | # rendering a semi-transparent rectangle over the split. This sets the color of |
|
| 795 | - | # that rectangle and can be used to carefully control the dimming effect. |
|
| 796 | - | # |
|
| 797 | - | # This will default to the background color. |
|
| 798 | - | unfocused-split-fill = |
|
| 799 | - | ||
| 800 | - | # The command to run, usually a shell. If this is not an absolute path, it'll |
|
| 801 | - | # be looked up in the `PATH`. If this is not set, a default will be looked up |
|
| 802 | - | # from your system. The rules for the default lookup are: |
|
| 803 | - | # |
|
| 804 | - | # * `SHELL` environment variable |
|
| 805 | - | # |
|
| 806 | - | # * `passwd` entry (user information) |
|
| 807 | - | # |
|
| 808 | - | # This can contain additional arguments to run the command with. If additional |
|
| 809 | - | # arguments are provided, the command will be executed using `/bin/sh -c`. |
|
| 810 | - | # Ghostty does not do any shell command parsing. |
|
| 811 | - | # |
|
| 812 | - | # This command will be used for all new terminal surfaces, i.e. new windows, |
|
| 813 | - | # tabs, etc. If you want to run a command only for the first terminal surface |
|
| 814 | - | # created when Ghostty starts, use the `initial-command` configuration. |
|
| 815 | - | # |
|
| 816 | - | # Ghostty supports the common `-e` flag for executing a command with |
|
| 817 | - | # arguments. For example, `ghostty -e fish --with --custom --args`. |
|
| 818 | - | # This flag sets the `initial-command` configuration, see that for more |
|
| 819 | - | # information. |
|
| 820 | - | command = |
|
| 821 | - | ||
| 822 | - | # This is the same as "command", but only applies to the first terminal |
|
| 823 | - | # surface created when Ghostty starts. Subsequent terminal surfaces will use |
|
| 824 | - | # the `command` configuration. |
|
| 825 | - | # |
|
| 826 | - | # After the first terminal surface is created (or closed), there is no |
|
| 827 | - | # way to run this initial command again automatically. As such, setting |
|
| 828 | - | # this at runtime works but will only affect the next terminal surface |
|
| 829 | - | # if it is the first one ever created. |
|
| 830 | - | # |
|
| 831 | - | # If you're using the `ghostty` CLI there is also a shortcut to set this |
|
| 832 | - | # with arguments directly: you can use the `-e` flag. For example: `ghostty -e |
|
| 833 | - | # fish --with --custom --args`. The `-e` flag automatically forces some |
|
| 834 | - | # other behaviors as well: |
|
| 835 | - | # |
|
| 836 | - | # * `gtk-single-instance=false` - This ensures that a new instance is |
|
| 837 | - | # launched and the CLI args are respected. |
|
| 838 | - | # |
|
| 839 | - | # * `quit-after-last-window-closed=true` - This ensures that the Ghostty |
|
| 840 | - | # process will exit when the command exits. Additionally, the |
|
| 841 | - | # `quit-after-last-window-closed-delay` is unset. |
|
| 842 | - | # |
|
| 843 | - | # * `shell-integration=detect` (if not `none`) - This prevents forcibly |
|
| 844 | - | # injecting any configured shell integration into the command's |
|
| 845 | - | # environment. With `-e` its highly unlikely that you're executing a |
|
| 846 | - | # shell and forced shell integration is likely to cause problems |
|
| 847 | - | # (i.e. by wrapping your command in a shell, setting env vars, etc.). |
|
| 848 | - | # This is a safety measure to prevent unexpected behavior. If you want |
|
| 849 | - | # shell integration with a `-e`-executed command, you must either |
|
| 850 | - | # name your binary appopriately or source the shell integration script |
|
| 851 | - | # manually. |
|
| 852 | - | # |
|
| 853 | - | initial-command = |
|
| 854 | - | ||
| 855 | - | # If true, keep the terminal open after the command exits. Normally, the |
|
| 856 | - | # terminal window closes when the running command (such as a shell) exits. |
|
| 857 | - | # With this true, the terminal window will stay open until any keypress is |
|
| 858 | - | # received. |
|
| 859 | - | # |
|
| 860 | - | # This is primarily useful for scripts or debugging. |
|
| 861 | - | wait-after-command = false |
|
| 862 | - | ||
| 863 | - | # The number of milliseconds of runtime below which we consider a process exit |
|
| 864 | - | # to be abnormal. This is used to show an error message when the process exits |
|
| 865 | - | # too quickly. |
|
| 866 | - | # |
|
| 867 | - | # On Linux, this must be paired with a non-zero exit code. On macOS, we allow |
|
| 868 | - | # any exit code because of the way shell processes are launched via the login |
|
| 869 | - | # command. |
|
| 870 | - | abnormal-command-exit-runtime = 250 |
|
| 871 | - | ||
| 872 | - | # The size of the scrollback buffer in bytes. This also includes the active |
|
| 873 | - | # screen. No matter what this is set to, enough memory will always be |
|
| 874 | - | # allocated for the visible screen and anything leftover is the limit for |
|
| 875 | - | # the scrollback. |
|
| 876 | - | # |
|
| 877 | - | # When this limit is reached, the oldest lines are removed from the |
|
| 878 | - | # scrollback. |
|
| 879 | - | # |
|
| 880 | - | # Scrollback currently exists completely in memory. This means that the |
|
| 881 | - | # larger this value, the larger potential memory usage. Scrollback is |
|
| 882 | - | # allocated lazily up to this limit, so if you set this to a very large |
|
| 883 | - | # value, it will not immediately consume a lot of memory. |
|
| 884 | - | # |
|
| 885 | - | # This size is per terminal surface, not for the entire application. |
|
| 886 | - | # |
|
| 887 | - | # It is not currently possible to set an unlimited scrollback buffer. |
|
| 888 | - | # This is a future planned feature. |
|
| 889 | - | # |
|
| 890 | - | # This can be changed at runtime but will only affect new terminal surfaces. |
|
| 891 | - | scrollback-limit = 10000000 |
|
| 892 | - | ||
| 893 | - | # Match a regular expression against the terminal text and associate clicking |
|
| 894 | - | # it with an action. This can be used to match URLs, file paths, etc. Actions |
|
| 895 | - | # can be opening using the system opener (i.e. `open` or `xdg-open`) or |
|
| 896 | - | # executing any arbitrary binding action. |
|
| 897 | - | # |
|
| 898 | - | # Links that are configured earlier take precedence over links that are |
|
| 899 | - | # configured later. |
|
| 900 | - | # |
|
| 901 | - | # A default link that matches a URL and opens it in the system opener always |
|
| 902 | - | # exists. This can be disabled using `link-url`. |
|
| 903 | - | # |
|
| 904 | - | # TODO: This can't currently be set! |
|
| 905 | - | ||
| 906 | - | # Enable URL matching. URLs are matched on hover with control (Linux) or |
|
| 907 | - | # super (macOS) pressed and open using the default system application for |
|
| 908 | - | # the linked URL. |
|
| 909 | - | # |
|
| 910 | - | # The URL matcher is always lowest priority of any configured links (see |
|
| 911 | - | # `link`). If you want to customize URL matching, use `link` and disable this. |
|
| 912 | - | link-url = true |
|
| 913 | - | ||
| 914 | - | # Start new windows in fullscreen. This setting applies to new windows and |
|
| 915 | - | # does not apply to tabs, splits, etc. However, this setting will apply to all |
|
| 916 | - | # new windows, not just the first one. |
|
| 917 | - | # |
|
| 918 | - | # On macOS, this setting does not work if window-decoration is set to |
|
| 919 | - | # "false", because native fullscreen on macOS requires window decorations |
|
| 920 | - | # to be set. |
|
| 921 | - | fullscreen = false |
|
| 922 | - | ||
| 923 | - | # The title Ghostty will use for the window. This will force the title of the |
|
| 924 | - | # window to be this title at all times and Ghostty will ignore any set title |
|
| 925 | - | # escape sequences programs (such as Neovim) may send. |
|
| 926 | - | # |
|
| 927 | - | # If you want a blank title, set this to one or more spaces by quoting |
|
| 928 | - | # the value. For example, `title = " "`. This effectively hides the title. |
|
| 929 | - | # This is necessary because setting a blank value resets the title to the |
|
| 930 | - | # default value of the running program. |
|
| 931 | - | # |
|
| 932 | - | # This configuration can be reloaded at runtime. If it is set, the title |
|
| 933 | - | # will update for all windows. If it is unset, the next title change escape |
|
| 934 | - | # sequence will be honored but previous changes will not retroactively |
|
| 935 | - | # be set. This latter case may require you restart programs such as neovim |
|
| 936 | - | # to get the new title. |
|
| 937 | - | title = |
|
| 938 | - | ||
| 939 | - | # The setting that will change the application class value. |
|
| 940 | - | # |
|
| 941 | - | # This controls the class field of the `WM_CLASS` X11 property (when running |
|
| 942 | - | # under X11), and the Wayland application ID (when running under Wayland). |
|
| 943 | - | # |
|
| 944 | - | # Note that changing this value between invocations will create new, separate |
|
| 945 | - | # instances, of Ghostty when running with `gtk-single-instance=true`. See that |
|
| 946 | - | # option for more details. |
|
| 947 | - | # |
|
| 948 | - | # The class name must follow the requirements defined [in the GTK |
|
| 949 | - | # documentation](https://docs.gtk.org/gio/type_func.Application.id_is_valid.html). |
|
| 950 | - | # |
|
| 951 | - | # The default is `com.mitchellh.ghostty`. |
|
| 952 | - | # |
|
| 953 | - | # This only affects GTK builds. |
|
| 954 | - | class = |
|
| 955 | - | ||
| 956 | - | # This controls the instance name field of the `WM_CLASS` X11 property when |
|
| 957 | - | # running under X11. It has no effect otherwise. |
|
| 958 | - | # |
|
| 959 | - | # The default is `ghostty`. |
|
| 960 | - | # |
|
| 961 | - | # This only affects GTK builds. |
|
| 962 | - | x11-instance-name = |
|
| 963 | - | ||
| 964 | - | # The directory to change to after starting the command. |
|
| 965 | - | # |
|
| 966 | - | # This setting is secondary to the `window-inherit-working-directory` |
|
| 967 | - | # setting. If a previous Ghostty terminal exists in the same process, |
|
| 968 | - | # `window-inherit-working-directory` will take precedence. Otherwise, this |
|
| 969 | - | # setting will be used. Typically, this setting is used only for the first |
|
| 970 | - | # window. |
|
| 971 | - | # |
|
| 972 | - | # The default is `inherit` except in special scenarios listed next. On macOS, |
|
| 973 | - | # if Ghostty can detect it is launched from launchd (double-clicked) or |
|
| 974 | - | # `open`, then it defaults to `home`. On Linux with GTK, if Ghostty can detect |
|
| 975 | - | # it was launched from a desktop launcher, then it defaults to `home`. |
|
| 976 | - | # |
|
| 977 | - | # The value of this must be an absolute value or one of the special values |
|
| 978 | - | # below: |
|
| 979 | - | # |
|
| 980 | - | # * `home` - The home directory of the executing user. |
|
| 981 | - | # |
|
| 982 | - | # * `inherit` - The working directory of the launching process. |
|
| 983 | - | working-directory = |
|
| 984 | - | ||
| 985 | - | # Key bindings. The format is `trigger=action`. Duplicate triggers will |
|
| 986 | - | # overwrite previously set values. The list of actions is available in |
|
| 987 | - | # the documentation or using the `ghostty +list-actions` command. |
|
| 988 | - | # |
|
| 989 | - | # Trigger: `+`-separated list of keys and modifiers. Example: `ctrl+a`, |
|
| 990 | - | # `ctrl+shift+b`, `up`. Some notes: |
|
| 991 | - | # |
|
| 992 | - | # * modifiers cannot repeat, `ctrl+ctrl+a` is invalid. |
|
| 993 | - | # |
|
| 994 | - | # * modifiers and keys can be in any order, `shift+a+ctrl` is *weird*, |
|
| 995 | - | # but valid. |
|
| 996 | - | # |
|
| 997 | - | # * only a single key input is allowed, `ctrl+a+b` is invalid. |
|
| 998 | - | # |
|
| 999 | - | # * the key input can be prefixed with `physical:` to specify a |
|
| 1000 | - | # physical key mapping rather than a logical one. A physical key |
|
| 1001 | - | # mapping responds to the hardware keycode and not the keycode |
|
| 1002 | - | # translated by any system keyboard layouts. Example: "ctrl+physical:a" |
|
| 1003 | - | # |
|
| 1004 | - | # Valid modifiers are `shift`, `ctrl` (alias: `control`), `alt` (alias: `opt`, |
|
| 1005 | - | # `option`), and `super` (alias: `cmd`, `command`). You may use the modifier |
|
| 1006 | - | # or the alias. When debugging keybinds, the non-aliased modifier will always |
|
| 1007 | - | # be used in output. |
|
| 1008 | - | # |
|
| 1009 | - | # Note: The fn or "globe" key on keyboards are not supported as a |
|
| 1010 | - | # modifier. This is a limitation of the operating systems and GUI toolkits |
|
| 1011 | - | # that Ghostty uses. |
|
| 1012 | - | # |
|
| 1013 | - | # You may also specify multiple triggers separated by `>` to require a |
|
| 1014 | - | # sequence of triggers to activate the action. For example, |
|
| 1015 | - | # `ctrl+a>n=new_window` will only trigger the `new_window` action if the |
|
| 1016 | - | # user presses `ctrl+a` followed separately by `n`. In other software, this |
|
| 1017 | - | # is sometimes called a leader key, a key chord, a key table, etc. There |
|
| 1018 | - | # is no hardcoded limit on the number of parts in a sequence. |
|
| 1019 | - | # |
|
| 1020 | - | # Warning: If you define a sequence as a CLI argument to `ghostty`, |
|
| 1021 | - | # you probably have to quote the keybind since `>` is a special character |
|
| 1022 | - | # in most shells. Example: ghostty --keybind='ctrl+a>n=new_window' |
|
| 1023 | - | # |
|
| 1024 | - | # A trigger sequence has some special handling: |
|
| 1025 | - | # |
|
| 1026 | - | # * Ghostty will wait an indefinite amount of time for the next key in |
|
| 1027 | - | # the sequence. There is no way to specify a timeout. The only way to |
|
| 1028 | - | # force the output of a prefix key is to assign another keybind to |
|
| 1029 | - | # specifically output that key (i.e. `ctrl+a>ctrl+a=text:foo`) or |
|
| 1030 | - | # press an unbound key which will send both keys to the program. |
|
| 1031 | - | # |
|
| 1032 | - | # * If a prefix in a sequence is previously bound, the sequence will |
|
| 1033 | - | # override the previous binding. For example, if `ctrl+a` is bound to |
|
| 1034 | - | # `new_window` and `ctrl+a>n` is bound to `new_tab`, pressing `ctrl+a` |
|
| 1035 | - | # will do nothing. |
|
| 1036 | - | # |
|
| 1037 | - | # * Adding to the above, if a previously bound sequence prefix is |
|
| 1038 | - | # used in a new, non-sequence binding, the entire previously bound |
|
| 1039 | - | # sequence will be unbound. For example, if you bind `ctrl+a>n` and |
|
| 1040 | - | # `ctrl+a>t`, and then bind `ctrl+a` directly, both `ctrl+a>n` and |
|
| 1041 | - | # `ctrl+a>t` will become unbound. |
|
| 1042 | - | # |
|
| 1043 | - | # * Trigger sequences are not allowed for `global:` or `all:`-prefixed |
|
| 1044 | - | # triggers. This is a limitation we could remove in the future. |
|
| 1045 | - | # |
|
| 1046 | - | # Action is the action to take when the trigger is satisfied. It takes the |
|
| 1047 | - | # format `action` or `action:param`. The latter form is only valid if the |
|
| 1048 | - | # action requires a parameter. |
|
| 1049 | - | # |
|
| 1050 | - | # * `ignore` - Do nothing, ignore the key input. This can be used to |
|
| 1051 | - | # black hole certain inputs to have no effect. |
|
| 1052 | - | # |
|
| 1053 | - | # * `unbind` - Remove the binding. This makes it so the previous action |
|
| 1054 | - | # is removed, and the key will be sent through to the child command |
|
| 1055 | - | # if it is printable. |
|
| 1056 | - | # |
|
| 1057 | - | # * `csi:text` - Send a CSI sequence. i.e. `csi:A` sends "cursor up". |
|
| 1058 | - | # |
|
| 1059 | - | # * `esc:text` - Send an escape sequence. i.e. `esc:d` deletes to the |
|
| 1060 | - | # end of the word to the right. |
|
| 1061 | - | # |
|
| 1062 | - | # * `text:text` - Send a string. Uses Zig string literal syntax. |
|
| 1063 | - | # i.e. `text:\x15` sends Ctrl-U. |
|
| 1064 | - | # |
|
| 1065 | - | # * All other actions can be found in the documentation or by using the |
|
| 1066 | - | # `ghostty +list-actions` command. |
|
| 1067 | - | # |
|
| 1068 | - | # Some notes for the action: |
|
| 1069 | - | # |
|
| 1070 | - | # * The parameter is taken as-is after the `:`. Double quotes or |
|
| 1071 | - | # other mechanisms are included and NOT parsed. If you want to |
|
| 1072 | - | # send a string value that includes spaces, wrap the entire |
|
| 1073 | - | # trigger/action in double quotes. Example: `--keybind="up=csi:A B"` |
|
| 1074 | - | # |
|
| 1075 | - | # There are some additional special values that can be specified for |
|
| 1076 | - | # keybind: |
|
| 1077 | - | # |
|
| 1078 | - | # * `keybind=clear` will clear all set keybindings. Warning: this |
|
| 1079 | - | # removes ALL keybindings up to this point, including the default |
|
| 1080 | - | # keybindings. |
|
| 1081 | - | # |
|
| 1082 | - | # The keybind trigger can be prefixed with some special values to change |
|
| 1083 | - | # the behavior of the keybind. These are: |
|
| 1084 | - | # |
|
| 1085 | - | # * `all:` - Make the keybind apply to all terminal surfaces. By default, |
|
| 1086 | - | # keybinds only apply to the focused terminal surface. If this is true, |
|
| 1087 | - | # then the keybind will be sent to all terminal surfaces. This only |
|
| 1088 | - | # applies to actions that are surface-specific. For actions that |
|
| 1089 | - | # are already global (i.e. `quit`), this prefix has no effect. |
|
| 1090 | - | # |
|
| 1091 | - | # * `global:` - Make the keybind global. By default, keybinds only work |
|
| 1092 | - | # within Ghostty and under the right conditions (application focused, |
|
| 1093 | - | # sometimes terminal focused, etc.). If you want a keybind to work |
|
| 1094 | - | # globally across your system (i.e. even when Ghostty is not focused), |
|
| 1095 | - | # specify this prefix. This prefix implies `all:`. Note: this does not |
|
| 1096 | - | # work in all environments; see the additional notes below for more |
|
| 1097 | - | # information. |
|
| 1098 | - | # |
|
| 1099 | - | # * `unconsumed:` - Do not consume the input. By default, a keybind |
|
| 1100 | - | # will consume the input, meaning that the associated encoding (if |
|
| 1101 | - | # any) will not be sent to the running program in the terminal. If |
|
| 1102 | - | # you wish to send the encoded value to the program, specify the |
|
| 1103 | - | # `unconsumed:` prefix before the entire keybind. For example: |
|
| 1104 | - | # `unconsumed:ctrl+a=reload_config`. `global:` and `all:`-prefixed |
|
| 1105 | - | # keybinds will always consume the input regardless of this setting. |
|
| 1106 | - | # Since they are not associated with a specific terminal surface, |
|
| 1107 | - | # they're never encoded. |
|
| 1108 | - | # |
|
| 1109 | - | # Keybind triggers are not unique per prefix combination. For example, |
|
| 1110 | - | # `ctrl+a` and `global:ctrl+a` are not two separate keybinds. The keybind |
|
| 1111 | - | # set later will overwrite the keybind set earlier. In this case, the |
|
| 1112 | - | # `global:` keybind will be used. |
|
| 1113 | - | # |
|
| 1114 | - | # Multiple prefixes can be specified. For example, |
|
| 1115 | - | # `global:unconsumed:ctrl+a=reload_config` will make the keybind global |
|
| 1116 | - | # and not consume the input to reload the config. |
|
| 1117 | - | # |
|
| 1118 | - | # Note: `global:` is only supported on macOS. On macOS, |
|
| 1119 | - | # this feature requires accessibility permissions to be granted to Ghostty. |
|
| 1120 | - | # When a `global:` keybind is specified and Ghostty is launched or reloaded, |
|
| 1121 | - | # Ghostty will attempt to request these permissions. If the permissions are |
|
| 1122 | - | # not granted, the keybind will not work. On macOS, you can find these |
|
| 1123 | - | # permissions in System Preferences -> Privacy & Security -> Accessibility. |
|
| 1124 | - | keybind = super+page_up=scroll_page_up |
|
| 1125 | - | keybind = super+ctrl+equal=equalize_splits |
|
| 1126 | - | keybind = super+physical:four=goto_tab:4 |
|
| 1127 | - | keybind = super+shift+down=jump_to_prompt:1 |
|
| 1128 | - | keybind = super+shift+w=close_window |
|
| 1129 | - | keybind = super+shift+left_bracket=previous_tab |
|
| 1130 | - | keybind = super+alt+i=inspector:toggle |
|
| 1131 | - | keybind = super+w=close_surface |
|
| 1132 | - | keybind = super+physical:eight=goto_tab:8 |
|
| 1133 | - | keybind = super+alt+right=goto_split:right |
|
| 1134 | - | keybind = shift+up=adjust_selection:up |
|
| 1135 | - | keybind = super+down=jump_to_prompt:1 |
|
| 1136 | - | keybind = super+enter=toggle_fullscreen |
|
| 1137 | - | keybind = super+t=new_tab |
|
| 1138 | - | keybind = super+c=copy_to_clipboard |
|
| 1139 | - | keybind = super+shift+right_bracket=next_tab |
|
| 1140 | - | keybind = super+physical:one=goto_tab:1 |
|
| 1141 | - | keybind = shift+left=adjust_selection:left |
|
| 1142 | - | keybind = super+equal=increase_font_size:1 |
|
| 1143 | - | keybind = shift+page_up=adjust_selection:page_up |
|
| 1144 | - | keybind = super+physical:three=goto_tab:3 |
|
| 1145 | - | keybind = super+physical:zero=last_tab |
|
| 1146 | - | keybind = super+right=text:\x05 |
|
| 1147 | - | keybind = super+d=new_split:right |
|
| 1148 | - | keybind = super+ctrl+down=resize_split:down,10 |
|
| 1149 | - | keybind = shift+end=adjust_selection:end |
|
| 1150 | - | keybind = super+plus=increase_font_size:1 |
|
| 1151 | - | keybind = super+q=quit |
|
| 1152 | - | keybind = super+home=scroll_to_top |
|
| 1153 | - | keybind = super+ctrl+left=resize_split:left,10 |
|
| 1154 | - | keybind = alt+left=esc:b |
|
| 1155 | - | keybind = super+ctrl+up=resize_split:up,10 |
|
| 1156 | - | keybind = super+left=text:\x01 |
|
| 1157 | - | keybind = super+shift+up=jump_to_prompt:-1 |
|
| 1158 | - | keybind = shift+right=adjust_selection:right |
|
| 1159 | - | keybind = super+comma=open_config |
|
| 1160 | - | keybind = super+shift+comma=reload_config |
|
| 1161 | - | keybind = super+minus=decrease_font_size:1 |
|
| 1162 | - | keybind = shift+page_down=adjust_selection:page_down |
|
| 1163 | - | keybind = ctrl+tab=next_tab |
|
| 1164 | - | keybind = super+a=select_all |
|
| 1165 | - | keybind = alt+right=esc:f |
|
| 1166 | - | keybind = super+shift+enter=toggle_split_zoom |
|
| 1167 | - | keybind = super+alt+down=goto_split:bottom |
|
| 1168 | - | keybind = super+ctrl+f=toggle_fullscreen |
|
| 1169 | - | keybind = super+ctrl+right=resize_split:right,10 |
|
| 1170 | - | keybind = super+alt+shift+j=write_scrollback_file:open |
|
| 1171 | - | keybind = shift+down=adjust_selection:down |
|
| 1172 | - | keybind = ctrl+shift+tab=previous_tab |
|
| 1173 | - | keybind = super+n=new_window |
|
| 1174 | - | keybind = super+alt+left=goto_split:left |
|
| 1175 | - | keybind = super+page_down=scroll_page_down |
|
| 1176 | - | keybind = super+alt+shift+w=close_all_windows |
|
| 1177 | - | keybind = super+alt+up=goto_split:top |
|
| 1178 | - | keybind = super+left_bracket=goto_split:previous |
|
| 1179 | - | keybind = super+physical:nine=goto_tab:9 |
|
| 1180 | - | keybind = super+right_bracket=goto_split:next |
|
| 1181 | - | keybind = super+end=scroll_to_bottom |
|
| 1182 | - | keybind = super+shift+j=write_scrollback_file:paste |
|
| 1183 | - | keybind = super+shift+d=new_split:down |
|
| 1184 | - | keybind = super+zero=reset_font_size |
|
| 1185 | - | keybind = super+physical:five=goto_tab:5 |
|
| 1186 | - | keybind = shift+home=adjust_selection:home |
|
| 1187 | - | keybind = super+physical:seven=goto_tab:7 |
|
| 1188 | - | keybind = super+up=jump_to_prompt:-1 |
|
| 1189 | - | keybind = super+k=clear_screen |
|
| 1190 | - | keybind = super+physical:two=goto_tab:2 |
|
| 1191 | - | keybind = super+physical:six=goto_tab:6 |
|
| 1192 | - | keybind = super+v=paste_from_clipboard |
|
| 1193 | - | ||
| 1194 | - | # Horizontal window padding. This applies padding between the terminal cells |
|
| 1195 | - | # and the left and right window borders. The value is in points, meaning that |
|
| 1196 | - | # it will be scaled appropriately for screen DPI. |
|
| 1197 | - | # |
|
| 1198 | - | # If this value is set too large, the screen will render nothing, because the |
|
| 1199 | - | # grid will be completely squished by the padding. It is up to you as the user |
|
| 1200 | - | # to pick a reasonable value. If you pick an unreasonable value, a warning |
|
| 1201 | - | # will appear in the logs. |
|
| 1202 | - | # |
|
| 1203 | - | # Changing this configuration at runtime will only affect new terminals, i.e. |
|
| 1204 | - | # new windows, tabs, etc. |
|
| 1205 | - | # |
|
| 1206 | - | # To set a different left and right padding, specify two numerical values |
|
| 1207 | - | # separated by a comma. For example, `window-padding-x = 2,4` will set the |
|
| 1208 | - | # left padding to 2 and the right padding to 4. If you want to set both |
|
| 1209 | - | # paddings to the same value, you can use a single value. For example, |
|
| 1210 | - | # `window-padding-x = 2` will set both paddings to 2. |
|
| 1211 | - | window-padding-x = 6 |
|
| 1212 | - | ||
| 1213 | - | # Vertical window padding. This applies padding between the terminal cells and |
|
| 1214 | - | # the top and bottom window borders. The value is in points, meaning that it |
|
| 1215 | - | # will be scaled appropriately for screen DPI. |
|
| 1216 | - | # |
|
| 1217 | - | # If this value is set too large, the screen will render nothing, because the |
|
| 1218 | - | # grid will be completely squished by the padding. It is up to you as the user |
|
| 1219 | - | # to pick a reasonable value. If you pick an unreasonable value, a warning |
|
| 1220 | - | # will appear in the logs. |
|
| 1221 | - | # |
|
| 1222 | - | # Changing this configuration at runtime will only affect new terminals, |
|
| 1223 | - | # i.e. new windows, tabs, etc. |
|
| 1224 | - | # |
|
| 1225 | - | # To set a different top and bottom padding, specify two numerical values |
|
| 1226 | - | # separated by a comma. For example, `window-padding-y = 2,4` will set the |
|
| 1227 | - | # top padding to 2 and the bottom padding to 4. If you want to set both |
|
| 1228 | - | # paddings to the same value, you can use a single value. For example, |
|
| 1229 | - | # `window-padding-y = 2` will set both paddings to 2. |
|
| 1230 | - | window-padding-y = 2 |
|
| 1231 | - | ||
| 1232 | - | # The viewport dimensions are usually not perfectly divisible by the cell |
|
| 1233 | - | # size. In this case, some extra padding on the end of a column and the bottom |
|
| 1234 | - | # of the final row may exist. If this is `true`, then this extra padding |
|
| 1235 | - | # is automatically balanced between all four edges to minimize imbalance on |
|
| 1236 | - | # one side. If this is `false`, the top left grid cell will always hug the |
|
| 1237 | - | # edge with zero padding other than what may be specified with the other |
|
| 1238 | - | # `window-padding` options. |
|
| 1239 | - | # |
|
| 1240 | - | # If other `window-padding` fields are set and this is `true`, this will still |
|
| 1241 | - | # apply. The other padding is applied first and may affect how many grid cells |
|
| 1242 | - | # actually exist, and this is applied last in order to balance the padding |
|
| 1243 | - | # given a certain viewport size and grid cell size. |
|
| 1244 | - | window-padding-balance = false |
|
| 1245 | - | ||
| 1246 | - | # The color of the padding area of the window. Valid values are: |
|
| 1247 | - | # |
|
| 1248 | - | # * `background` - The background color specified in `background`. |
|
| 1249 | - | # * `extend` - Extend the background color of the nearest grid cell. |
|
| 1250 | - | # * `extend-always` - Same as "extend" but always extends without applying |
|
| 1251 | - | # any of the heuristics that disable extending noted below. |
|
| 1252 | - | # |
|
| 1253 | - | # The "extend" value will be disabled in certain scenarios. On primary |
|
| 1254 | - | # screen applications (i.e. not something like Neovim), the color will not |
|
| 1255 | - | # be extended vertically if any of the following are true: |
|
| 1256 | - | # |
|
| 1257 | - | # * The nearest row has any cells that have the default background color. |
|
| 1258 | - | # The thinking is that in this case, the default background color looks |
|
| 1259 | - | # fine as a padding color. |
|
| 1260 | - | # * The nearest row is a prompt row (requires shell integration). The |
|
| 1261 | - | # thinking here is that prompts often contain powerline glyphs that |
|
| 1262 | - | # do not look good extended. |
|
| 1263 | - | # * The nearest row contains a perfect fit powerline character. These |
|
| 1264 | - | # don't look good extended. |
|
| 1265 | - | # |
|
| 1266 | - | window-padding-color = background |
|
| 1267 | - | ||
| 1268 | - | # Synchronize rendering with the screen refresh rate. If true, this will |
|
| 1269 | - | # minimize tearing and align redraws with the screen but may cause input |
|
| 1270 | - | # latency. If false, this will maximize redraw frequency but may cause tearing, |
|
| 1271 | - | # and under heavy load may use more CPU and power. |
|
| 1272 | - | # |
|
| 1273 | - | # This defaults to true because out-of-sync rendering on macOS can |
|
| 1274 | - | # cause kernel panics (macOS 14.4+) and performance issues for external |
|
| 1275 | - | # displays over some hardware such as DisplayLink. If you want to minimize |
|
| 1276 | - | # input latency, set this to false with the known aforementioned risks. |
|
| 1277 | - | # |
|
| 1278 | - | # Changing this value at runtime will only affect new terminals. |
|
| 1279 | - | # |
|
| 1280 | - | # This setting is only supported currently on macOS. |
|
| 1281 | - | window-vsync = true |
|
| 1282 | - | ||
| 1283 | - | # If true, new windows and tabs will inherit the working directory of the |
|
| 1284 | - | # previously focused window. If no window was previously focused, the default |
|
| 1285 | - | # working directory will be used (the `working-directory` option). |
|
| 1286 | - | window-inherit-working-directory = true |
|
| 1287 | - | ||
| 1288 | - | # If true, new windows and tabs will inherit the font size of the previously |
|
| 1289 | - | # focused window. If no window was previously focused, the default font size |
|
| 1290 | - | # will be used. If this is false, the default font size specified in the |
|
| 1291 | - | # configuration `font-size` will be used. |
|
| 1292 | - | window-inherit-font-size = true |
|
| 1293 | - | ||
| 1294 | - | # Valid values: |
|
| 1295 | - | # |
|
| 1296 | - | # * `true` |
|
| 1297 | - | # * `false` - windows won't have native decorations, i.e. titlebar and |
|
| 1298 | - | # borders. On macOS this also disables tabs and tab overview. |
|
| 1299 | - | # |
|
| 1300 | - | # The "toggle_window_decorations" keybind action can be used to create |
|
| 1301 | - | # a keybinding to toggle this setting at runtime. |
|
| 1302 | - | # |
|
| 1303 | - | # Changing this configuration in your configuration and reloading will |
|
| 1304 | - | # only affect new windows. Existing windows will not be affected. |
|
| 1305 | - | # |
|
| 1306 | - | # macOS: To hide the titlebar without removing the native window borders |
|
| 1307 | - | # or rounded corners, use `mghostty +show-config --default --docsacos-titlebar-style = hidden` instead. |
|
| 1308 | - | window-decoration = true |
|
| 1309 | - | ||
| 1310 | - | # The font that will be used for the application's window and tab titles. |
|
| 1311 | - | # |
|
| 1312 | - | # This is currently only supported on macOS. |
|
| 1313 | - | window-title-font-family = |
|
| 1314 | - | ||
| 1315 | - | # The theme to use for the windows. Valid values: |
|
| 1316 | - | # |
|
| 1317 | - | # * `auto` - Determine the theme based on the configured terminal |
|
| 1318 | - | # background color. This has no effect if the "theme" configuration |
|
| 1319 | - | # has separate light and dark themes. In that case, the behavior |
|
| 1320 | - | # of "auto" is equivalent to "system". |
|
| 1321 | - | # * `system` - Use the system theme. |
|
| 1322 | - | # * `light` - Use the light theme regardless of system theme. |
|
| 1323 | - | # * `dark` - Use the dark theme regardless of system theme. |
|
| 1324 | - | # * `ghostty` - Use the background and foreground colors specified in the |
|
| 1325 | - | # Ghostty configuration. This is only supported on Linux builds with |
|
| 1326 | - | # Adwaita and `gtk-adwaita` enabled. |
|
| 1327 | - | # |
|
| 1328 | - | # On macOS, if `macos-titlebar-style` is "tabs", the window theme will be |
|
| 1329 | - | # automatically set based on the luminosity of the terminal background color. |
|
| 1330 | - | # This only applies to terminal windows. This setting will still apply to |
|
| 1331 | - | # non-terminal windows within Ghostty. |
|
| 1332 | - | # |
|
| 1333 | - | # This is currently only supported on macOS and Linux. |
|
| 1334 | - | window-theme = auto |
|
| 1335 | - | ||
| 1336 | - | # The colorspace to use for the terminal window. The default is `srgb` but |
|
| 1337 | - | # this can also be set to `display-p3` to use the Display P3 colorspace. |
|
| 1338 | - | # |
|
| 1339 | - | # Changing this value at runtime will only affect new windows. |
|
| 1340 | - | # |
|
| 1341 | - | # This setting is only supported on macOS. |
|
| 1342 | - | window-colorspace = srgb |
|
| 1343 | - | ||
| 1344 | - | # The initial window size. This size is in terminal grid cells by default. |
|
| 1345 | - | # Both values must be set to take effect. If only one value is set, it is |
|
| 1346 | - | # ignored. |
|
| 1347 | - | # |
|
| 1348 | - | # We don't currently support specifying a size in pixels but a future change |
|
| 1349 | - | # can enable that. If this isn't specified, the app runtime will determine |
|
| 1350 | - | # some default size. |
|
| 1351 | - | # |
|
| 1352 | - | # Note that the window manager may put limits on the size or override the |
|
| 1353 | - | # size. For example, a tiling window manager may force the window to be a |
|
| 1354 | - | # certain size to fit within the grid. There is nothing Ghostty will do about |
|
| 1355 | - | # this, but it will make an effort. |
|
| 1356 | - | # |
|
| 1357 | - | # Sizes larger than the screen size will be clamped to the screen size. |
|
| 1358 | - | # This can be used to create a maximized-by-default window size. |
|
| 1359 | - | # |
|
| 1360 | - | # This will not affect new tabs, splits, or other nested terminal elements. |
|
| 1361 | - | # This only affects the initial window size of any new window. Changing this |
|
| 1362 | - | # value will not affect the size of the window after it has been created. This |
|
| 1363 | - | # is only used for the initial size. |
|
| 1364 | - | # |
|
| 1365 | - | # BUG: On Linux with GTK, the calculated window size will not properly take |
|
| 1366 | - | # into account window decorations. As a result, the grid dimensions will not |
|
| 1367 | - | # exactly match this configuration. If window decorations are disabled (see |
|
| 1368 | - | # window-decorations), then this will work as expected. |
|
| 1369 | - | # |
|
| 1370 | - | # Windows smaller than 10 wide by 4 high are not allowed. |
|
| 1371 | - | window-height = 0 |
|
| 1372 | - | ||
| 1373 | - | window-width = 0 |
|
| 1374 | - | # Whether to enable saving and restoring window state. Window state includes |
|
| 1375 | - | # their position, size, tabs, splits, etc. Some window state requires shell |
|
| 1376 | - | # integration, such as preserving working directories. See `shell-integration` |
|
| 1377 | - | # for more information. |
|
| 1378 | - | # |
|
| 1379 | - | # There are three valid values for this configuration: |
|
| 1380 | - | # |
|
| 1381 | - | # * `default` will use the default system behavior. On macOS, this |
|
| 1382 | - | # will only save state if the application is forcibly terminated |
|
| 1383 | - | # or if it is configured systemwide via Settings.app. |
|
| 1384 | - | # |
|
| 1385 | - | # * `never` will never save window state. |
|
| 1386 | - | # |
|
| 1387 | - | # * `always` will always save window state whenever Ghostty is exited. |
|
| 1388 | - | # |
|
| 1389 | - | # If you change this value to `never` while Ghostty is not running, the next |
|
| 1390 | - | # Ghostty launch will NOT restore the window state. |
|
| 1391 | - | # |
|
| 1392 | - | # If you change this value to `default` while Ghostty is not running and the |
|
| 1393 | - | # previous exit saved state, the next Ghostty launch will still restore the |
|
| 1394 | - | # window state. This is because Ghostty cannot know if the previous exit was |
|
| 1395 | - | # due to a forced save or not (macOS doesn't provide this information). |
|
| 1396 | - | # |
|
| 1397 | - | # If you change this value so that window state is saved while Ghostty is not |
|
| 1398 | - | # running, the previous window state will not be restored because Ghostty only |
|
| 1399 | - | # saves state on exit if this is enabled. |
|
| 1400 | - | # |
|
| 1401 | - | # The default value is `default`. |
|
| 1402 | - | # |
|
| 1403 | - | # This is currently only supported on macOS. This has no effect on Linux. |
|
| 1404 | - | window-save-state = default |
|
| 1405 | - | ||
| 1406 | - | # Resize the window in discrete increments of the focused surface's cell size. |
|
| 1407 | - | # If this is disabled, surfaces are resized in pixel increments. Currently |
|
| 1408 | - | # only supported on macOS. |
|
| 1409 | - | window-step-resize = false |
|
| 1410 | - | ||
| 1411 | - | # The position where new tabs are created. Valid values: |
|
| 1412 | - | # |
|
| 1413 | - | # * `current` - Insert the new tab after the currently focused tab, |
|
| 1414 | - | # or at the end if there are no focused tabs. |
|
| 1415 | - | # |
|
| 1416 | - | # * `end` - Insert the new tab at the end of the tab list. |
|
| 1417 | - | window-new-tab-position = current |
|
| 1418 | - | ||
| 1419 | - | # This controls when resize overlays are shown. Resize overlays are a |
|
| 1420 | - | # transient popup that shows the size of the terminal while the surfaces are |
|
| 1421 | - | # being resized. The possible options are: |
|
| 1422 | - | # |
|
| 1423 | - | # * `always` - Always show resize overlays. |
|
| 1424 | - | # * `never` - Never show resize overlays. |
|
| 1425 | - | # * `after-first` - The resize overlay will not appear when the surface |
|
| 1426 | - | # is first created, but will show up if the surface is |
|
| 1427 | - | # subsequently resized. |
|
| 1428 | - | # |
|
| 1429 | - | # The default is `after-first`. |
|
| 1430 | - | resize-overlay = after-first |
|
| 1431 | - | ||
| 1432 | - | # If resize overlays are enabled, this controls the position of the overlay. |
|
| 1433 | - | # The possible options are: |
|
| 1434 | - | # |
|
| 1435 | - | # * `center` |
|
| 1436 | - | # * `top-left` |
|
| 1437 | - | # * `top-center` |
|
| 1438 | - | # * `top-right` |
|
| 1439 | - | # * `bottom-left` |
|
| 1440 | - | # * `bottom-center` |
|
| 1441 | - | # * `bottom-right` |
|
| 1442 | - | # |
|
| 1443 | - | # The default is `center`. |
|
| 1444 | - | resize-overlay-position = center |
|
| 1445 | - | ||
| 1446 | - | # If resize overlays are enabled, this controls how long the overlay is |
|
| 1447 | - | # visible on the screen before it is hidden. The default is ¾ of a second or |
|
| 1448 | - | # 750 ms. |
|
| 1449 | - | # |
|
| 1450 | - | # The duration is specified as a series of numbers followed by time units. |
|
| 1451 | - | # Whitespace is allowed between numbers and units. Each number and unit will |
|
| 1452 | - | # be added together to form the total duration. |
|
| 1453 | - | # |
|
| 1454 | - | # The allowed time units are as follows: |
|
| 1455 | - | # |
|
| 1456 | - | # * `y` - 365 SI days, or 8760 hours, or 31536000 seconds. No adjustments |
|
| 1457 | - | # are made for leap years or leap seconds. |
|
| 1458 | - | # * `d` - one SI day, or 86400 seconds. |
|
| 1459 | - | # * `h` - one hour, or 3600 seconds. |
|
| 1460 | - | # * `m` - one minute, or 60 seconds. |
|
| 1461 | - | # * `s` - one second. |
|
| 1462 | - | # * `ms` - one millisecond, or 0.001 second. |
|
| 1463 | - | # * `us` or `µs` - one microsecond, or 0.000001 second. |
|
| 1464 | - | # * `ns` - one nanosecond, or 0.000000001 second. |
|
| 1465 | - | # |
|
| 1466 | - | # Examples: |
|
| 1467 | - | # * `1h30m` |
|
| 1468 | - | # * `45s` |
|
| 1469 | - | # |
|
| 1470 | - | # Units can be repeated and will be added together. This means that |
|
| 1471 | - | # `1h1h` is equivalent to `2h`. This is confusing and should be avoided. |
|
| 1472 | - | # A future update may disallow this. |
|
| 1473 | - | # |
|
| 1474 | - | # The maximum value is `584y 49w 23h 34m 33s 709ms 551µs 615ns`. Any |
|
| 1475 | - | # value larger than this will be clamped to the maximum value. |
|
| 1476 | - | resize-overlay-duration = 750ms |
|
| 1477 | - | ||
| 1478 | - | focus-follows-mouse = false |
|
| 1479 | - | # Whether to allow programs running in the terminal to read/write to the |
|
| 1480 | - | # system clipboard (OSC 52, for googling). The default is to allow clipboard |
|
| 1481 | - | # reading after prompting the user and allow writing unconditionally. |
|
| 1482 | - | # |
|
| 1483 | - | # Valid values are: |
|
| 1484 | - | # |
|
| 1485 | - | # * `ask` |
|
| 1486 | - | # * `allow` |
|
| 1487 | - | # * `deny` |
|
| 1488 | - | # |
|
| 1489 | - | clipboard-read = ask |
|
| 1490 | - | ||
| 1491 | - | clipboard-write = allow |
|
| 1492 | - | # Trims trailing whitespace on data that is copied to the clipboard. This does |
|
| 1493 | - | # not affect data sent to the clipboard via `clipboard-write`. |
|
| 1494 | - | clipboard-trim-trailing-spaces = true |
|
| 1495 | - | ||
| 1496 | - | # Require confirmation before pasting text that appears unsafe. This helps |
|
| 1497 | - | # prevent a "copy/paste attack" where a user may accidentally execute unsafe |
|
| 1498 | - | # commands by pasting text with newlines. |
|
| 1499 | - | clipboard-paste-protection = true |
|
| 1500 | - | ||
| 1501 | - | # If true, bracketed pastes will be considered safe. By default, bracketed |
|
| 1502 | - | # pastes are considered safe. "Bracketed" pastes are pastes while the running |
|
| 1503 | - | # program has bracketed paste mode enabled (a setting set by the running |
|
| 1504 | - | # program, not the terminal emulator). |
|
| 1505 | - | clipboard-paste-bracketed-safe = true |
|
| 1506 | - | ||
| 1507 | - | # The total amount of bytes that can be used for image data (i.e. the Kitty |
|
| 1508 | - | # image protocol) per terminal screen. The maximum value is 4,294,967,295 |
|
| 1509 | - | # (4GiB). The default is 320MB. If this is set to zero, then all image |
|
| 1510 | - | # protocols will be disabled. |
|
| 1511 | - | # |
|
| 1512 | - | # This value is separate for primary and alternate screens so the effective |
|
| 1513 | - | # limit per surface is double. |
|
| 1514 | - | image-storage-limit = 320000000 |
|
| 1515 | - | ||
| 1516 | - | # Whether to automatically copy selected text to the clipboard. `true` |
|
| 1517 | - | # will prefer to copy to the selection clipboard if supported by the |
|
| 1518 | - | # OS, otherwise it will copy to the system clipboard. |
|
| 1519 | - | # |
|
| 1520 | - | # The value `clipboard` will always copy text to the selection clipboard |
|
| 1521 | - | # (for supported systems) as well as the system clipboard. This is sometimes |
|
| 1522 | - | # a preferred behavior on Linux. |
|
| 1523 | - | # |
|
| 1524 | - | # Middle-click paste will always use the selection clipboard on Linux |
|
| 1525 | - | # and the system clipboard on macOS. Middle-click paste is always enabled |
|
| 1526 | - | # even if this is `false`. |
|
| 1527 | - | # |
|
| 1528 | - | # The default value is true on Linux and false on macOS. macOS copy on |
|
| 1529 | - | # select behavior is not typical for applications so it is disabled by |
|
| 1530 | - | # default. On Linux, this is a standard behavior so it is enabled by |
|
| 1531 | - | # default. |
|
| 1532 | - | copy-on-select = false |
|
| 1533 | - | ||
| 1534 | - | # The time in milliseconds between clicks to consider a click a repeat |
|
| 1535 | - | # (double, triple, etc.) or an entirely new single click. A value of zero will |
|
| 1536 | - | # use a platform-specific default. The default on macOS is determined by the |
|
| 1537 | - | # OS settings. On every other platform it is 500ms. |
|
| 1538 | - | click-repeat-interval = 0 |
|
| 1539 | - | ||
| 1540 | - | # Additional configuration files to read. This configuration can be repeated |
|
| 1541 | - | # to read multiple configuration files. Configuration files themselves can |
|
| 1542 | - | # load more configuration files. Paths are relative to the file containing the |
|
| 1543 | - | # `config-file` directive. For command-line arguments, paths are relative to |
|
| 1544 | - | # the current working directory. |
|
| 1545 | - | # |
|
| 1546 | - | # Prepend a ? character to the file path to suppress errors if the file does |
|
| 1547 | - | # not exist. If you want to include a file that begins with a literal ? |
|
| 1548 | - | # character, surround the file path in double quotes ("). |
|
| 1549 | - | # |
|
| 1550 | - | # Cycles are not allowed. If a cycle is detected, an error will be logged and |
|
| 1551 | - | # the configuration file will be ignored. |
|
| 1552 | - | # |
|
| 1553 | - | # Configuration files are loaded after the configuration they're defined |
|
| 1554 | - | # within in the order they're defined. **THIS IS A VERY SUBTLE BUT IMPORTANT |
|
| 1555 | - | # POINT.** To put it another way: configuration files do not take effect |
|
| 1556 | - | # until after the entire configuration is loaded. For example, in the |
|
| 1557 | - | # configuration below: |
|
| 1558 | - | # |
|
| 1559 | - | # ``` |
|
| 1560 | - | # config-file = "foo" |
|
| 1561 | - | # a = 1 |
|
| 1562 | - | # ``` |
|
| 1563 | - | # |
|
| 1564 | - | # If "foo" contains `a = 2`, the final value of `a` will be 2, because |
|
| 1565 | - | # `foo` is loaded after the configuration file that configures the |
|
| 1566 | - | # nested `config-file` value. |
|
| 1567 | - | config-file = |
|
| 1568 | - | ||
| 1569 | - | # When this is true, the default configuration file paths will be loaded. |
|
| 1570 | - | # The default configuration file paths are currently only the XDG |
|
| 1571 | - | # config path ($XDG_CONFIG_HOME/ghostty/config). |
|
| 1572 | - | # |
|
| 1573 | - | # If this is false, the default configuration paths will not be loaded. |
|
| 1574 | - | # This is targeted directly at using Ghostty from the CLI in a way |
|
| 1575 | - | # that minimizes external effects. |
|
| 1576 | - | # |
|
| 1577 | - | # This is a CLI-only configuration. Setting this in a configuration file |
|
| 1578 | - | # will have no effect. It is not an error, but it will not do anything. |
|
| 1579 | - | # This configuration can only be set via CLI arguments. |
|
| 1580 | - | config-default-files = true |
|
| 1581 | - | ||
| 1582 | - | # Confirms that a surface should be closed before closing it. This defaults to |
|
| 1583 | - | # true. If set to false, surfaces will close without any confirmation. |
|
| 1584 | - | confirm-close-surface = true |
|
| 1585 | - | ||
| 1586 | - | # Whether or not to quit after the last surface is closed. |
|
| 1587 | - | # |
|
| 1588 | - | # This defaults to `false` on macOS since that is standard behavior for |
|
| 1589 | - | # a macOS application. On Linux, this defaults to `true` since that is |
|
| 1590 | - | # generally expected behavior. |
|
| 1591 | - | # |
|
| 1592 | - | # On Linux, if this is `true`, Ghostty can delay quitting fully until a |
|
| 1593 | - | # configurable amount of time has passed after the last window is closed. |
|
| 1594 | - | # See the documentation of `quit-after-last-window-closed-delay`. |
|
| 1595 | - | quit-after-last-window-closed = false |
|
| 1596 | - | ||
| 1597 | - | # Controls how long Ghostty will stay running after the last open surface has |
|
| 1598 | - | # been closed. This only has an effect if `quit-after-last-window-closed` is |
|
| 1599 | - | # also set to `true`. |
|
| 1600 | - | # |
|
| 1601 | - | # The minimum value for this configuration is `1s`. Any values lower than |
|
| 1602 | - | # this will be clamped to `1s`. |
|
| 1603 | - | # |
|
| 1604 | - | # The duration is specified as a series of numbers followed by time units. |
|
| 1605 | - | # Whitespace is allowed between numbers and units. Each number and unit will |
|
| 1606 | - | # be added together to form the total duration. |
|
| 1607 | - | # |
|
| 1608 | - | # The allowed time units are as follows: |
|
| 1609 | - | # |
|
| 1610 | - | # * `y` - 365 SI days, or 8760 hours, or 31536000 seconds. No adjustments |
|
| 1611 | - | # are made for leap years or leap seconds. |
|
| 1612 | - | # * `d` - one SI day, or 86400 seconds. |
|
| 1613 | - | # * `h` - one hour, or 3600 seconds. |
|
| 1614 | - | # * `m` - one minute, or 60 seconds. |
|
| 1615 | - | # * `s` - one second. |
|
| 1616 | - | # * `ms` - one millisecond, or 0.001 second. |
|
| 1617 | - | # * `us` or `µs` - one microsecond, or 0.000001 second. |
|
| 1618 | - | # * `ns` - one nanosecond, or 0.000000001 second. |
|
| 1619 | - | # |
|
| 1620 | - | # Examples: |
|
| 1621 | - | # * `1h30m` |
|
| 1622 | - | # * `45s` |
|
| 1623 | - | # |
|
| 1624 | - | # Units can be repeated and will be added together. This means that |
|
| 1625 | - | # `1h1h` is equivalent to `2h`. This is confusing and should be avoided. |
|
| 1626 | - | # A future update may disallow this. |
|
| 1627 | - | # |
|
| 1628 | - | # The maximum value is `584y 49w 23h 34m 33s 709ms 551µs 615ns`. Any |
|
| 1629 | - | # value larger than this will be clamped to the maximum value. |
|
| 1630 | - | # |
|
| 1631 | - | # By default `quit-after-last-window-closed-delay` is unset and |
|
| 1632 | - | # Ghostty will quit immediately after the last window is closed if |
|
| 1633 | - | # `quit-after-last-window-closed` is `true`. |
|
| 1634 | - | # |
|
| 1635 | - | # Only implemented on Linux. |
|
| 1636 | - | quit-after-last-window-closed-delay = |
|
| 1637 | - | ||
| 1638 | - | # This controls whether an initial window is created when Ghostty |
|
| 1639 | - | # is run. Note that if `quit-after-last-window-closed` is `true` and |
|
| 1640 | - | # `quit-after-last-window-closed-delay` is set, setting `initial-window` to |
|
| 1641 | - | # `false` will mean that Ghostty will quit after the configured delay if no |
|
| 1642 | - | # window is ever created. Only implemented on Linux and macOS. |
|
| 1643 | - | initial-window = true |
|
| 1644 | - | ||
| 1645 | - | # The position of the "quick" terminal window. To learn more about the |
|
| 1646 | - | # quick terminal, see the documentation for the `toggle_quick_terminal` |
|
| 1647 | - | # binding action. |
|
| 1648 | - | # |
|
| 1649 | - | # Valid values are: |
|
| 1650 | - | # |
|
| 1651 | - | # * `top` - Terminal appears at the top of the screen. |
|
| 1652 | - | # * `bottom` - Terminal appears at the bottom of the screen. |
|
| 1653 | - | # * `left` - Terminal appears at the left of the screen. |
|
| 1654 | - | # * `right` - Terminal appears at the right of the screen. |
|
| 1655 | - | # * `center` - Terminal appears at the center of the screen. |
|
| 1656 | - | # |
|
| 1657 | - | # Changing this configuration requires restarting Ghostty completely. |
|
| 1658 | - | quick-terminal-position = top |
|
| 1659 | - | ||
| 1660 | - | # The screen where the quick terminal should show up. |
|
| 1661 | - | # |
|
| 1662 | - | # Valid values are: |
|
| 1663 | - | # |
|
| 1664 | - | # * `main` - The screen that the operating system recommends as the main |
|
| 1665 | - | # screen. On macOS, this is the screen that is currently receiving |
|
| 1666 | - | # keyboard input. This screen is defined by the operating system and |
|
| 1667 | - | # not chosen by Ghostty. |
|
| 1668 | - | # |
|
| 1669 | - | # * `mouse` - The screen that the mouse is currently hovered over. |
|
| 1670 | - | # |
|
| 1671 | - | # * `macos-menu-bar` - The screen that contains the macOS menu bar as |
|
| 1672 | - | # set in the display settings on macOS. This is a bit confusing because |
|
| 1673 | - | # every screen on macOS has a menu bar, but this is the screen that |
|
| 1674 | - | # contains the primary menu bar. |
|
| 1675 | - | # |
|
| 1676 | - | # The default value is `main` because this is the recommended screen |
|
| 1677 | - | # by the operating system. |
|
| 1678 | - | quick-terminal-screen = main |
|
| 1679 | - | ||
| 1680 | - | # Duration (in seconds) of the quick terminal enter and exit animation. |
|
| 1681 | - | # Set it to 0 to disable animation completely. This can be changed at |
|
| 1682 | - | # runtime. |
|
| 1683 | - | quick-terminal-animation-duration = 0.2 |
|
| 1684 | - | ||
| 1685 | - | # Automatically hide the quick terminal when focus shifts to another window. |
|
| 1686 | - | # Set it to false for the quick terminal to remain open even when it loses focus. |
|
| 1687 | - | quick-terminal-autohide = true |
|
| 1688 | - | ||
| 1689 | - | # Whether to enable shell integration auto-injection or not. Shell integration |
|
| 1690 | - | # greatly enhances the terminal experience by enabling a number of features: |
|
| 1691 | - | # |
|
| 1692 | - | # * Working directory reporting so new tabs, splits inherit the |
|
| 1693 | - | # previous terminal's working directory. |
|
| 1694 | - | # |
|
| 1695 | - | # * Prompt marking that enables the "jump_to_prompt" keybinding. |
|
| 1696 | - | # |
|
| 1697 | - | # * If you're sitting at a prompt, closing a terminal will not ask |
|
| 1698 | - | # for confirmation. |
|
| 1699 | - | # |
|
| 1700 | - | # * Resizing the window with a complex prompt usually paints much |
|
| 1701 | - | # better. |
|
| 1702 | - | # |
|
| 1703 | - | # Allowable values are: |
|
| 1704 | - | # |
|
| 1705 | - | # * `none` - Do not do any automatic injection. You can still manually |
|
| 1706 | - | # configure your shell to enable the integration. |
|
| 1707 | - | # |
|
| 1708 | - | # * `detect` - Detect the shell based on the filename. |
|
| 1709 | - | # |
|
| 1710 | - | # * `bash`, `elvish`, `fish`, `zsh` - Use this specific shell injection scheme. |
|
| 1711 | - | # |
|
| 1712 | - | # The default value is `detect`. |
|
| 1713 | - | shell-integration = detect |
|
| 1714 | - | ||
| 1715 | - | # Shell integration features to enable if shell integration itself is enabled. |
|
| 1716 | - | # The format of this is a list of features to enable separated by commas. If |
|
| 1717 | - | # you prefix a feature with `no-` then it is disabled. If you omit a feature, |
|
| 1718 | - | # its default value is used, so you must explicitly disable features you don't |
|
| 1719 | - | # want. You can also use `true` or `false` to turn all features on or off. |
|
| 1720 | - | # |
|
| 1721 | - | # Available features: |
|
| 1722 | - | # |
|
| 1723 | - | # * `cursor` - Set the cursor to a blinking bar at the prompt. |
|
| 1724 | - | # |
|
| 1725 | - | # * `sudo` - Set sudo wrapper to preserve terminfo. |
|
| 1726 | - | # |
|
| 1727 | - | # * `title` - Set the window title via shell integration. |
|
| 1728 | - | # |
|
| 1729 | - | # Example: `cursor`, `no-cursor`, `sudo`, `no-sudo`, `title`, `no-title` |
|
| 1730 | - | shell-integration-features = cursor,no-sudo,title |
|
| 1731 | - | ||
| 1732 | - | # Sets the reporting format for OSC sequences that request color information. |
|
| 1733 | - | # Ghostty currently supports OSC 10 (foreground), OSC 11 (background), and |
|
| 1734 | - | # OSC 4 (256 color palette) queries, and by default the reported values |
|
| 1735 | - | # are scaled-up RGB values, where each component are 16 bits. This is how |
|
| 1736 | - | # most terminals report these values. However, some legacy applications may |
|
| 1737 | - | # require 8-bit, unscaled, components. We also support turning off reporting |
|
| 1738 | - | # altogether. The components are lowercase hex values. |
|
| 1739 | - | # |
|
| 1740 | - | # Allowable values are: |
|
| 1741 | - | # |
|
| 1742 | - | # * `none` - OSC 4/10/11 queries receive no reply |
|
| 1743 | - | # |
|
| 1744 | - | # * `8-bit` - Color components are return unscaled, i.e. `rr/gg/bb` |
|
| 1745 | - | # |
|
| 1746 | - | # * `16-bit` - Color components are returned scaled, e.g. `rrrr/gggg/bbbb` |
|
| 1747 | - | # |
|
| 1748 | - | # The default value is `16-bit`. |
|
| 1749 | - | osc-color-report-format = 16-bit |
|
| 1750 | - | ||
| 1751 | - | # If true, allows the "KAM" mode (ANSI mode 2) to be used within |
|
| 1752 | - | # the terminal. KAM disables keyboard input at the request of the |
|
| 1753 | - | # application. This is not a common feature and is not recommended |
|
| 1754 | - | # to be enabled. This will not be documented further because |
|
| 1755 | - | # if you know you need KAM, you know. If you don't know if you |
|
| 1756 | - | # need KAM, you don't need it. |
|
| 1757 | - | vt-kam-allowed = false |
|
| 1758 | - | ||
| 1759 | - | # Custom shaders to run after the default shaders. This is a file path |
|
| 1760 | - | # to a GLSL-syntax shader for all platforms. |
|
| 1761 | - | # |
|
| 1762 | - | # Warning: Invalid shaders can cause Ghostty to become unusable such as by |
|
| 1763 | - | # causing the window to be completely black. If this happens, you can |
|
| 1764 | - | # unset this configuration to disable the shader. |
|
| 1765 | - | # |
|
| 1766 | - | # On Linux, this requires OpenGL 4.2. Ghostty typically only requires |
|
| 1767 | - | # OpenGL 3.3, but custom shaders push that requirement up to 4.2. |
|
| 1768 | - | # |
|
| 1769 | - | # The shader API is identical to the Shadertoy API: you specify a `mainImage` |
|
| 1770 | - | # function and the available uniforms match Shadertoy. The iChannel0 uniform |
|
| 1771 | - | # is a texture containing the rendered terminal screen. |
|
| 1772 | - | # |
|
| 1773 | - | # If the shader fails to compile, the shader will be ignored. Any errors |
|
| 1774 | - | # related to shader compilation will not show up as configuration errors |
|
| 1775 | - | # and only show up in the log, since shader compilation happens after |
|
| 1776 | - | # configuration loading on the dedicated render thread. For interactive |
|
| 1777 | - | # development, use [shadertoy.com](https://shadertoy.com). |
|
| 1778 | - | # |
|
| 1779 | - | # This can be repeated multiple times to load multiple shaders. The shaders |
|
| 1780 | - | # will be run in the order they are specified. |
|
| 1781 | - | # |
|
| 1782 | - | # Changing this value at runtime and reloading the configuration will only |
|
| 1783 | - | # affect new windows, tabs, and splits. |
|
| 1784 | - | custom-shader = |
|
| 1785 | - | ||
| 1786 | - | # If `true` (default), the focused terminal surface will run an animation |
|
| 1787 | - | # loop when custom shaders are used. This uses slightly more CPU (generally |
|
| 1788 | - | # less than 10%) but allows the shader to animate. This only runs if there |
|
| 1789 | - | # are custom shaders and the terminal is focused. |
|
| 1790 | - | # |
|
| 1791 | - | # If this is set to `false`, the terminal and custom shader will only render |
|
| 1792 | - | # when the terminal is updated. This is more efficient but the shader will |
|
| 1793 | - | # not animate. |
|
| 1794 | - | # |
|
| 1795 | - | # This can also be set to `always`, which will always run the animation |
|
| 1796 | - | # loop regardless of whether the terminal is focused or not. The animation |
|
| 1797 | - | # loop will still only run when custom shaders are used. Note that this |
|
| 1798 | - | # will use more CPU per terminal surface and can become quite expensive |
|
| 1799 | - | # depending on the shader and your terminal usage. |
|
| 1800 | - | # |
|
| 1801 | - | # This value can be changed at runtime and will affect all currently |
|
| 1802 | - | # open terminals. |
|
| 1803 | - | custom-shader-animation = true |
|
| 1804 | - | ||
| 1805 | - | # If anything other than false, fullscreen mode on macOS will not use the |
|
| 1806 | - | # native fullscreen, but make the window fullscreen without animations and |
|
| 1807 | - | # using a new space. It's faster than the native fullscreen mode since it |
|
| 1808 | - | # doesn't use animations. |
|
| 1809 | - | # |
|
| 1810 | - | # Important: tabs DO NOT WORK in this mode. Non-native fullscreen removes |
|
| 1811 | - | # the titlebar and macOS native tabs require the titlebar. If you use tabs, |
|
| 1812 | - | # you should not use this mode. |
|
| 1813 | - | # |
|
| 1814 | - | # If you fullscreen a window with tabs, the currently focused tab will |
|
| 1815 | - | # become fullscreen while the others will remain in a separate window in |
|
| 1816 | - | # the background. You can switch to that window using normal window-switching |
|
| 1817 | - | # keybindings such as command+tilde. When you exit fullscreen, the window |
|
| 1818 | - | # will return to the tabbed state it was in before. |
|
| 1819 | - | # |
|
| 1820 | - | # Allowable values are: |
|
| 1821 | - | # |
|
| 1822 | - | # * `visible-menu` - Use non-native macOS fullscreen, keep the menu bar visible |
|
| 1823 | - | # * `true` - Use non-native macOS fullscreen, hide the menu bar |
|
| 1824 | - | # * `false` - Use native macOS fullscreen |
|
| 1825 | - | # |
|
| 1826 | - | # Changing this option at runtime works, but will only apply to the next |
|
| 1827 | - | # time the window is made fullscreen. If a window is already fullscreen, |
|
| 1828 | - | # it will retain the previous setting until fullscreen is exited. |
|
| 1829 | - | macos-non-native-fullscreen = false |
|
| 1830 | - | ||
| 1831 | - | # The style of the macOS titlebar. Available values are: "native", |
|
| 1832 | - | # "transparent", "tabs", and "hidden". |
|
| 1833 | - | # |
|
| 1834 | - | # The "native" style uses the native macOS titlebar with zero customization. |
|
| 1835 | - | # The titlebar will match your window theme (see `window-theme`). |
|
| 1836 | - | # |
|
| 1837 | - | # The "transparent" style is the same as "native" but the titlebar will |
|
| 1838 | - | # be transparent and allow your window background color to come through. |
|
| 1839 | - | # This makes a more seamless window appearance but looks a little less |
|
| 1840 | - | # typical for a macOS application and may not work well with all themes. |
|
| 1841 | - | # |
|
| 1842 | - | # The "transparent" style will also update in real-time to dynamic |
|
| 1843 | - | # changes to the window background color, i.e. via OSC 11. To make this |
|
| 1844 | - | # more aesthetically pleasing, this only happens if the terminal is |
|
| 1845 | - | # a window, tab, or split that borders the top of the window. This |
|
| 1846 | - | # avoids a disjointed appearance where the titlebar color changes |
|
| 1847 | - | # but all the topmost terminals don't match. |
|
| 1848 | - | # |
|
| 1849 | - | # The "tabs" style is a completely custom titlebar that integrates the |
|
| 1850 | - | # tab bar into the titlebar. This titlebar always matches the background |
|
| 1851 | - | # color of the terminal. There are some limitations to this style: |
|
| 1852 | - | # On macOS 13 and below, saved window state will not restore tabs correctly. |
|
| 1853 | - | # macOS 14 does not have this issue and any other macOS version has not |
|
| 1854 | - | # been tested. |
|
| 1855 | - | # |
|
| 1856 | - | # The "hidden" style hides the titlebar. Unlike `window-decoration = false`, |
|
| 1857 | - | # however, it does not remove the frame from the window or cause it to have |
|
| 1858 | - | # squared corners. Changing to or from this option at run-time may affect |
|
| 1859 | - | # existing windows in buggy ways. The top titlebar area of the window will |
|
| 1860 | - | # continue to drag the window around and you will not be able to use |
|
| 1861 | - | # the mouse for terminal events in this space. |
|
| 1862 | - | # |
|
| 1863 | - | # The default value is "transparent". This is an opinionated choice |
|
| 1864 | - | # but its one I think is the most aesthetically pleasing and works in |
|
| 1865 | - | # most cases. |
|
| 1866 | - | # |
|
| 1867 | - | # Changing this option at runtime only applies to new windows. |
|
| 1868 | - | macos-titlebar-style = hidden |
|
| 1869 | - | ||
| 1870 | - | # Whether the proxy icon in the macOS titlebar is visible. The proxy icon |
|
| 1871 | - | # is the icon that represents the folder of the current working directory. |
|
| 1872 | - | # You can see this very clearly in the macOS built-in Terminal.app |
|
| 1873 | - | # titlebar. |
|
| 1874 | - | # |
|
| 1875 | - | # The proxy icon is only visible with the native macOS titlebar style. |
|
| 1876 | - | # |
|
| 1877 | - | # Valid values are: |
|
| 1878 | - | # |
|
| 1879 | - | # * `visible` - Show the proxy icon. |
|
| 1880 | - | # * `hidden` - Hide the proxy icon. |
|
| 1881 | - | # |
|
| 1882 | - | # The default value is `visible`. |
|
| 1883 | - | # |
|
| 1884 | - | # This setting can be changed at runtime and will affect all currently |
|
| 1885 | - | # open windows but only after their working directory changes again. |
|
| 1886 | - | # Therefore, to make this work after changing the setting, you must |
|
| 1887 | - | # usually `cd` to a different directory, open a different file in an |
|
| 1888 | - | # editor, etc. |
|
| 1889 | - | macos-titlebar-proxy-icon = visible |
|
| 1890 | - | ||
| 1891 | - | # macOS doesn't have a distinct "alt" key and instead has the "option" |
|
| 1892 | - | # key which behaves slightly differently. On macOS by default, the |
|
| 1893 | - | # option key plus a character will sometimes produces a Unicode character. |
|
| 1894 | - | # For example, on US standard layouts option-b produces "∫". This may be |
|
| 1895 | - | # undesirable if you want to use "option" as an "alt" key for keybindings |
|
| 1896 | - | # in terminal programs or shells. |
|
| 1897 | - | # |
|
| 1898 | - | # This configuration lets you change the behavior so that option is treated |
|
| 1899 | - | # as alt. |
|
| 1900 | - | # |
|
| 1901 | - | # The default behavior (unset) will depend on your active keyboard |
|
| 1902 | - | # layout. If your keyboard layout is one of the keyboard layouts listed |
|
| 1903 | - | # below, then the default value is "true". Otherwise, the default |
|
| 1904 | - | # value is "false". Keyboard layouts with a default value of "true" are: |
|
| 1905 | - | # |
|
| 1906 | - | # - U.S. Standard |
|
| 1907 | - | # - U.S. International |
|
| 1908 | - | # |
|
| 1909 | - | # Note that if an *Option*-sequence doesn't produce a printable character, it |
|
| 1910 | - | # will be treated as *Alt* regardless of this setting. (i.e. `alt+ctrl+a`). |
|
| 1911 | - | # |
|
| 1912 | - | # Explicit values that can be set: |
|
| 1913 | - | # |
|
| 1914 | - | # If `true`, the *Option* key will be treated as *Alt*. This makes terminal |
|
| 1915 | - | # sequences expecting *Alt* to work properly, but will break Unicode input |
|
| 1916 | - | # sequences on macOS if you use them via the *Alt* key. |
|
| 1917 | - | # |
|
| 1918 | - | # You may set this to `false` to restore the macOS *Alt* key unicode |
|
| 1919 | - | # sequences but this will break terminal sequences expecting *Alt* to work. |
|
| 1920 | - | # |
|
| 1921 | - | # The values `left` or `right` enable this for the left or right *Option* |
|
| 1922 | - | # key, respectively. |
|
| 1923 | - | # |
|
| 1924 | - | # This does not work with GLFW builds. |
|
| 1925 | - | macos-option-as-alt = |
|
| 1926 | - | ||
| 1927 | - | # Whether to enable the macOS window shadow. The default value is true. |
|
| 1928 | - | # With some window managers and window transparency settings, you may |
|
| 1929 | - | # find false more visually appealing. |
|
| 1930 | - | macos-window-shadow = false |
|
| 1931 | - | ||
| 1932 | - | # If true, Ghostty on macOS will automatically enable the "Secure Input" |
|
| 1933 | - | # feature when it detects that a password prompt is being displayed. |
|
| 1934 | - | # |
|
| 1935 | - | # "Secure Input" is a macOS security feature that prevents applications from |
|
| 1936 | - | # reading keyboard events. This can always be enabled manually using the |
|
| 1937 | - | # `Ghostty > Secure Keyboard Entry` menu item. |
|
| 1938 | - | # |
|
| 1939 | - | # Note that automatic password prompt detection is based on heuristics |
|
| 1940 | - | # and may not always work as expected. Specifically, it does not work |
|
| 1941 | - | # over SSH connections, but there may be other cases where it also |
|
| 1942 | - | # doesn't work. |
|
| 1943 | - | # |
|
| 1944 | - | # A reason to disable this feature is if you find that it is interfering |
|
| 1945 | - | # with legitimate accessibility software (or software that uses the |
|
| 1946 | - | # accessibility APIs), since secure input prevents any application from |
|
| 1947 | - | # reading keyboard events. |
|
| 1948 | - | macos-auto-secure-input = true |
|
| 1949 | - | ||
| 1950 | - | # If true, Ghostty will show a graphical indication when secure input is |
|
| 1951 | - | # enabled. This indication is generally recommended to know when secure input |
|
| 1952 | - | # is enabled. |
|
| 1953 | - | # |
|
| 1954 | - | # Normally, secure input is only active when a password prompt is displayed |
|
| 1955 | - | # or it is manually (and typically temporarily) enabled. However, if you |
|
| 1956 | - | # always have secure input enabled, the indication can be distracting and |
|
| 1957 | - | # you may want to disable it. |
|
| 1958 | - | macos-secure-input-indication = true |
|
| 1959 | - | ||
| 1960 | - | # Customize the macOS app icon. |
|
| 1961 | - | # |
|
| 1962 | - | # This only affects the icon that appears in the dock, application |
|
| 1963 | - | # switcher, etc. This does not affect the icon in Finder because |
|
| 1964 | - | # that is controlled by a hardcoded value in the signed application |
|
| 1965 | - | # bundle and can't be changed at runtime. For more details on what |
|
| 1966 | - | # exactly is affected, see the `NSApplication.icon` Apple documentation; |
|
| 1967 | - | # that is the API that is being used to set the icon. |
|
| 1968 | - | # |
|
| 1969 | - | # Valid values: |
|
| 1970 | - | # |
|
| 1971 | - | # * `official` - Use the official Ghostty icon. |
|
| 1972 | - | # * `custom-style` - Use the official Ghostty icon but with custom |
|
| 1973 | - | # styles applied to various layers. The custom styles must be |
|
| 1974 | - | # specified using the additional `macos-icon`-prefixed configurations. |
|
| 1975 | - | # The `macos-icon-ghost-color` and `macos-icon-screen-color` |
|
| 1976 | - | # configurations are required for this style. |
|
| 1977 | - | # |
|
| 1978 | - | # WARNING: The `custom-style` option is _experimental_. We may change |
|
| 1979 | - | # the format of the custom styles in the future. We're still finalizing |
|
| 1980 | - | # the exact layers and customization options that will be available. |
|
| 1981 | - | # |
|
| 1982 | - | # Other caveats: |
|
| 1983 | - | # |
|
| 1984 | - | # * The icon in the update dialog will always be the official icon. |
|
| 1985 | - | # This is because the update dialog is managed through a |
|
| 1986 | - | # separate framework and cannot be customized without significant |
|
| 1987 | - | # effort. |
|
| 1988 | - | # |
|
| 1989 | - | macos-icon = official |
|
| 1990 | - | ||
| 1991 | - | # The material to use for the frame of the macOS app icon. |
|
| 1992 | - | # |
|
| 1993 | - | # Valid values: |
|
| 1994 | - | # |
|
| 1995 | - | # * `aluminum` - A brushed aluminum frame. This is the default. |
|
| 1996 | - | # * `beige` - A classic 90's computer beige frame. |
|
| 1997 | - | # * `plastic` - A glossy, dark plastic frame. |
|
| 1998 | - | # * `chrome` - A shiny chrome frame. |
|
| 1999 | - | # |
|
| 2000 | - | # This only has an effect when `macos-icon` is set to `custom-style`. |
|
| 2001 | - | macos-icon-frame = aluminum |
|
| 2002 | - | ||
| 2003 | - | # The color of the ghost in the macOS app icon. |
|
| 2004 | - | # |
|
| 2005 | - | # The format of the color is the same as the `background` configuration; |
|
| 2006 | - | # see that for more information. |
|
| 2007 | - | # |
|
| 2008 | - | # Note: This configuration is required when `macos-icon` is set to |
|
| 2009 | - | # `custom-style`. |
|
| 2010 | - | # |
|
| 2011 | - | # This only has an effect when `macos-icon` is set to `custom-style`. |
|
| 2012 | - | macos-icon-ghost-color = |
|
| 2013 | - | ||
| 2014 | - | # The color of the screen in the macOS app icon. |
|
| 2015 | - | # |
|
| 2016 | - | # The screen is a gradient so you can specify multiple colors that |
|
| 2017 | - | # make up the gradient. Colors should be separated by commas. The |
|
| 2018 | - | # format of the color is the same as the `background` configuration; |
|
| 2019 | - | # see that for more information. |
|
| 2020 | - | # |
|
| 2021 | - | # Note: This configuration is required when `macos-icon` is set to |
|
| 2022 | - | # `custom-style`. |
|
| 2023 | - | # |
|
| 2024 | - | # This only has an effect when `macos-icon` is set to `custom-style`. |
|
| 2025 | - | macos-icon-screen-color = |
|
| 2026 | - | ||
| 2027 | - | # Put every surface (tab, split, window) into a dedicated Linux cgroup. |
|
| 2028 | - | # |
|
| 2029 | - | # This makes it so that resource management can be done on a per-surface |
|
| 2030 | - | # granularity. For example, if a shell program is using too much memory, |
|
| 2031 | - | # only that shell will be killed by the oom monitor instead of the entire |
|
| 2032 | - | # Ghostty process. Similarly, if a shell program is using too much CPU, |
|
| 2033 | - | # only that surface will be CPU-throttled. |
|
| 2034 | - | # |
|
| 2035 | - | # This will cause startup times to be slower (a hundred milliseconds or so), |
|
| 2036 | - | # so the default value is "single-instance." In single-instance mode, only |
|
| 2037 | - | # one instance of Ghostty is running (see gtk-single-instance) so the startup |
|
| 2038 | - | # time is a one-time cost. Additionally, single instance Ghostty is much |
|
| 2039 | - | # more likely to have many windows, tabs, etc. so cgroup isolation is a |
|
| 2040 | - | # big benefit. |
|
| 2041 | - | # |
|
| 2042 | - | # This feature requires systemd. If systemd is unavailable, cgroup |
|
| 2043 | - | # initialization will fail. By default, this will not prevent Ghostty |
|
| 2044 | - | # from working (see linux-cgroup-hard-fail). |
|
| 2045 | - | # |
|
| 2046 | - | # Valid values are: |
|
| 2047 | - | # |
|
| 2048 | - | # * `never` - Never use cgroups. |
|
| 2049 | - | # * `always` - Always use cgroups. |
|
| 2050 | - | # * `single-instance` - Enable cgroups only for Ghostty instances launched |
|
| 2051 | - | # as single-instance applications (see gtk-single-instance). |
|
| 2052 | - | # |
|
| 2053 | - | linux-cgroup = single-instance |
|
| 2054 | - | ||
| 2055 | - | # Memory limit for any individual terminal process (tab, split, window, |
|
| 2056 | - | # etc.) in bytes. If this is unset then no memory limit will be set. |
|
| 2057 | - | # |
|
| 2058 | - | # Note that this sets the "memory.high" configuration for the memory |
|
| 2059 | - | # controller, which is a soft limit. You should configure something like |
|
| 2060 | - | # systemd-oom to handle killing processes that have too much memory |
|
| 2061 | - | # pressure. |
|
| 2062 | - | linux-cgroup-memory-limit = |
|
| 2063 | - | ||
| 2064 | - | # Number of processes limit for any individual terminal process (tab, split, |
|
| 2065 | - | # window, etc.). If this is unset then no limit will be set. |
|
| 2066 | - | # |
|
| 2067 | - | # Note that this sets the "pids.max" configuration for the process number |
|
| 2068 | - | # controller, which is a hard limit. |
|
| 2069 | - | linux-cgroup-processes-limit = |
|
| 2070 | - | ||
| 2071 | - | # If this is false, then any cgroup initialization (for linux-cgroup) |
|
| 2072 | - | # will be allowed to fail and the failure is ignored. This is useful if |
|
| 2073 | - | # you view cgroup isolation as a "nice to have" and not a critical resource |
|
| 2074 | - | # management feature, because Ghostty startup will not fail if cgroup APIs |
|
| 2075 | - | # fail. |
|
| 2076 | - | # |
|
| 2077 | - | # If this is true, then any cgroup initialization failure will cause |
|
| 2078 | - | # Ghostty to exit or new surfaces to not be created. |
|
| 2079 | - | # |
|
| 2080 | - | # Note: This currently only affects cgroup initialization. Subprocesses |
|
| 2081 | - | # must always be able to move themselves into an isolated cgroup. |
|
| 2082 | - | linux-cgroup-hard-fail = false |
|
| 2083 | - | ||
| 2084 | - | # If `true`, the Ghostty GTK application will run in single-instance mode: |
|
| 2085 | - | # each new `ghostty` process launched will result in a new window if there is |
|
| 2086 | - | # already a running process. |
|
| 2087 | - | # |
|
| 2088 | - | # If `false`, each new ghostty process will launch a separate application. |
|
| 2089 | - | # |
|
| 2090 | - | # The default value is `detect` which will default to `true` if Ghostty |
|
| 2091 | - | # detects that it was launched from the `.desktop` file such as an app |
|
| 2092 | - | # launcher (like Gnome Shell) or by D-Bus activation. If Ghostty is launched |
|
| 2093 | - | # from the command line, it will default to `false`. |
|
| 2094 | - | # |
|
| 2095 | - | # Note that debug builds of Ghostty have a separate single-instance ID |
|
| 2096 | - | # so you can test single instance without conflicting with release builds. |
|
| 2097 | - | gtk-single-instance = desktop |
|
| 2098 | - | ||
| 2099 | - | # When enabled, the full GTK titlebar is displayed instead of your window |
|
| 2100 | - | # manager's simple titlebar. The behavior of this option will vary with your |
|
| 2101 | - | # window manager. |
|
| 2102 | - | # |
|
| 2103 | - | # This option does nothing when `window-decoration` is false or when running |
|
| 2104 | - | # under macOS. |
|
| 2105 | - | # |
|
| 2106 | - | # Changing this value at runtime and reloading the configuration will only |
|
| 2107 | - | # affect new windows. |
|
| 2108 | - | gtk-titlebar = true |
|
| 2109 | - | ||
| 2110 | - | # Determines the side of the screen that the GTK tab bar will stick to. |
|
| 2111 | - | # Top, bottom, left, right, and hidden are supported. The default is top. |
|
| 2112 | - | # |
|
| 2113 | - | # If this option has value `left` or `right` when using Adwaita, it falls |
|
| 2114 | - | # back to `top`. `hidden`, meaning that tabs don't exist, is not supported |
|
| 2115 | - | # without using Adwaita, falling back to `top`. |
|
| 2116 | - | # |
|
| 2117 | - | # When `hidden` is set and Adwaita is enabled, a tab button displaying the |
|
| 2118 | - | # number of tabs will appear in the title bar. It has the ability to open a |
|
| 2119 | - | # tab overview for displaying tabs. Alternatively, you can use the |
|
| 2120 | - | # `toggle_tab_overview` action in a keybind if your window doesn't have a |
|
| 2121 | - | # title bar, or you can switch tabs with keybinds. |
|
| 2122 | - | gtk-tabs-location = top |
|
| 2123 | - | ||
| 2124 | - | # Determines the appearance of the top and bottom bars when using the |
|
| 2125 | - | # Adwaita tab bar. This requires `gtk-adwaita` to be enabled (it is |
|
| 2126 | - | # by default). |
|
| 2127 | - | # |
|
| 2128 | - | # Valid values are: |
|
| 2129 | - | # |
|
| 2130 | - | # * `flat` - Top and bottom bars are flat with the terminal window. |
|
| 2131 | - | # * `raised` - Top and bottom bars cast a shadow on the terminal area. |
|
| 2132 | - | # * `raised-border` - Similar to `raised` but the shadow is replaced with a |
|
| 2133 | - | # more subtle border. |
|
| 2134 | - | # |
|
| 2135 | - | # Changing this value at runtime will only affect new windows. |
|
| 2136 | - | adw-toolbar-style = raised |
|
| 2137 | - | ||
| 2138 | - | # If `true` (default), then the Ghostty GTK tabs will be "wide." Wide tabs |
|
| 2139 | - | # are the new typical Gnome style where tabs fill their available space. |
|
| 2140 | - | # If you set this to `false` then tabs will only take up space they need, |
|
| 2141 | - | # which is the old style. |
|
| 2142 | - | gtk-wide-tabs = true |
|
| 2143 | - | ||
| 2144 | - | # If `true` (default), Ghostty will enable Adwaita theme support. This |
|
| 2145 | - | # will make `window-theme` work properly and will also allow Ghostty to |
|
| 2146 | - | # properly respond to system theme changes, light/dark mode changing, etc. |
|
| 2147 | - | # This requires a GTK4 desktop with a GTK4 theme. |
|
| 2148 | - | # |
|
| 2149 | - | # If you are running GTK3 or have a GTK3 theme, you may have to set this |
|
| 2150 | - | # to false to get your theme picked up properly. Having this set to true |
|
| 2151 | - | # with GTK3 should not cause any problems, but it may not work exactly as |
|
| 2152 | - | # expected. |
|
| 2153 | - | # |
|
| 2154 | - | # This configuration only has an effect if Ghostty was built with |
|
| 2155 | - | # Adwaita support. |
|
| 2156 | - | gtk-adwaita = true |
|
| 2157 | - | ||
| 2158 | - | # If `true` (default), applications running in the terminal can show desktop |
|
| 2159 | - | # notifications using certain escape sequences such as OSC 9 or OSC 777. |
|
| 2160 | - | desktop-notifications = true |
|
| 2161 | - | ||
| 2162 | - | # If `true`, the bold text will use the bright color palette. |
|
| 2163 | - | bold-is-bright = false |
|
| 2164 | - | ||
| 2165 | - | # This will be used to set the `TERM` environment variable. |
|
| 2166 | - | # HACK: We set this with an `xterm` prefix because vim uses that to enable key |
|
| 2167 | - | # protocols (specifically this will enable `modifyOtherKeys`), among other |
|
| 2168 | - | # features. An option exists in vim to modify this: `:set |
|
| 2169 | - | # keyprotocol=ghostty:kitty`, however a bug in the implementation prevents it |
|
| 2170 | - | # from working properly. https://github.com/vim/vim/pull/13211 fixes this. |
|
| 2171 | - | term = xterm-ghostty |
|
| 2172 | - | ||
| 2173 | - | # String to send when we receive `ENQ` (`0x05`) from the command that we are |
|
| 2174 | - | # running. Defaults to an empty string if not set. |
|
| 2175 | - | enquiry-response = |
|
| 2176 | - | ||
| 2177 | - | # Control the auto-update functionality of Ghostty. This is only supported |
|
| 2178 | - | # on macOS currently, since Linux builds are distributed via package |
|
| 2179 | - | # managers that are not centrally controlled by Ghostty. |
|
| 2180 | - | # |
|
| 2181 | - | # Checking or downloading an update does not send any information to |
|
| 2182 | - | # the project beyond standard network information mandated by the |
|
| 2183 | - | # underlying protocols. To put it another way: Ghostty doesn't explicitly |
|
| 2184 | - | # add any tracking to the update process. The update process works by |
|
| 2185 | - | # downloading information about the latest version and comparing it |
|
| 2186 | - | # client-side to the current version. |
|
| 2187 | - | # |
|
| 2188 | - | # Valid values are: |
|
| 2189 | - | # |
|
| 2190 | - | # * `off` - Disable auto-updates. |
|
| 2191 | - | # * `check` - Check for updates and notify the user if an update is |
|
| 2192 | - | # available, but do not automatically download or install the update. |
|
| 2193 | - | # * `download` - Check for updates, automatically download the update, |
|
| 2194 | - | # notify the user, but do not automatically install the update. |
|
| 2195 | - | # |
|
| 2196 | - | # The default value is `check`. |
|
| 2197 | - | # |
|
| 2198 | - | # Changing this value at runtime works after a small delay. |
|
| 2199 | - | auto-update = check |
|
| 2200 | - | ||
| 2201 | - | # The release channel to use for auto-updates. |
|
| 2202 | - | # |
|
| 2203 | - | # The default value of this matches the release channel of the currently |
|
| 2204 | - | # running Ghostty version. If you download a pre-release version of Ghostty |
|
| 2205 | - | # then this will be set to `tip` and you will receive pre-release updates. |
|
| 2206 | - | # If you download a stable version of Ghostty then this will be set to |
|
| 2207 | - | # `stable` and you will receive stable updates. |
|
| 2208 | - | # |
|
| 2209 | - | # Valid values are: |
|
| 2210 | - | # |
|
| 2211 | - | # * `stable` - Stable, tagged releases such as "1.0.0". |
|
| 2212 | - | # * `tip` - Pre-release versions generated from each commit to the |
|
| 2213 | - | # main branch. This is the version that was in use during private |
|
| 2214 | - | # beta testing by thousands of people. It is generally stable but |
|
| 2215 | - | # will likely have more bugs than the stable channel. |
|
| 2216 | - | # |
|
| 2217 | - | # Changing this configuration requires a full restart of |
|
| 2218 | - | # Ghostty to take effect. |
|
| 2219 | - | # |
|
| 2220 | - | # This only works on macOS since only macOS has an auto-update feature. |
|
| 2221 | - | auto-update-channel = |
|
| 2222 | - |
| 1 | + | /Users/stevedylandev/.config/ghostty/config |
| 1 | + | /Users/stevedylandev/.config/ghostty/config.bak |
Binary file — no preview.
| 1 | - | lastupdatecheck: 0 |
|
| 2 | - | recentrepos: |
|
| 3 | - | - /Users/stevedsimkins/Developer/steve-dylan-photo-nextjs |
|
| 4 | - | startuppopupversion: 5 |
|
| 5 | - | customcommandshistory: [] |
|
| 6 | - | hidecommandlog: false |
| 1 | + | /Users/stevedylandev/.config/lazygit/config.yml |
| 1 | + | /Users/stevedylandev/.config/lazygit/state.yml |
| 1 | - | # Retrieve the theme settings |
|
| 2 | - | export def main [] { |
|
| 3 | - | return { |
|
| 4 | - | binary: '#999999' |
|
| 5 | - | block: '#888888' |
|
| 6 | - | cell-path: '#c1c1c1' |
|
| 7 | - | closure: '#aaaaaa' |
|
| 8 | - | custom: '#c1c1c1' |
|
| 9 | - | duration: '#e78a53' |
|
| 10 | - | float: '#5f8787' |
|
| 11 | - | glob: '#c1c1c1' |
|
| 12 | - | int: '#999999' |
|
| 13 | - | list: '#aaaaaa' |
|
| 14 | - | nothing: '#5f8787' |
|
| 15 | - | range: '#e78a53' |
|
| 16 | - | record: '#aaaaaa' |
|
| 17 | - | string: '#fbcb97' |
|
| 18 | - | ||
| 19 | - | bool: {|| if $in { '#aaaaaa' } else { '#e78a53' } } |
|
| 20 | - | ||
| 21 | - | date: {|| (date now) - $in | |
|
| 22 | - | if $in < 1hr { |
|
| 23 | - | { fg: '#5f8787' attr: 'b' } |
|
| 24 | - | } else if $in < 6hr { |
|
| 25 | - | '#5f8787' |
|
| 26 | - | } else if $in < 1day { |
|
| 27 | - | '#e78a53' |
|
| 28 | - | } else if $in < 3day { |
|
| 29 | - | '#fbcb97' |
|
| 30 | - | } else if $in < 1wk { |
|
| 31 | - | { fg: '#fbcb97' attr: 'b' } |
|
| 32 | - | } else if $in < 6wk { |
|
| 33 | - | '#aaaaaa' |
|
| 34 | - | } else if $in < 52wk { |
|
| 35 | - | '#888888' |
|
| 36 | - | } else { 'dark_gray' } |
|
| 37 | - | } |
|
| 38 | - | ||
| 39 | - | filesize: {|e| |
|
| 40 | - | if $e == 0b { |
|
| 41 | - | '#c1c1c1' |
|
| 42 | - | } else if $e < 1mb { |
|
| 43 | - | '#aaaaaa' |
|
| 44 | - | } else {{ fg: '#888888' }} |
|
| 45 | - | } |
|
| 46 | - | ||
| 47 | - | shape_and: { fg: '#999999' attr: 'b' } |
|
| 48 | - | shape_binary: { fg: '#999999' attr: 'b' } |
|
| 49 | - | shape_block: { fg: '#888888' attr: 'b' } |
|
| 50 | - | shape_bool: '#aaaaaa' |
|
| 51 | - | shape_closure: { fg: '#aaaaaa' attr: 'b' } |
|
| 52 | - | shape_custom: '#fbcb97' |
|
| 53 | - | shape_datetime: { fg: '#aaaaaa' attr: 'b' } |
|
| 54 | - | shape_directory: '#aaaaaa' |
|
| 55 | - | shape_external: '#aaaaaa' |
|
| 56 | - | shape_external_resolved: '#aaaaaa' |
|
| 57 | - | shape_externalarg: { fg: '#fbcb97' attr: 'b' } |
|
| 58 | - | shape_filepath: '#aaaaaa' |
|
| 59 | - | shape_flag: { fg: '#888888' attr: 'b' } |
|
| 60 | - | shape_float: { fg: '#5f8787' attr: 'b' } |
|
| 61 | - | shape_garbage: { fg: '#FFFFFF' bg: '#FF0000' attr: 'b' } |
|
| 62 | - | shape_glob_interpolation: { fg: '#aaaaaa' attr: 'b' } |
|
| 63 | - | shape_globpattern: { fg: '#aaaaaa' attr: 'b' } |
|
| 64 | - | shape_int: { fg: '#999999' attr: 'b' } |
|
| 65 | - | shape_internalcall: { fg: '#aaaaaa' attr: 'b' } |
|
| 66 | - | shape_keyword: { fg: '#999999' attr: 'b' } |
|
| 67 | - | shape_list: { fg: '#aaaaaa' attr: 'b' } |
|
| 68 | - | shape_literal: '#888888' |
|
| 69 | - | shape_match_pattern: '#fbcb97' |
|
| 70 | - | shape_matching_brackets: { attr: 'u' } |
|
| 71 | - | shape_nothing: '#5f8787' |
|
| 72 | - | shape_operator: '#e78a53' |
|
| 73 | - | shape_or: { fg: '#999999' attr: 'b' } |
|
| 74 | - | shape_pipe: { fg: '#999999' attr: 'b' } |
|
| 75 | - | shape_range: { fg: '#e78a53' attr: 'b' } |
|
| 76 | - | shape_raw_string: { fg: '#c1c1c1' attr: 'b' } |
|
| 77 | - | shape_record: { fg: '#aaaaaa' attr: 'b' } |
|
| 78 | - | shape_redirection: { fg: '#999999' attr: 'b' } |
|
| 79 | - | shape_signature: { fg: '#fbcb97' attr: 'b' } |
|
| 80 | - | shape_string: '#fbcb97' |
|
| 81 | - | shape_string_interpolation: { fg: '#aaaaaa' attr: 'b' } |
|
| 82 | - | shape_table: { fg: '#888888' attr: 'b' } |
|
| 83 | - | shape_vardecl: { fg: '#888888' attr: 'u' } |
|
| 84 | - | shape_variable: '#999999' |
|
| 85 | - | ||
| 86 | - | foreground: '#c1c1c1' |
|
| 87 | - | background: '#000000' |
|
| 88 | - | cursor: '#c1c1c1' |
|
| 89 | - | ||
| 90 | - | empty: '#888888' |
|
| 91 | - | header: { fg: '#fbcb97' attr: 'b' } |
|
| 92 | - | hints: '#333333' |
|
| 93 | - | leading_trailing_space_bg: { attr: 'n' } |
|
| 94 | - | row_index: { fg: '#fbcb97' attr: 'b' } |
|
| 95 | - | search_result: { fg: '#5f8787' bg: '#c1c1c1' } |
|
| 96 | - | separator: '#c1c1c1' |
|
| 97 | - | } |
|
| 98 | - | } |
|
| 99 | - | ||
| 100 | - | # Update the Nushell configuration |
|
| 101 | - | export def --env "set color_config" [] { |
|
| 102 | - | $env.config.color_config = (main) |
|
| 103 | - | } |
|
| 104 | - | ||
| 105 | - | # Update terminal colors |
|
| 106 | - | export def "update terminal" [] { |
|
| 107 | - | let theme = (main) |
|
| 108 | - | ||
| 109 | - | # Set terminal colors |
|
| 110 | - | let osc_screen_foreground_color = '10;' |
|
| 111 | - | let osc_screen_background_color = '11;' |
|
| 112 | - | let osc_cursor_color = '12;' |
|
| 113 | - | ||
| 114 | - | $" |
|
| 115 | - | (ansi -o $osc_screen_foreground_color)($theme.foreground)(char bel) |
|
| 116 | - | (ansi -o $osc_screen_background_color)($theme.background)(char bel) |
|
| 117 | - | (ansi -o $osc_cursor_color)($theme.cursor)(char bel) |
|
| 118 | - | " |
|
| 119 | - | # Line breaks above are just for source readability |
|
| 120 | - | # but create extra whitespace when activating. Collapse |
|
| 121 | - | # to one line and print with no-newline |
|
| 122 | - | | str replace --all "\n" '' |
|
| 123 | - | | print -n $"($in)\r" |
|
| 124 | - | } |
|
| 125 | - | ||
| 126 | - | export module activate { |
|
| 127 | - | export-env { |
|
| 128 | - | set color_config |
|
| 129 | - | update terminal |
|
| 130 | - | } |
|
| 131 | - | } |
|
| 132 | - | ||
| 133 | - | # Activate the theme when sourced |
|
| 134 | - | use activate |
| 1 | - | # Nushell Config File |
|
| 2 | - | # |
|
| 3 | - | # version = "0.99.1" |
|
| 4 | - | ||
| 5 | - | # For more information on defining custom themes, see |
|
| 6 | - | # https://www.nushell.sh/book/coloring_and_theming.html |
|
| 7 | - | # And here is the theme collection |
|
| 8 | - | # https://github.com/nushell/nu_scripts/tree/main/themes |
|
| 9 | - | let dark_theme = { |
|
| 10 | - | # color for nushell primitives |
|
| 11 | - | separator: white |
|
| 12 | - | leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off |
|
| 13 | - | header: green_bold |
|
| 14 | - | empty: blue |
|
| 15 | - | # Closures can be used to choose colors for specific values. |
|
| 16 | - | # The value (in this case, a bool) is piped into the closure. |
|
| 17 | - | # eg) {|| if $in { 'light_cyan' } else { 'light_gray' } } |
|
| 18 | - | bool: light_cyan |
|
| 19 | - | int: white |
|
| 20 | - | filesize: cyan |
|
| 21 | - | duration: white |
|
| 22 | - | date: purple |
|
| 23 | - | range: white |
|
| 24 | - | float: white |
|
| 25 | - | string: white |
|
| 26 | - | nothing: white |
|
| 27 | - | binary: white |
|
| 28 | - | cell-path: white |
|
| 29 | - | row_index: green_bold |
|
| 30 | - | record: white |
|
| 31 | - | list: white |
|
| 32 | - | block: white |
|
| 33 | - | hints: dark_gray |
|
| 34 | - | search_result: { bg: red fg: white } |
|
| 35 | - | shape_and: purple_bold |
|
| 36 | - | shape_binary: purple_bold |
|
| 37 | - | shape_block: blue_bold |
|
| 38 | - | shape_bool: light_cyan |
|
| 39 | - | shape_closure: green_bold |
|
| 40 | - | shape_custom: green |
|
| 41 | - | shape_datetime: cyan_bold |
|
| 42 | - | shape_directory: cyan |
|
| 43 | - | shape_external: cyan |
|
| 44 | - | shape_externalarg: green_bold |
|
| 45 | - | shape_external_resolved: light_yellow_bold |
|
| 46 | - | shape_filepath: cyan |
|
| 47 | - | shape_flag: blue_bold |
|
| 48 | - | shape_float: purple_bold |
|
| 49 | - | # shapes are used to change the cli syntax highlighting |
|
| 50 | - | shape_garbage: { fg: white bg: red attr: b } |
|
| 51 | - | shape_glob_interpolation: cyan_bold |
|
| 52 | - | shape_globpattern: cyan_bold |
|
| 53 | - | shape_int: purple_bold |
|
| 54 | - | shape_internalcall: cyan_bold |
|
| 55 | - | shape_keyword: cyan_bold |
|
| 56 | - | shape_list: cyan_bold |
|
| 57 | - | shape_literal: blue |
|
| 58 | - | shape_match_pattern: green |
|
| 59 | - | shape_matching_brackets: { attr: u } |
|
| 60 | - | shape_nothing: light_cyan |
|
| 61 | - | shape_operator: yellow |
|
| 62 | - | shape_or: purple_bold |
|
| 63 | - | shape_pipe: purple_bold |
|
| 64 | - | shape_range: yellow_bold |
|
| 65 | - | shape_record: cyan_bold |
|
| 66 | - | shape_redirection: purple_bold |
|
| 67 | - | shape_signature: green_bold |
|
| 68 | - | shape_string: green |
|
| 69 | - | shape_string_interpolation: cyan_bold |
|
| 70 | - | shape_table: blue_bold |
|
| 71 | - | shape_variable: purple |
|
| 72 | - | shape_vardecl: purple |
|
| 73 | - | shape_raw_string: light_purple |
|
| 74 | - | } |
|
| 75 | - | ||
| 76 | - | let light_theme = { |
|
| 77 | - | # color for nushell primitives |
|
| 78 | - | separator: dark_gray |
|
| 79 | - | leading_trailing_space_bg: { attr: n } # no fg, no bg, attr none effectively turns this off |
|
| 80 | - | header: green_bold |
|
| 81 | - | empty: blue |
|
| 82 | - | # Closures can be used to choose colors for specific values. |
|
| 83 | - | # The value (in this case, a bool) is piped into the closure. |
|
| 84 | - | # eg) {|| if $in { 'dark_cyan' } else { 'dark_gray' } } |
|
| 85 | - | bool: dark_cyan |
|
| 86 | - | int: dark_gray |
|
| 87 | - | filesize: cyan_bold |
|
| 88 | - | duration: dark_gray |
|
| 89 | - | date: purple |
|
| 90 | - | range: dark_gray |
|
| 91 | - | float: dark_gray |
|
| 92 | - | string: dark_gray |
|
| 93 | - | nothing: dark_gray |
|
| 94 | - | binary: dark_gray |
|
| 95 | - | cell-path: dark_gray |
|
| 96 | - | row_index: green_bold |
|
| 97 | - | record: dark_gray |
|
| 98 | - | list: dark_gray |
|
| 99 | - | block: dark_gray |
|
| 100 | - | hints: dark_gray |
|
| 101 | - | search_result: { fg: white bg: red } |
|
| 102 | - | shape_and: purple_bold |
|
| 103 | - | shape_binary: purple_bold |
|
| 104 | - | shape_block: blue_bold |
|
| 105 | - | shape_bool: light_cyan |
|
| 106 | - | shape_closure: green_bold |
|
| 107 | - | shape_custom: green |
|
| 108 | - | shape_datetime: cyan_bold |
|
| 109 | - | shape_directory: cyan |
|
| 110 | - | shape_external: cyan |
|
| 111 | - | shape_externalarg: green_bold |
|
| 112 | - | shape_external_resolved: light_purple_bold |
|
| 113 | - | shape_filepath: cyan |
|
| 114 | - | shape_flag: blue_bold |
|
| 115 | - | shape_float: purple_bold |
|
| 116 | - | # shapes are used to change the cli syntax highlighting |
|
| 117 | - | shape_garbage: { fg: white bg: red attr: b } |
|
| 118 | - | shape_glob_interpolation: cyan_bold |
|
| 119 | - | shape_globpattern: cyan_bold |
|
| 120 | - | shape_int: purple_bold |
|
| 121 | - | shape_internalcall: cyan_bold |
|
| 122 | - | shape_keyword: cyan_bold |
|
| 123 | - | shape_list: cyan_bold |
|
| 124 | - | shape_literal: blue |
|
| 125 | - | shape_match_pattern: green |
|
| 126 | - | shape_matching_brackets: { attr: u } |
|
| 127 | - | shape_nothing: light_cyan |
|
| 128 | - | shape_operator: yellow |
|
| 129 | - | shape_or: purple_bold |
|
| 130 | - | shape_pipe: purple_bold |
|
| 131 | - | shape_range: yellow_bold |
|
| 132 | - | shape_record: cyan_bold |
|
| 133 | - | shape_redirection: purple_bold |
|
| 134 | - | shape_signature: green_bold |
|
| 135 | - | shape_string: green |
|
| 136 | - | shape_string_interpolation: cyan_bold |
|
| 137 | - | shape_table: blue_bold |
|
| 138 | - | shape_variable: purple |
|
| 139 | - | shape_vardecl: purple |
|
| 140 | - | shape_raw_string: light_purple |
|
| 141 | - | } |
|
| 142 | - | ||
| 143 | - | # External completer example |
|
| 144 | - | # let carapace_completer = {|spans| |
|
| 145 | - | # carapace $spans.0 nushell ...$spans | from json |
|
| 146 | - | # } |
|
| 147 | - | ||
| 148 | - | # The default config record. This is where much of your global configuration is setup. |
|
| 149 | - | $env.config = { |
|
| 150 | - | show_banner: false # true or false to enable or disable the welcome banner at startup |
|
| 151 | - | ||
| 152 | - | ls: { |
|
| 153 | - | use_ls_colors: false # use the LS_COLORS environment variable to colorize output |
|
| 154 | - | clickable_links: true # enable or disable clickable links. Your terminal has to support links. |
|
| 155 | - | } |
|
| 156 | - | ||
| 157 | - | rm: { |
|
| 158 | - | always_trash: true # always act as if -t was given. Can be overridden with -p |
|
| 159 | - | } |
|
| 160 | - | ||
| 161 | - | table: { |
|
| 162 | - | mode: rounded # basic, compact, compact_double, light, thin, with_love, rounded, reinforced, heavy, none, other |
|
| 163 | - | index_mode: always # "always" show indexes, "never" show indexes, "auto" = show indexes when a table has "index" column |
|
| 164 | - | show_empty: true # show 'empty list' and 'empty record' placeholders for command output |
|
| 165 | - | padding: { left: 1, right: 1 } # a left right padding of each column in a table |
|
| 166 | - | trim: { |
|
| 167 | - | methodology: wrapping # wrapping or truncating |
|
| 168 | - | wrapping_try_keep_words: true # A strategy used by the 'wrapping' methodology |
|
| 169 | - | truncating_suffix: "..." # A suffix used by the 'truncating' methodology |
|
| 170 | - | } |
|
| 171 | - | header_on_separator: false # show header text on separator/border line |
|
| 172 | - | # abbreviated_row_count: 10 # limit data rows from top and bottom after reaching a set point |
|
| 173 | - | } |
|
| 174 | - | ||
| 175 | - | error_style: "fancy" # "fancy" or "plain" for screen reader-friendly error messages |
|
| 176 | - | ||
| 177 | - | # Whether an error message should be printed if an error of a certain kind is triggered. |
|
| 178 | - | display_errors: { |
|
| 179 | - | exit_code: false # assume the external command prints an error message |
|
| 180 | - | # Core dump errors are always printed, and SIGPIPE never triggers an error. |
|
| 181 | - | # The setting below controls message printing for termination by all other signals. |
|
| 182 | - | termination_signal: true |
|
| 183 | - | } |
|
| 184 | - | ||
| 185 | - | # datetime_format determines what a datetime rendered in the shell would look like. |
|
| 186 | - | # Behavior without this configuration point will be to "humanize" the datetime display, |
|
| 187 | - | # showing something like "a day ago." |
|
| 188 | - | datetime_format: { |
|
| 189 | - | # normal: '%a, %d %b %Y %H:%M:%S %z' # shows up in displays of variables or other datetime's outside of tables |
|
| 190 | - | # table: '%m/%d/%y %I:%M:%S%p' # generally shows up in tabular outputs such as ls. commenting this out will change it to the default human readable datetime format |
|
| 191 | - | } |
|
| 192 | - | ||
| 193 | - | explore: { |
|
| 194 | - | status_bar_background: { fg: "#1D1F21", bg: "#C4C9C6" }, |
|
| 195 | - | command_bar_text: { fg: "#C4C9C6" }, |
|
| 196 | - | highlight: { fg: "black", bg: "yellow" }, |
|
| 197 | - | status: { |
|
| 198 | - | error: { fg: "white", bg: "red" }, |
|
| 199 | - | warn: {} |
|
| 200 | - | info: {} |
|
| 201 | - | }, |
|
| 202 | - | selected_cell: { bg: light_blue }, |
|
| 203 | - | } |
|
| 204 | - | ||
| 205 | - | history: { |
|
| 206 | - | max_size: 100_000 # Session has to be reloaded for this to take effect |
|
| 207 | - | sync_on_enter: true # Enable to share history between multiple sessions, else you have to close the session to write history to file |
|
| 208 | - | file_format: "plaintext" # "sqlite" or "plaintext" |
|
| 209 | - | isolation: false # only available with sqlite file_format. true enables history isolation, false disables it. true will allow the history to be isolated to the current session using up/down arrows. false will allow the history to be shared across all sessions. |
|
| 210 | - | } |
|
| 211 | - | ||
| 212 | - | completions: { |
|
| 213 | - | case_sensitive: false # set to true to enable case-sensitive completions |
|
| 214 | - | quick: true # set this to false to prevent auto-selecting completions when only one remains |
|
| 215 | - | partial: true # set this to false to prevent partial filling of the prompt |
|
| 216 | - | algorithm: "prefix" # prefix or fuzzy |
|
| 217 | - | sort: "smart" # "smart" (alphabetical for prefix matching, fuzzy score for fuzzy matching) or "alphabetical" |
|
| 218 | - | external: { |
|
| 219 | - | enable: true # set to false to prevent nushell looking into $env.PATH to find more suggestions, `false` recommended for WSL users as this look up may be very slow |
|
| 220 | - | max_results: 100 # setting it lower can improve completion performance at the cost of omitting some options |
|
| 221 | - | completer: null # check 'carapace_completer' above as an example |
|
| 222 | - | } |
|
| 223 | - | use_ls_colors: true # set this to true to enable file/path/directory completions using LS_COLORS |
|
| 224 | - | } |
|
| 225 | - | ||
| 226 | - | filesize: { |
|
| 227 | - | metric: false # true => KB, MB, GB (ISO standard), false => KiB, MiB, GiB (Windows standard) |
|
| 228 | - | format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, auto |
|
| 229 | - | } |
|
| 230 | - | ||
| 231 | - | cursor_shape: { |
|
| 232 | - | emacs: line # block, underscore, line, blink_block, blink_underscore, blink_line, inherit to skip setting cursor shape (line is the default) |
|
| 233 | - | vi_insert: block # block, underscore, line, blink_block, blink_underscore, blink_line, inherit to skip setting cursor shape (block is the default) |
|
| 234 | - | vi_normal: line # block, underscore, line, blink_block, blink_underscore, blink_line, inherit to skip setting cursor shape (underscore is the default) |
|
| 235 | - | } |
|
| 236 | - | ||
| 237 | - | color_config: $dark_theme # if you want a more interesting theme, you can replace the empty record with `$dark_theme`, `$light_theme` or another custom record |
|
| 238 | - | footer_mode: 25 # always, never, number_of_rows, auto |
|
| 239 | - | float_precision: 2 # the precision for displaying floats in tables |
|
| 240 | - | buffer_editor: null # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL |
|
| 241 | - | use_ansi_coloring: true |
|
| 242 | - | bracketed_paste: true # enable bracketed paste, currently useless on windows |
|
| 243 | - | edit_mode: vi # emacs, vi |
|
| 244 | - | shell_integration: { |
|
| 245 | - | # osc2 abbreviates the path if in the home_dir, sets the tab/window title, shows the running command in the tab/window title |
|
| 246 | - | osc2: true |
|
| 247 | - | # osc7 is a way to communicate the path to the terminal, this is helpful for spawning new tabs in the same directory |
|
| 248 | - | osc7: true |
|
| 249 | - | # osc8 is also implemented as the deprecated setting ls.show_clickable_links, it shows clickable links in ls output if your terminal supports it. show_clickable_links is deprecated in favor of osc8 |
|
| 250 | - | osc8: true |
|
| 251 | - | # osc9_9 is from ConEmu and is starting to get wider support. It's similar to osc7 in that it communicates the path to the terminal |
|
| 252 | - | osc9_9: false |
|
| 253 | - | # osc133 is several escapes invented by Final Term which include the supported ones below. |
|
| 254 | - | # 133;A - Mark prompt start |
|
| 255 | - | # 133;B - Mark prompt end |
|
| 256 | - | # 133;C - Mark pre-execution |
|
| 257 | - | # 133;D;exit - Mark execution finished with exit code |
|
| 258 | - | # This is used to enable terminals to know where the prompt is, the command is, where the command finishes, and where the output of the command is |
|
| 259 | - | osc133: true |
|
| 260 | - | # osc633 is closely related to osc133 but only exists in visual studio code (vscode) and supports their shell integration features |
|
| 261 | - | # 633;A - Mark prompt start |
|
| 262 | - | # 633;B - Mark prompt end |
|
| 263 | - | # 633;C - Mark pre-execution |
|
| 264 | - | # 633;D;exit - Mark execution finished with exit code |
|
| 265 | - | # 633;E - Explicitly set the command line with an optional nonce |
|
| 266 | - | # 633;P;Cwd=<path> - Mark the current working directory and communicate it to the terminal |
|
| 267 | - | # and also helps with the run recent menu in vscode |
|
| 268 | - | osc633: true |
|
| 269 | - | # reset_application_mode is escape \x1b[?1l and was added to help ssh work better |
|
| 270 | - | reset_application_mode: true |
|
| 271 | - | } |
|
| 272 | - | render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt. |
|
| 273 | - | use_kitty_protocol: false # enables keyboard enhancement protocol implemented by kitty console, only if your terminal support this. |
|
| 274 | - | highlight_resolved_externals: false # true enables highlighting of external commands in the repl resolved by which. |
|
| 275 | - | recursion_limit: 50 # the maximum number of times nushell allows recursion before stopping it |
|
| 276 | - | ||
| 277 | - | plugins: {} # Per-plugin configuration. See https://www.nushell.sh/contributor-book/plugins.html#configuration. |
|
| 278 | - | ||
| 279 | - | plugin_gc: { |
|
| 280 | - | # Configuration for plugin garbage collection |
|
| 281 | - | default: { |
|
| 282 | - | enabled: true # true to enable stopping of inactive plugins |
|
| 283 | - | stop_after: 10sec # how long to wait after a plugin is inactive to stop it |
|
| 284 | - | } |
|
| 285 | - | plugins: { |
|
| 286 | - | # alternate configuration for specific plugins, by name, for example: |
|
| 287 | - | # |
|
| 288 | - | # gstat: { |
|
| 289 | - | # enabled: false |
|
| 290 | - | # } |
|
| 291 | - | } |
|
| 292 | - | } |
|
| 293 | - | ||
| 294 | - | hooks: { |
|
| 295 | - | pre_prompt: [{ null }] # run before the prompt is shown |
|
| 296 | - | pre_execution: [{ null }] # run before the repl input is run |
|
| 297 | - | env_change: { |
|
| 298 | - | PWD: [{|before, after| null }] # run if the PWD environment is different since the last repl input |
|
| 299 | - | } |
|
| 300 | - | display_output: "if (term size).columns >= 100 { table -e } else { table }" # run to display the output of a pipeline |
|
| 301 | - | command_not_found: { null } # return an error message when a command is not found |
|
| 302 | - | } |
|
| 303 | - | ||
| 304 | - | menus: [ |
|
| 305 | - | # Configuration for default nushell menus |
|
| 306 | - | # Note the lack of source parameter |
|
| 307 | - | { |
|
| 308 | - | name: completion_menu |
|
| 309 | - | only_buffer_difference: false |
|
| 310 | - | marker: "| " |
|
| 311 | - | type: { |
|
| 312 | - | layout: columnar |
|
| 313 | - | columns: 4 |
|
| 314 | - | col_width: 20 # Optional value. If missing all the screen width is used to calculate column width |
|
| 315 | - | col_padding: 2 |
|
| 316 | - | } |
|
| 317 | - | style: { |
|
| 318 | - | text: green |
|
| 319 | - | selected_text: { attr: r } |
|
| 320 | - | description_text: yellow |
|
| 321 | - | match_text: { attr: u } |
|
| 322 | - | selected_match_text: { attr: ur } |
|
| 323 | - | } |
|
| 324 | - | } |
|
| 325 | - | { |
|
| 326 | - | name: ide_completion_menu |
|
| 327 | - | only_buffer_difference: false |
|
| 328 | - | marker: "| " |
|
| 329 | - | type: { |
|
| 330 | - | layout: ide |
|
| 331 | - | min_completion_width: 0, |
|
| 332 | - | max_completion_width: 50, |
|
| 333 | - | max_completion_height: 10, # will be limited by the available lines in the terminal |
|
| 334 | - | padding: 0, |
|
| 335 | - | border: true, |
|
| 336 | - | cursor_offset: 0, |
|
| 337 | - | description_mode: "prefer_right" |
|
| 338 | - | min_description_width: 0 |
|
| 339 | - | max_description_width: 50 |
|
| 340 | - | max_description_height: 10 |
|
| 341 | - | description_offset: 1 |
|
| 342 | - | # If true, the cursor pos will be corrected, so the suggestions match up with the typed text |
|
| 343 | - | # |
|
| 344 | - | # C:\> str |
|
| 345 | - | # str join |
|
| 346 | - | # str trim |
|
| 347 | - | # str split |
|
| 348 | - | correct_cursor_pos: false |
|
| 349 | - | } |
|
| 350 | - | style: { |
|
| 351 | - | text: green |
|
| 352 | - | selected_text: { attr: r } |
|
| 353 | - | description_text: yellow |
|
| 354 | - | match_text: { attr: u } |
|
| 355 | - | selected_match_text: { attr: ur } |
|
| 356 | - | } |
|
| 357 | - | } |
|
| 358 | - | { |
|
| 359 | - | name: history_menu |
|
| 360 | - | only_buffer_difference: true |
|
| 361 | - | marker: "? " |
|
| 362 | - | type: { |
|
| 363 | - | layout: list |
|
| 364 | - | page_size: 10 |
|
| 365 | - | } |
|
| 366 | - | style: { |
|
| 367 | - | text: green |
|
| 368 | - | selected_text: green_reverse |
|
| 369 | - | description_text: yellow |
|
| 370 | - | } |
|
| 371 | - | } |
|
| 372 | - | { |
|
| 373 | - | name: help_menu |
|
| 374 | - | only_buffer_difference: true |
|
| 375 | - | marker: "? " |
|
| 376 | - | type: { |
|
| 377 | - | layout: description |
|
| 378 | - | columns: 4 |
|
| 379 | - | col_width: 20 # Optional value. If missing all the screen width is used to calculate column width |
|
| 380 | - | col_padding: 2 |
|
| 381 | - | selection_rows: 4 |
|
| 382 | - | description_rows: 10 |
|
| 383 | - | } |
|
| 384 | - | style: { |
|
| 385 | - | text: green |
|
| 386 | - | selected_text: green_reverse |
|
| 387 | - | description_text: yellow |
|
| 388 | - | } |
|
| 389 | - | } |
|
| 390 | - | ] |
|
| 391 | - | ||
| 392 | - | keybindings: [ |
|
| 393 | - | { |
|
| 394 | - | name: completion_menu |
|
| 395 | - | modifier: none |
|
| 396 | - | keycode: tab |
|
| 397 | - | mode: [emacs vi_normal vi_insert] |
|
| 398 | - | event: { |
|
| 399 | - | until: [ |
|
| 400 | - | { send: menu name: completion_menu } |
|
| 401 | - | { send: menunext } |
|
| 402 | - | { edit: complete } |
|
| 403 | - | ] |
|
| 404 | - | } |
|
| 405 | - | } |
|
| 406 | - | { |
|
| 407 | - | name: completion_previous_menu |
|
| 408 | - | modifier: shift |
|
| 409 | - | keycode: backtab |
|
| 410 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 411 | - | event: { send: menuprevious } |
|
| 412 | - | } |
|
| 413 | - | { |
|
| 414 | - | name: ide_completion_menu |
|
| 415 | - | modifier: control |
|
| 416 | - | keycode: space |
|
| 417 | - | mode: [emacs vi_normal vi_insert] |
|
| 418 | - | event: { |
|
| 419 | - | until: [ |
|
| 420 | - | { send: menu name: ide_completion_menu } |
|
| 421 | - | { send: menunext } |
|
| 422 | - | { edit: complete } |
|
| 423 | - | ] |
|
| 424 | - | } |
|
| 425 | - | } |
|
| 426 | - | { |
|
| 427 | - | name: history_menu |
|
| 428 | - | modifier: control |
|
| 429 | - | keycode: char_r |
|
| 430 | - | mode: [emacs, vi_insert, vi_normal] |
|
| 431 | - | event: { send: menu name: history_menu } |
|
| 432 | - | } |
|
| 433 | - | { |
|
| 434 | - | name: help_menu |
|
| 435 | - | modifier: none |
|
| 436 | - | keycode: f1 |
|
| 437 | - | mode: [emacs, vi_insert, vi_normal] |
|
| 438 | - | event: { send: menu name: help_menu } |
|
| 439 | - | } |
|
| 440 | - | { |
|
| 441 | - | name: next_page_menu |
|
| 442 | - | modifier: control |
|
| 443 | - | keycode: char_x |
|
| 444 | - | mode: emacs |
|
| 445 | - | event: { send: menupagenext } |
|
| 446 | - | } |
|
| 447 | - | { |
|
| 448 | - | name: undo_or_previous_page_menu |
|
| 449 | - | modifier: control |
|
| 450 | - | keycode: char_z |
|
| 451 | - | mode: emacs |
|
| 452 | - | event: { |
|
| 453 | - | until: [ |
|
| 454 | - | { send: menupageprevious } |
|
| 455 | - | { edit: undo } |
|
| 456 | - | ] |
|
| 457 | - | } |
|
| 458 | - | } |
|
| 459 | - | { |
|
| 460 | - | name: escape |
|
| 461 | - | modifier: none |
|
| 462 | - | keycode: escape |
|
| 463 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 464 | - | event: { send: esc } # NOTE: does not appear to work |
|
| 465 | - | } |
|
| 466 | - | { |
|
| 467 | - | name: cancel_command |
|
| 468 | - | modifier: control |
|
| 469 | - | keycode: char_c |
|
| 470 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 471 | - | event: { send: ctrlc } |
|
| 472 | - | } |
|
| 473 | - | { |
|
| 474 | - | name: quit_shell |
|
| 475 | - | modifier: control |
|
| 476 | - | keycode: char_d |
|
| 477 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 478 | - | event: { send: ctrld } |
|
| 479 | - | } |
|
| 480 | - | { |
|
| 481 | - | name: clear_screen |
|
| 482 | - | modifier: control |
|
| 483 | - | keycode: char_l |
|
| 484 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 485 | - | event: { send: clearscreen } |
|
| 486 | - | } |
|
| 487 | - | { |
|
| 488 | - | name: search_history |
|
| 489 | - | modifier: control |
|
| 490 | - | keycode: char_q |
|
| 491 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 492 | - | event: { send: searchhistory } |
|
| 493 | - | } |
|
| 494 | - | { |
|
| 495 | - | name: open_command_editor |
|
| 496 | - | modifier: control |
|
| 497 | - | keycode: char_o |
|
| 498 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 499 | - | event: { send: openeditor } |
|
| 500 | - | } |
|
| 501 | - | { |
|
| 502 | - | name: move_up |
|
| 503 | - | modifier: none |
|
| 504 | - | keycode: up |
|
| 505 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 506 | - | event: { |
|
| 507 | - | until: [ |
|
| 508 | - | { send: menuup } |
|
| 509 | - | { send: up } |
|
| 510 | - | ] |
|
| 511 | - | } |
|
| 512 | - | } |
|
| 513 | - | { |
|
| 514 | - | name: move_down |
|
| 515 | - | modifier: none |
|
| 516 | - | keycode: down |
|
| 517 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 518 | - | event: { |
|
| 519 | - | until: [ |
|
| 520 | - | { send: menudown } |
|
| 521 | - | { send: down } |
|
| 522 | - | ] |
|
| 523 | - | } |
|
| 524 | - | } |
|
| 525 | - | { |
|
| 526 | - | name: move_left |
|
| 527 | - | modifier: none |
|
| 528 | - | keycode: left |
|
| 529 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 530 | - | event: { |
|
| 531 | - | until: [ |
|
| 532 | - | { send: menuleft } |
|
| 533 | - | { send: left } |
|
| 534 | - | ] |
|
| 535 | - | } |
|
| 536 | - | } |
|
| 537 | - | { |
|
| 538 | - | name: move_right_or_take_history_hint |
|
| 539 | - | modifier: none |
|
| 540 | - | keycode: right |
|
| 541 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 542 | - | event: { |
|
| 543 | - | until: [ |
|
| 544 | - | { send: historyhintcomplete } |
|
| 545 | - | { send: menuright } |
|
| 546 | - | { send: right } |
|
| 547 | - | ] |
|
| 548 | - | } |
|
| 549 | - | } |
|
| 550 | - | { |
|
| 551 | - | name: move_one_word_left |
|
| 552 | - | modifier: control |
|
| 553 | - | keycode: left |
|
| 554 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 555 | - | event: { edit: movewordleft } |
|
| 556 | - | } |
|
| 557 | - | { |
|
| 558 | - | name: move_one_word_right_or_take_history_hint |
|
| 559 | - | modifier: control |
|
| 560 | - | keycode: right |
|
| 561 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 562 | - | event: { |
|
| 563 | - | until: [ |
|
| 564 | - | { send: historyhintwordcomplete } |
|
| 565 | - | { edit: movewordright } |
|
| 566 | - | ] |
|
| 567 | - | } |
|
| 568 | - | } |
|
| 569 | - | { |
|
| 570 | - | name: move_to_line_start |
|
| 571 | - | modifier: none |
|
| 572 | - | keycode: home |
|
| 573 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 574 | - | event: { edit: movetolinestart } |
|
| 575 | - | } |
|
| 576 | - | { |
|
| 577 | - | name: move_to_line_start |
|
| 578 | - | modifier: control |
|
| 579 | - | keycode: char_a |
|
| 580 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 581 | - | event: { edit: movetolinestart } |
|
| 582 | - | } |
|
| 583 | - | { |
|
| 584 | - | name: move_to_line_end_or_take_history_hint |
|
| 585 | - | modifier: none |
|
| 586 | - | keycode: end |
|
| 587 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 588 | - | event: { |
|
| 589 | - | until: [ |
|
| 590 | - | { send: historyhintcomplete } |
|
| 591 | - | { edit: movetolineend } |
|
| 592 | - | ] |
|
| 593 | - | } |
|
| 594 | - | } |
|
| 595 | - | { |
|
| 596 | - | name: move_to_line_end_or_take_history_hint |
|
| 597 | - | modifier: control |
|
| 598 | - | keycode: char_e |
|
| 599 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 600 | - | event: { |
|
| 601 | - | until: [ |
|
| 602 | - | { send: historyhintcomplete } |
|
| 603 | - | { edit: movetolineend } |
|
| 604 | - | ] |
|
| 605 | - | } |
|
| 606 | - | } |
|
| 607 | - | { |
|
| 608 | - | name: move_to_line_start |
|
| 609 | - | modifier: control |
|
| 610 | - | keycode: home |
|
| 611 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 612 | - | event: { edit: movetolinestart } |
|
| 613 | - | } |
|
| 614 | - | { |
|
| 615 | - | name: move_to_line_end |
|
| 616 | - | modifier: control |
|
| 617 | - | keycode: end |
|
| 618 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 619 | - | event: { edit: movetolineend } |
|
| 620 | - | } |
|
| 621 | - | { |
|
| 622 | - | name: move_down |
|
| 623 | - | modifier: control |
|
| 624 | - | keycode: char_n |
|
| 625 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 626 | - | event: { |
|
| 627 | - | until: [ |
|
| 628 | - | { send: menudown } |
|
| 629 | - | { send: down } |
|
| 630 | - | ] |
|
| 631 | - | } |
|
| 632 | - | } |
|
| 633 | - | { |
|
| 634 | - | name: move_up |
|
| 635 | - | modifier: control |
|
| 636 | - | keycode: char_p |
|
| 637 | - | mode: [emacs, vi_normal, vi_insert] |
|
| 638 | - | event: { |
|
| 639 | - | until: [ |
|
| 640 | - | { send: menuup } |
|
| 641 | - | { send: up } |
|
| 642 | - | ] |
|
| 643 | - | } |
|
| 644 | - | } |
|
| 645 | - | { |
|
| 646 | - | name: delete_one_character_backward |
|
| 647 | - | modifier: none |
|
| 648 | - | keycode: backspace |
|
| 649 | - | mode: [emacs, vi_insert] |
|
| 650 | - | event: { edit: backspace } |
|
| 651 | - | } |
|
| 652 | - | { |
|
| 653 | - | name: delete_one_word_backward |
|
| 654 | - | modifier: control |
|
| 655 | - | keycode: backspace |
|
| 656 | - | mode: [emacs, vi_insert] |
|
| 657 | - | event: { edit: backspaceword } |
|
| 658 | - | } |
|
| 659 | - | { |
|
| 660 | - | name: delete_one_character_forward |
|
| 661 | - | modifier: none |
|
| 662 | - | keycode: delete |
|
| 663 | - | mode: [emacs, vi_insert] |
|
| 664 | - | event: { edit: delete } |
|
| 665 | - | } |
|
| 666 | - | { |
|
| 667 | - | name: delete_one_character_forward |
|
| 668 | - | modifier: control |
|
| 669 | - | keycode: delete |
|
| 670 | - | mode: [emacs, vi_insert] |
|
| 671 | - | event: { edit: delete } |
|
| 672 | - | } |
|
| 673 | - | { |
|
| 674 | - | name: delete_one_character_backward |
|
| 675 | - | modifier: control |
|
| 676 | - | keycode: char_h |
|
| 677 | - | mode: [emacs, vi_insert] |
|
| 678 | - | event: { edit: backspace } |
|
| 679 | - | } |
|
| 680 | - | { |
|
| 681 | - | name: delete_one_word_backward |
|
| 682 | - | modifier: control |
|
| 683 | - | keycode: char_w |
|
| 684 | - | mode: [emacs, vi_insert] |
|
| 685 | - | event: { edit: backspaceword } |
|
| 686 | - | } |
|
| 687 | - | { |
|
| 688 | - | name: move_left |
|
| 689 | - | modifier: none |
|
| 690 | - | keycode: backspace |
|
| 691 | - | mode: vi_normal |
|
| 692 | - | event: { edit: moveleft } |
|
| 693 | - | } |
|
| 694 | - | { |
|
| 695 | - | name: newline_or_run_command |
|
| 696 | - | modifier: none |
|
| 697 | - | keycode: enter |
|
| 698 | - | mode: emacs |
|
| 699 | - | event: { send: enter } |
|
| 700 | - | } |
|
| 701 | - | { |
|
| 702 | - | name: move_left |
|
| 703 | - | modifier: control |
|
| 704 | - | keycode: char_b |
|
| 705 | - | mode: emacs |
|
| 706 | - | event: { |
|
| 707 | - | until: [ |
|
| 708 | - | { send: menuleft } |
|
| 709 | - | { send: left } |
|
| 710 | - | ] |
|
| 711 | - | } |
|
| 712 | - | } |
|
| 713 | - | { |
|
| 714 | - | name: move_right_or_take_history_hint |
|
| 715 | - | modifier: control |
|
| 716 | - | keycode: char_f |
|
| 717 | - | mode: emacs |
|
| 718 | - | event: { |
|
| 719 | - | until: [ |
|
| 720 | - | { send: historyhintcomplete } |
|
| 721 | - | { send: menuright } |
|
| 722 | - | { send: right } |
|
| 723 | - | ] |
|
| 724 | - | } |
|
| 725 | - | } |
|
| 726 | - | { |
|
| 727 | - | name: redo_change |
|
| 728 | - | modifier: control |
|
| 729 | - | keycode: char_g |
|
| 730 | - | mode: emacs |
|
| 731 | - | event: { edit: redo } |
|
| 732 | - | } |
|
| 733 | - | { |
|
| 734 | - | name: undo_change |
|
| 735 | - | modifier: control |
|
| 736 | - | keycode: char_z |
|
| 737 | - | mode: emacs |
|
| 738 | - | event: { edit: undo } |
|
| 739 | - | } |
|
| 740 | - | { |
|
| 741 | - | name: paste_before |
|
| 742 | - | modifier: control |
|
| 743 | - | keycode: char_y |
|
| 744 | - | mode: emacs |
|
| 745 | - | event: { edit: pastecutbufferbefore } |
|
| 746 | - | } |
|
| 747 | - | { |
|
| 748 | - | name: cut_word_left |
|
| 749 | - | modifier: control |
|
| 750 | - | keycode: char_w |
|
| 751 | - | mode: emacs |
|
| 752 | - | event: { edit: cutwordleft } |
|
| 753 | - | } |
|
| 754 | - | { |
|
| 755 | - | name: cut_line_to_end |
|
| 756 | - | modifier: control |
|
| 757 | - | keycode: char_k |
|
| 758 | - | mode: emacs |
|
| 759 | - | event: { edit: cuttolineend } |
|
| 760 | - | } |
|
| 761 | - | { |
|
| 762 | - | name: cut_line_from_start |
|
| 763 | - | modifier: control |
|
| 764 | - | keycode: char_u |
|
| 765 | - | mode: emacs |
|
| 766 | - | event: { edit: cutfromstart } |
|
| 767 | - | } |
|
| 768 | - | { |
|
| 769 | - | name: swap_graphemes |
|
| 770 | - | modifier: control |
|
| 771 | - | keycode: char_t |
|
| 772 | - | mode: emacs |
|
| 773 | - | event: { edit: swapgraphemes } |
|
| 774 | - | } |
|
| 775 | - | { |
|
| 776 | - | name: move_one_word_left |
|
| 777 | - | modifier: alt |
|
| 778 | - | keycode: left |
|
| 779 | - | mode: emacs |
|
| 780 | - | event: { edit: movewordleft } |
|
| 781 | - | } |
|
| 782 | - | { |
|
| 783 | - | name: move_one_word_right_or_take_history_hint |
|
| 784 | - | modifier: alt |
|
| 785 | - | keycode: right |
|
| 786 | - | mode: emacs |
|
| 787 | - | event: { |
|
| 788 | - | until: [ |
|
| 789 | - | { send: historyhintwordcomplete } |
|
| 790 | - | { edit: movewordright } |
|
| 791 | - | ] |
|
| 792 | - | } |
|
| 793 | - | } |
|
| 794 | - | { |
|
| 795 | - | name: move_one_word_left |
|
| 796 | - | modifier: alt |
|
| 797 | - | keycode: char_b |
|
| 798 | - | mode: emacs |
|
| 799 | - | event: { edit: movewordleft } |
|
| 800 | - | } |
|
| 801 | - | { |
|
| 802 | - | name: move_one_word_right_or_take_history_hint |
|
| 803 | - | modifier: alt |
|
| 804 | - | keycode: char_f |
|
| 805 | - | mode: emacs |
|
| 806 | - | event: { |
|
| 807 | - | until: [ |
|
| 808 | - | { send: historyhintwordcomplete } |
|
| 809 | - | { edit: movewordright } |
|
| 810 | - | ] |
|
| 811 | - | } |
|
| 812 | - | } |
|
| 813 | - | { |
|
| 814 | - | name: delete_one_word_forward |
|
| 815 | - | modifier: alt |
|
| 816 | - | keycode: delete |
|
| 817 | - | mode: emacs |
|
| 818 | - | event: { edit: deleteword } |
|
| 819 | - | } |
|
| 820 | - | { |
|
| 821 | - | name: delete_one_word_backward |
|
| 822 | - | modifier: alt |
|
| 823 | - | keycode: backspace |
|
| 824 | - | mode: emacs |
|
| 825 | - | event: { edit: backspaceword } |
|
| 826 | - | } |
|
| 827 | - | { |
|
| 828 | - | name: delete_one_word_backward |
|
| 829 | - | modifier: alt |
|
| 830 | - | keycode: char_m |
|
| 831 | - | mode: emacs |
|
| 832 | - | event: { edit: backspaceword } |
|
| 833 | - | } |
|
| 834 | - | { |
|
| 835 | - | name: cut_word_to_right |
|
| 836 | - | modifier: alt |
|
| 837 | - | keycode: char_d |
|
| 838 | - | mode: emacs |
|
| 839 | - | event: { edit: cutwordright } |
|
| 840 | - | } |
|
| 841 | - | { |
|
| 842 | - | name: upper_case_word |
|
| 843 | - | modifier: alt |
|
| 844 | - | keycode: char_u |
|
| 845 | - | mode: emacs |
|
| 846 | - | event: { edit: uppercaseword } |
|
| 847 | - | } |
|
| 848 | - | { |
|
| 849 | - | name: lower_case_word |
|
| 850 | - | modifier: alt |
|
| 851 | - | keycode: char_l |
|
| 852 | - | mode: emacs |
|
| 853 | - | event: { edit: lowercaseword } |
|
| 854 | - | } |
|
| 855 | - | { |
|
| 856 | - | name: capitalize_char |
|
| 857 | - | modifier: alt |
|
| 858 | - | keycode: char_c |
|
| 859 | - | mode: emacs |
|
| 860 | - | event: { edit: capitalizechar } |
|
| 861 | - | } |
|
| 862 | - | # The following bindings with `*system` events require that Nushell has |
|
| 863 | - | # been compiled with the `system-clipboard` feature. |
|
| 864 | - | # If you want to use the system clipboard for visual selection or to |
|
| 865 | - | # paste directly, uncomment the respective lines and replace the version |
|
| 866 | - | # using the internal clipboard. |
|
| 867 | - | { |
|
| 868 | - | name: copy_selection |
|
| 869 | - | modifier: control_shift |
|
| 870 | - | keycode: char_c |
|
| 871 | - | mode: emacs |
|
| 872 | - | event: { edit: copyselection } |
|
| 873 | - | # event: { edit: copyselectionsystem } |
|
| 874 | - | } |
|
| 875 | - | { |
|
| 876 | - | name: cut_selection |
|
| 877 | - | modifier: control_shift |
|
| 878 | - | keycode: char_x |
|
| 879 | - | mode: emacs |
|
| 880 | - | event: { edit: cutselection } |
|
| 881 | - | # event: { edit: cutselectionsystem } |
|
| 882 | - | } |
|
| 883 | - | # { |
|
| 884 | - | # name: paste_system |
|
| 885 | - | # modifier: control_shift |
|
| 886 | - | # keycode: char_v |
|
| 887 | - | # mode: emacs |
|
| 888 | - | # event: { edit: pastesystem } |
|
| 889 | - | # } |
|
| 890 | - | { |
|
| 891 | - | name: select_all |
|
| 892 | - | modifier: control_shift |
|
| 893 | - | keycode: char_a |
|
| 894 | - | mode: emacs |
|
| 895 | - | event: { edit: selectall } |
|
| 896 | - | } |
|
| 897 | - | ] |
|
| 898 | - | } |
|
| 899 | - | ||
| 900 | - | $env.config.hooks.env_change.PWD = [...$env.config.hooks.env_change.PWD |
|
| 901 | - | { |_, after| |
|
| 902 | - | if (($after | path join .node-version | path exists) or ($after | path join .nvmrc | path exists)) { |
|
| 903 | - | fnm use --silent-if-unchanged |
|
| 904 | - | } |
|
| 905 | - | }] |
|
| 906 | - | ||
| 907 | - | def t [] { |
|
| 908 | - | sesh list -i | gum filter --limit 1 --placeholder "Choose a session" --height 50 --prompt="⚡" |
|
| 909 | - | } |
|
| 910 | - | ||
| 911 | - | alias ll = ls -l |
|
| 912 | - | alias la = ls -a |
|
| 913 | - | alias lg = lazygit |
|
| 914 | - | alias nf = neofetch |
|
| 915 | - | alias fl = fastfetch -c ~/.config/fastfetch/presets/examples/8.jsonc |
|
| 916 | - | alias ff = fastfetch -c ~/.config/fastfetch/presets/examples/20.jsonc |
|
| 917 | - | alias tailscale = /Applications/Tailscale.app/Contents/MacOS/Tailscale |
|
| 918 | - | ||
| 919 | - | ||
| 920 | - | source ~/.config/nushell/black-metal-bathory.nu |
|
| 921 | - | source ~/.config/nushell/zoxide.nu |
|
| 922 | - | source ~/.config/nushell/git-completions.nu |
|
| 923 | - | use ~/.cache/starship/init.nu |
| 1 | - | # Nushell Environment Config File |
|
| 2 | - | # |
|
| 3 | - | # version = "0.99.1" |
|
| 4 | - | ||
| 5 | - | # def create_left_prompt [] { |
|
| 6 | - | # let dir = match (do --ignore-shell-errors { $env.PWD | path relative-to $nu.home-path }) { |
|
| 7 | - | # null => $env.PWD |
|
| 8 | - | # '' => '~' |
|
| 9 | - | # $relative_pwd => ([~ $relative_pwd] | path join) |
|
| 10 | - | # } |
|
| 11 | - | # |
|
| 12 | - | # let path_color = (if (is-admin) { ansi red_bold } else { ansi green_bold }) |
|
| 13 | - | # let separator_color = (if (is-admin) { ansi light_red_bold } else { ansi light_green_bold }) |
|
| 14 | - | # let path_segment = $"($path_color)($dir)(ansi reset)" |
|
| 15 | - | # |
|
| 16 | - | # $path_segment | str replace --all (char path_sep) $"($separator_color)(char path_sep)($path_color)" |
|
| 17 | - | # } |
|
| 18 | - | # |
|
| 19 | - | # def create_right_prompt [] { |
|
| 20 | - | # # create a right prompt in magenta with green separators and am/pm underlined |
|
| 21 | - | # let time_segment = ([ |
|
| 22 | - | # (ansi reset) |
|
| 23 | - | # (ansi magenta) |
|
| 24 | - | # (date now | format date '%x %X') # try to respect user's locale |
|
| 25 | - | # ] | str join | str replace --regex --all "([/:])" $"(ansi green)${1}(ansi magenta)" | |
|
| 26 | - | # str replace --regex --all "([AP]M)" $"(ansi magenta_underline)${1}") |
|
| 27 | - | # |
|
| 28 | - | # let last_exit_code = if ($env.LAST_EXIT_CODE != 0) {([ |
|
| 29 | - | # (ansi rb) |
|
| 30 | - | # ($env.LAST_EXIT_CODE) |
|
| 31 | - | # ] | str join) |
|
| 32 | - | # } else { "" } |
|
| 33 | - | # |
|
| 34 | - | # ([$last_exit_code, (char space), $time_segment] | str join) |
|
| 35 | - | # } |
|
| 36 | - | ||
| 37 | - | # Use nushell functions to define your right and left prompt |
|
| 38 | - | # $env.PROMPT_COMMAND = {|| create_left_prompt } |
|
| 39 | - | # FIXME: This default is not implemented in rust code as of 2023-09-08. |
|
| 40 | - | # $env.PROMPT_COMMAND_RIGHT = {|| create_right_prompt } |
|
| 41 | - | ||
| 42 | - | # The prompt indicators are environmental variables that represent |
|
| 43 | - | # the state of the prompt |
|
| 44 | - | $env.PROMPT_INDICATOR = {|| "> " } |
|
| 45 | - | $env.PROMPT_INDICATOR_VI_INSERT = {|| "" } |
|
| 46 | - | $env.PROMPT_INDICATOR_VI_NORMAL = {|| "" } |
|
| 47 | - | $env.PROMPT_MULTILINE_INDICATOR = {|| "::: " } |
|
| 48 | - | $env.STARSHIP_SHELL = "nu" |
|
| 49 | - | ||
| 50 | - | ||
| 51 | - | # If you want previously entered commands to have a different prompt from the usual one, |
|
| 52 | - | # you can uncomment one or more of the following lines. |
|
| 53 | - | # This can be useful if you have a 2-line prompt and it's taking up a lot of space |
|
| 54 | - | # because every command entered takes up 2 lines instead of 1. You can then uncomment |
|
| 55 | - | # the line below so that previously entered commands show with a single `🚀`. |
|
| 56 | - | # $env.TRANSIENT_PROMPT_COMMAND = {|| "🚀 " } |
|
| 57 | - | # $env.TRANSIENT_PROMPT_INDICATOR = {|| "" } |
|
| 58 | - | # $env.TRANSIENT_PROMPT_INDICATOR_VI_INSERT = {|| "" } |
|
| 59 | - | # $env.TRANSIENT_PROMPT_INDICATOR_VI_NORMAL = {|| "" } |
|
| 60 | - | # $env.TRANSIENT_PROMPT_MULTILINE_INDICATOR = {|| "" } |
|
| 61 | - | # $env.TRANSIENT_PROMPT_COMMAND_RIGHT = {|| "" } |
|
| 62 | - | ||
| 63 | - | # Specifies how environment variables are: |
|
| 64 | - | # - converted from a string to a value on Nushell startup (from_string) |
|
| 65 | - | # - converted from a value back to a string when running external commands (to_string) |
|
| 66 | - | # Note: The conversions happen *after* config.nu is loaded |
|
| 67 | - | $env.ENV_CONVERSIONS = { |
|
| 68 | - | "PATH": { |
|
| 69 | - | from_string: { |s| $s | split row (char esep) | path expand --no-symlink } |
|
| 70 | - | to_string: { |v| $v | path expand --no-symlink | str join (char esep) } |
|
| 71 | - | } |
|
| 72 | - | "Path": { |
|
| 73 | - | from_string: { |s| $s | split row (char esep) | path expand --no-symlink } |
|
| 74 | - | to_string: { |v| $v | path expand --no-symlink | str join (char esep) } |
|
| 75 | - | } |
|
| 76 | - | } |
|
| 77 | - | ||
| 78 | - | # Directories to search for scripts when calling source or use |
|
| 79 | - | # The default for this is $nu.default-config-dir/scripts |
|
| 80 | - | $env.NU_LIB_DIRS = [ |
|
| 81 | - | ($nu.default-config-dir | path join 'scripts') # add <nushell-config-dir>/scripts |
|
| 82 | - | ($nu.data-dir | path join 'completions') # default home for nushell completions |
|
| 83 | - | ] |
|
| 84 | - | ||
| 85 | - | # Directories to search for plugin binaries when calling register |
|
| 86 | - | # The default for this is $nu.default-config-dir/plugins |
|
| 87 | - | $env.NU_PLUGIN_DIRS = [ |
|
| 88 | - | ($nu.default-config-dir | path join 'plugins') # add <nushell-config-dir>/plugins |
|
| 89 | - | ] |
|
| 90 | - | ||
| 91 | - | ||
| 92 | - | # To add entries to PATH (on Windows you might use Path), you can use the following pattern: |
|
| 93 | - | # $env.PATH = ($env.PATH | split row (char esep) | prepend '/some/path') |
|
| 94 | - | # An alternate way to add entries to $env.PATH is to use the custom command `path add` |
|
| 95 | - | # which is built into the nushell stdlib: |
|
| 96 | - | use std "path add" |
|
| 97 | - | ||
| 98 | - | # $env.PATH = ($env.PATH | split row (char esep)) |
|
| 99 | - | # path add /some/path |
|
| 100 | - | # path add ($env.CARGO_HOME | path join "bin") |
|
| 101 | - | # path add ($env.HOME | path join ".local" "bin") |
|
| 102 | - | # $env.PATH = ($env.PATH | uniq) |
|
| 103 | - | ||
| 104 | - | path add /opt/homebrew/bin |
|
| 105 | - | path add ~/.cargo/bin |
|
| 106 | - | path add ~/.local/share/go/bin |
|
| 107 | - | path add ~/.local/bin |
|
| 108 | - | path add /usr/local/bin |
|
| 109 | - | path add ~/.bun/bin |
|
| 110 | - | path add /Applications/Docker.app/Contents/Resources/bin |
|
| 111 | - | $env.GOPATH = "/Users/stevedsimkins/.local/share/go" |
|
| 112 | - | # $env.GITHUB_TOKEN = (prs show github/secret) |
|
| 113 | - | path add ~/.tmux/plugins/t-smart-tmux-session-manager/bin |
|
| 114 | - | path add ~/.deno/bin |
|
| 115 | - | path add ~/.foundry/bin |
|
| 116 | - | path add ~/.local/share/pinata-go-cli |
|
| 117 | - | path add ~/.local/share/solana/install/active_release/bin |
|
| 118 | - | $env.RUSTUP_TOOLCHAIN = "nightly-2024-11-19" |
|
| 119 | - | # $env.FNM_DIR = "/Users/stevedsimkins/Library/Application Support/fnm" |
|
| 120 | - | # $env.FNM_ARCH = "arm64" |
|
| 121 | - | # $env.FNM_LOGLEVEL = "info" |
|
| 122 | - | # $env.FNM_COREPACK_ENABLED = "false" |
|
| 123 | - | # $env.FNM_RESOLVE_ENGINES = "false" |
|
| 124 | - | # $env.FNM_VERSION_FILE_STRATEGY = "local" |
|
| 125 | - | # $env.FNM_MULTISHELL_PATH = "/Users/stevedsimkins/.local/state/fnm_multishells/96094_1730946598404" |
|
| 126 | - | # $env.FNM_NODE_DIST_MIRROR = "https://nodejs.org/dist" |
|
| 127 | - | fnm env --json | from json | load-env |
|
| 128 | - | path add ($env.FNM_MULTISHELL_PATH + "/bin") |
|
| 129 | - | ||
| 130 | - | ||
| 131 | - | # set -x PATH "/opt/homebrew/opt/llvm/bin:$PATH" |
|
| 132 | - | ||
| 133 | - | ||
| 134 | - | # To load from a custom file you can use: |
|
| 135 | - | # source ~/.config/nushell/env.nu |
|
| 136 | - | ||
| 137 | - | $env.EDITOR = "nvim" |
|
| 138 | - | ||
| 139 | - | mkdir ~/.cache/starship |
|
| 140 | - | starship init nu | save -f ~/.cache/starship/init.nu |
| 1 | - | def "nu-complete git available upstream" [] { |
|
| 2 | - | ^git branch --no-color -a | lines | each { |line| $line | str replace '* ' "" | str trim } |
|
| 3 | - | } |
|
| 4 | - | ||
| 5 | - | def "nu-complete git remotes" [] { |
|
| 6 | - | ^git remote | lines | each { |line| $line | str trim } |
|
| 7 | - | } |
|
| 8 | - | ||
| 9 | - | def "nu-complete git log" [] { |
|
| 10 | - | ^git log --pretty=%h | lines | each { |line| $line | str trim } |
|
| 11 | - | } |
|
| 12 | - | ||
| 13 | - | # Yield all existing commits in descending chronological order. |
|
| 14 | - | def "nu-complete git commits all" [] { |
|
| 15 | - | ^git rev-list --all --remotes --pretty=oneline | lines | parse "{value} {description}" |
|
| 16 | - | } |
|
| 17 | - | ||
| 18 | - | # Yield commits of current branch only. This is useful for e.g. cut points in |
|
| 19 | - | # `git rebase`. |
|
| 20 | - | def "nu-complete git commits current branch" [] { |
|
| 21 | - | ^git log --pretty="%h %s" | lines | parse "{value} {description}" |
|
| 22 | - | } |
|
| 23 | - | ||
| 24 | - | # Yield local branches like `main`, `feature/typo_fix` |
|
| 25 | - | def "nu-complete git local branches" [] { |
|
| 26 | - | ^git branch --no-color | lines | each { |line| $line | str replace '* ' "" | str trim } |
|
| 27 | - | } |
|
| 28 | - | ||
| 29 | - | # Yield remote branches like `origin/main`, `upstream/feature-a` |
|
| 30 | - | def "nu-complete git remote branches with prefix" [] { |
|
| 31 | - | ^git branch --no-color -r | lines | parse -r '^\*?(\s*|\s*\S* -> )(?P<branch>\S*$)' | get branch | uniq |
|
| 32 | - | } |
|
| 33 | - | ||
| 34 | - | # Yield remote branches *without* prefix which do not have a local counterpart. |
|
| 35 | - | # E.g. `upstream/feature-a` as `feature-a` to checkout and track in one command |
|
| 36 | - | # with `git checkout` or `git switch`. |
|
| 37 | - | def "nu-complete git remote branches nonlocal without prefix" [] { |
|
| 38 | - | # Get regex to strip remotes prefixes. It will look like `(origin|upstream)` |
|
| 39 | - | # for the two remotes `origin` and `upstream`. |
|
| 40 | - | let remotes_regex = (["(", ((nu-complete git remotes | each {|r| [$r, '/'] | str join}) | str join "|"), ")"] | str join) |
|
| 41 | - | let local_branches = (nu-complete git local branches) |
|
| 42 | - | ^git branch --no-color -r | lines | parse -r (['^[\* ]+', $remotes_regex, '?(?P<branch>\S+)'] | flatten | str join) | get branch | uniq | where {|branch| $branch != "HEAD"} | where {|branch| $branch not-in $local_branches } |
|
| 43 | - | } |
|
| 44 | - | ||
| 45 | - | def "nu-complete git switch" [] { |
|
| 46 | - | (nu-complete git local branches) |
|
| 47 | - | | parse "{value}" |
|
| 48 | - | | insert description "local branch" |
|
| 49 | - | | append (nu-complete git remote branches nonlocal without prefix |
|
| 50 | - | | parse "{value}" |
|
| 51 | - | | insert description "remote branch") |
|
| 52 | - | } |
|
| 53 | - | ||
| 54 | - | def "nu-complete git checkout" [] { |
|
| 55 | - | (nu-complete git local branches) |
|
| 56 | - | | parse "{value}" |
|
| 57 | - | | insert description "local branch" |
|
| 58 | - | | append (nu-complete git remote branches nonlocal without prefix |
|
| 59 | - | | parse "{value}" |
|
| 60 | - | | insert description "remote branch") |
|
| 61 | - | | append (nu-complete git remote branches with prefix |
|
| 62 | - | | parse "{value}" |
|
| 63 | - | | insert description "remote branch") |
|
| 64 | - | | append (nu-complete git commits all) |
|
| 65 | - | | append (nu-complete git files | where description != "Untracked" | select value) |
|
| 66 | - | } |
|
| 67 | - | ||
| 68 | - | # Arguments to `git rebase --onto <arg1> <arg2>` |
|
| 69 | - | def "nu-complete git rebase" [] { |
|
| 70 | - | (nu-complete git local branches) |
|
| 71 | - | | parse "{value}" |
|
| 72 | - | | insert description "local branch" |
|
| 73 | - | | append (nu-complete git remote branches with prefix |
|
| 74 | - | | parse "{value}" |
|
| 75 | - | | insert description "remote branch") |
|
| 76 | - | | append (nu-complete git commits all) |
|
| 77 | - | } |
|
| 78 | - | ||
| 79 | - | def "nu-complete git stash-list" [] { |
|
| 80 | - | git stash list | lines | parse "{value}: {description}" |
|
| 81 | - | } |
|
| 82 | - | ||
| 83 | - | def "nu-complete git tags" [] { |
|
| 84 | - | ^git tag --no-color | lines |
|
| 85 | - | } |
|
| 86 | - | ||
| 87 | - | # See `man git-status` under "Short Format" |
|
| 88 | - | # This is incomplete, but should cover the most common cases. |
|
| 89 | - | const short_status_descriptions = { |
|
| 90 | - | ".D": "Deleted" |
|
| 91 | - | ".M": "Modified" |
|
| 92 | - | "!" : "Ignored" |
|
| 93 | - | "?" : "Untracked" |
|
| 94 | - | "AU": "Staged, not merged" |
|
| 95 | - | "MD": "Some modifications staged, file deleted in work tree" |
|
| 96 | - | "MM": "Some modifications staged, some modifications untracked" |
|
| 97 | - | "R.": "Renamed" |
|
| 98 | - | "UU": "Both modified (in merge conflict)" |
|
| 99 | - | } |
|
| 100 | - | ||
| 101 | - | def "nu-complete git files" [] { |
|
| 102 | - | let relevant_statuses = ["?",".M", "MM", "MD", ".D", "UU"] |
|
| 103 | - | ^git status -uall --porcelain=2 |
|
| 104 | - | | lines |
|
| 105 | - | | each { |$it| |
|
| 106 | - | if $it starts-with "1 " { |
|
| 107 | - | $it | parse --regex "1 (?P<short_status>\\S+) (?:\\S+\\s?){6} (?P<value>\\S+)" |
|
| 108 | - | } else if $it starts-with "2 " { |
|
| 109 | - | $it | parse --regex "2 (?P<short_status>\\S+) (?:\\S+\\s?){6} (?P<value>\\S+)" |
|
| 110 | - | } else if $it starts-with "u " { |
|
| 111 | - | $it | parse --regex "u (?P<short_status>\\S+) (?:\\S+\\s?){8} (?P<value>\\S+)" |
|
| 112 | - | } else if $it starts-with "? " { |
|
| 113 | - | $it | parse --regex "(?P<short_status>.{1}) (?P<value>.+)" |
|
| 114 | - | } else { |
|
| 115 | - | { short_status: 'unknown', value: $it } |
|
| 116 | - | } |
|
| 117 | - | } |
|
| 118 | - | | flatten |
|
| 119 | - | | where $it.short_status in $relevant_statuses |
|
| 120 | - | | insert "description" { |e| $short_status_descriptions | get $e.short_status} |
|
| 121 | - | } |
|
| 122 | - | ||
| 123 | - | def "nu-complete git built-in-refs" [] { |
|
| 124 | - | [HEAD FETCH_HEAD ORIG_HEAD] |
|
| 125 | - | } |
|
| 126 | - | ||
| 127 | - | def "nu-complete git refs" [] { |
|
| 128 | - | nu-complete git local branches |
|
| 129 | - | | parse "{value}" |
|
| 130 | - | | insert description Branch |
|
| 131 | - | | append (nu-complete git tags | parse "{value}" | insert description Tag) |
|
| 132 | - | | append (nu-complete git built-in-refs) |
|
| 133 | - | } |
|
| 134 | - | ||
| 135 | - | def "nu-complete git files-or-refs" [] { |
|
| 136 | - | nu-complete git local branches |
|
| 137 | - | | parse "{value}" |
|
| 138 | - | | insert description Branch |
|
| 139 | - | | append (nu-complete git files | where description == "Modified" | select value) |
|
| 140 | - | | append (nu-complete git tags | parse "{value}" | insert description Tag) |
|
| 141 | - | | append (nu-complete git built-in-refs) |
|
| 142 | - | } |
|
| 143 | - | ||
| 144 | - | def "nu-complete git subcommands" [] { |
|
| 145 | - | ^git help -a | lines | where $it starts-with " " | parse -r '\s*(?P<value>[^ ]+) \s*(?P<description>\w.*)' |
|
| 146 | - | } |
|
| 147 | - | ||
| 148 | - | def "nu-complete git add" [] { |
|
| 149 | - | nu-complete git files |
|
| 150 | - | } |
|
| 151 | - | ||
| 152 | - | def "nu-complete git pull rebase" [] { |
|
| 153 | - | ["false","true","merges","interactive"] |
|
| 154 | - | } |
|
| 155 | - | ||
| 156 | - | ||
| 157 | - | # Check out git branches and files |
|
| 158 | - | export extern "git checkout" [ |
|
| 159 | - | ...targets: string@"nu-complete git checkout" # name of the branch or files to checkout |
|
| 160 | - | --conflict: string # conflict style (merge or diff3) |
|
| 161 | - | --detach(-d) # detach HEAD at named commit |
|
| 162 | - | --force(-f) # force checkout (throw away local modifications) |
|
| 163 | - | --guess # second guess 'git checkout <no-such-branch>' (default) |
|
| 164 | - | --ignore-other-worktrees # do not check if another worktree is holding the given ref |
|
| 165 | - | --ignore-skip-worktree-bits # do not limit pathspecs to sparse entries only |
|
| 166 | - | --merge(-m) # perform a 3-way merge with the new branch |
|
| 167 | - | --orphan: string # new unparented branch |
|
| 168 | - | --ours(-2) # checkout our version for unmerged files |
|
| 169 | - | --overlay # use overlay mode (default) |
|
| 170 | - | --overwrite-ignore # update ignored files (default) |
|
| 171 | - | --patch(-p) # select hunks interactively |
|
| 172 | - | --pathspec-from-file: string # read pathspec from file |
|
| 173 | - | --progress # force progress reporting |
|
| 174 | - | --quiet(-q) # suppress progress reporting |
|
| 175 | - | --recurse-submodules # control recursive updating of submodules |
|
| 176 | - | --theirs(-3) # checkout their version for unmerged files |
|
| 177 | - | --track(-t) # set upstream info for new branch |
|
| 178 | - | -b # create and checkout a new branch |
|
| 179 | - | -B: string # create/reset and checkout a branch |
|
| 180 | - | -l # create reflog for new branch |
|
| 181 | - | ] |
|
| 182 | - | ||
| 183 | - | # Download objects and refs from another repository |
|
| 184 | - | export extern "git fetch" [ |
|
| 185 | - | repository?: string@"nu-complete git remotes" # name of the branch to fetch |
|
| 186 | - | --all # Fetch all remotes |
|
| 187 | - | --append(-a) # Append ref names and object names to .git/FETCH_HEAD |
|
| 188 | - | --atomic # Use an atomic transaction to update local refs. |
|
| 189 | - | --depth: int # Limit fetching to n commits from the tip |
|
| 190 | - | --deepen: int # Limit fetching to n commits from the current shallow boundary |
|
| 191 | - | --shallow-since: string # Deepen or shorten the history by date |
|
| 192 | - | --shallow-exclude: string # Deepen or shorten the history by branch/tag |
|
| 193 | - | --unshallow # Fetch all available history |
|
| 194 | - | --update-shallow # Update .git/shallow to accept new refs |
|
| 195 | - | --negotiation-tip: string # Specify which commit/glob to report while fetching |
|
| 196 | - | --negotiate-only # Do not fetch, only print common ancestors |
|
| 197 | - | --dry-run # Show what would be done |
|
| 198 | - | --write-fetch-head # Write fetched refs in FETCH_HEAD (default) |
|
| 199 | - | --no-write-fetch-head # Do not write FETCH_HEAD |
|
| 200 | - | --force(-f) # Always update the local branch |
|
| 201 | - | --keep(-k) # Keep downloaded pack |
|
| 202 | - | --multiple # Allow several arguments to be specified |
|
| 203 | - | --auto-maintenance # Run 'git maintenance run --auto' at the end (default) |
|
| 204 | - | --no-auto-maintenance # Don't run 'git maintenance' at the end |
|
| 205 | - | --auto-gc # Run 'git maintenance run --auto' at the end (default) |
|
| 206 | - | --no-auto-gc # Don't run 'git maintenance' at the end |
|
| 207 | - | --write-commit-graph # Write a commit-graph after fetching |
|
| 208 | - | --no-write-commit-graph # Don't write a commit-graph after fetching |
|
| 209 | - | --prefetch # Place all refs into the refs/prefetch/ namespace |
|
| 210 | - | --prune(-p) # Remove obsolete remote-tracking references |
|
| 211 | - | --prune-tags(-P) # Remove any local tags that do not exist on the remote |
|
| 212 | - | --no-tags(-n) # Disable automatic tag following |
|
| 213 | - | --refmap: string # Use this refspec to map the refs to remote-tracking branches |
|
| 214 | - | --tags(-t) # Fetch all tags |
|
| 215 | - | --recurse-submodules: string # Fetch new commits of populated submodules (yes/on-demand/no) |
|
| 216 | - | --jobs(-j): int # Number of parallel children |
|
| 217 | - | --no-recurse-submodules # Disable recursive fetching of submodules |
|
| 218 | - | --set-upstream # Add upstream (tracking) reference |
|
| 219 | - | --submodule-prefix: string # Prepend to paths printed in informative messages |
|
| 220 | - | --upload-pack: string # Non-default path for remote command |
|
| 221 | - | --quiet(-q) # Silence internally used git commands |
|
| 222 | - | --verbose(-v) # Be verbose |
|
| 223 | - | --progress # Report progress on stderr |
|
| 224 | - | --server-option(-o): string # Pass options for the server to handle |
|
| 225 | - | --show-forced-updates # Check if a branch is force-updated |
|
| 226 | - | --no-show-forced-updates # Don't check if a branch is force-updated |
|
| 227 | - | -4 # Use IPv4 addresses, ignore IPv6 addresses |
|
| 228 | - | -6 # Use IPv6 addresses, ignore IPv4 addresses |
|
| 229 | - | ] |
|
| 230 | - | ||
| 231 | - | # Push changes |
|
| 232 | - | export extern "git push" [ |
|
| 233 | - | remote?: string@"nu-complete git remotes", # the name of the remote |
|
| 234 | - | ...refs: string@"nu-complete git local branches" # the branch / refspec |
|
| 235 | - | --all # push all refs |
|
| 236 | - | --atomic # request atomic transaction on remote side |
|
| 237 | - | --delete(-d) # delete refs |
|
| 238 | - | --dry-run(-n) # dry run |
|
| 239 | - | --exec: string # receive pack program |
|
| 240 | - | --follow-tags # push missing but relevant tags |
|
| 241 | - | --force-with-lease # require old value of ref to be at this value |
|
| 242 | - | --force(-f) # force updates |
|
| 243 | - | --ipv4(-4) # use IPv4 addresses only |
|
| 244 | - | --ipv6(-6) # use IPv6 addresses only |
|
| 245 | - | --mirror # mirror all refs |
|
| 246 | - | --no-verify # bypass pre-push hook |
|
| 247 | - | --porcelain # machine-readable output |
|
| 248 | - | --progress # force progress reporting |
|
| 249 | - | --prune # prune locally removed refs |
|
| 250 | - | --push-option(-o): string # option to transmit |
|
| 251 | - | --quiet(-q) # be more quiet |
|
| 252 | - | --receive-pack: string # receive pack program |
|
| 253 | - | --recurse-submodules: string # control recursive pushing of submodules |
|
| 254 | - | --repo: string # repository |
|
| 255 | - | --set-upstream(-u) # set upstream for git pull/status |
|
| 256 | - | --signed: string # GPG sign the push |
|
| 257 | - | --tags # push tags (can't be used with --all or --mirror) |
|
| 258 | - | --thin # use thin pack |
|
| 259 | - | --verbose(-v) # be more verbose |
|
| 260 | - | ] |
|
| 261 | - | ||
| 262 | - | # Pull changes |
|
| 263 | - | export extern "git pull" [ |
|
| 264 | - | remote?: string@"nu-complete git remotes", # the name of the remote |
|
| 265 | - | ...refs: string@"nu-complete git local branches", # the branch / refspec |
|
| 266 | - | --rebase(-r): string@"nu-complete git pull rebase", # rebase current branch on top of upstream after fetching |
|
| 267 | - | --quiet(-q) # suppress output during transfer and merge |
|
| 268 | - | --verbose(-v) # be more verbose |
|
| 269 | - | --commit # perform the merge and commit the result |
|
| 270 | - | --no-commit # perform the merge but do not commit the result |
|
| 271 | - | --edit(-e) # edit the merge commit message |
|
| 272 | - | --no-edit # use the auto-generated merge commit message |
|
| 273 | - | --cleanup: string # specify how to clean up the merge commit message |
|
| 274 | - | --ff # fast-forward if possible |
|
| 275 | - | --no-ff # create a merge commit in all cases |
|
| 276 | - | --gpg-sign(-S) # GPG-sign the resulting merge commit |
|
| 277 | - | --no-gpg-sign # do not GPG-sign the resulting merge commit |
|
| 278 | - | --log: int # include log messages from merged commits |
|
| 279 | - | --no-log # do not include log messages from merged commits |
|
| 280 | - | --signoff # add Signed-off-by trailer |
|
| 281 | - | --no-signoff # do not add Signed-off-by trailer |
|
| 282 | - | --stat(-n) # show a diffstat at the end of the merge |
|
| 283 | - | --no-stat # do not show a diffstat at the end of the merge |
|
| 284 | - | --squash # produce working tree and index state as if a merge happened |
|
| 285 | - | --no-squash # perform the merge and commit the result |
|
| 286 | - | --verify # run pre-merge and commit-msg hooks |
|
| 287 | - | --no-verify # do not run pre-merge and commit-msg hooks |
|
| 288 | - | --strategy(-s): string # use the given merge strategy |
|
| 289 | - | --strategy-option(-X): string # pass merge strategy-specific option |
|
| 290 | - | --verify-signatures # verify the tip commit of the side branch being merged |
|
| 291 | - | --no-verify-signatures # do not verify the tip commit of the side branch being merged |
|
| 292 | - | --summary # show a summary of the merge |
|
| 293 | - | --no-summary # do not show a summary of the merge |
|
| 294 | - | --autostash # create a temporary stash entry before the operation |
|
| 295 | - | --no-autostash # do not create a temporary stash entry before the operation |
|
| 296 | - | --allow-unrelated-histories # allow merging histories without a common ancestor |
|
| 297 | - | --no-rebase # do not rebase the current branch on top of the upstream branch |
|
| 298 | - | --all # fetch all remotes |
|
| 299 | - | --append(-a) # append fetched refs to existing contents of FETCH_HEAD |
|
| 300 | - | --atomic # use an atomic transaction to update local refs |
|
| 301 | - | --depth: int # limit fetching to the specified number of commits |
|
| 302 | - | --deepen: int # deepen the history by the specified number of commits |
|
| 303 | - | --shallow-since: string # deepen or shorten the history since a specified date |
|
| 304 | - | --shallow-exclude: string # exclude commits reachable from a specified branch or tag |
|
| 305 | - | --unshallow # convert a shallow repository to a complete one |
|
| 306 | - | --update-shallow # update .git/shallow with new refs |
|
| 307 | - | --tags(-t) # fetch all tags from the remote |
|
| 308 | - | --jobs(-j): int # number of parallel children for fetching |
|
| 309 | - | --set-upstream # add upstream (tracking) reference |
|
| 310 | - | --upload-pack: string # specify non-default path for upload-pack on the remote |
|
| 311 | - | --progress # force progress status even if stderr is not a terminal |
|
| 312 | - | --server-option(-o): string # transmit the given string to the server |
|
| 313 | - | ] |
|
| 314 | - | ||
| 315 | - | # Switch between branches and commits |
|
| 316 | - | export extern "git switch" [ |
|
| 317 | - | switch?: string@"nu-complete git switch" # name of branch to switch to |
|
| 318 | - | --create(-c) # create a new branch |
|
| 319 | - | --detach(-d): string@"nu-complete git log" # switch to a commit in a detached state |
|
| 320 | - | --force-create(-C): string # forces creation of new branch, if it exists then the existing branch will be reset to starting point |
|
| 321 | - | --force(-f) # alias for --discard-changes |
|
| 322 | - | --guess # if there is no local branch which matches then name but there is a remote one then this is checked out |
|
| 323 | - | --ignore-other-worktrees # switch even if the ref is held by another worktree |
|
| 324 | - | --merge(-m) # attempts to merge changes when switching branches if there are local changes |
|
| 325 | - | --no-guess # do not attempt to match remote branch names |
|
| 326 | - | --no-progress # do not report progress |
|
| 327 | - | --no-recurse-submodules # do not update the contents of sub-modules |
|
| 328 | - | --no-track # do not set "upstream" configuration |
|
| 329 | - | --orphan: string # create a new orphaned branch |
|
| 330 | - | --progress # report progress status |
|
| 331 | - | --quiet(-q) # suppress feedback messages |
|
| 332 | - | --recurse-submodules # update the contents of sub-modules |
|
| 333 | - | --track(-t) # set "upstream" configuration |
|
| 334 | - | ] |
|
| 335 | - | ||
| 336 | - | # Apply the change introduced by an existing commit |
|
| 337 | - | export extern "git cherry-pick" [ |
|
| 338 | - | commit?: string@"nu-complete git commits all" # The commit ID to be cherry-picked |
|
| 339 | - | --edit(-e) # Edit the commit message prior to committing |
|
| 340 | - | --no-commit(-n) # Apply changes without making any commit |
|
| 341 | - | --signoff(-s) # Add Signed-off-by line to the commit message |
|
| 342 | - | --ff # Fast-forward if possible |
|
| 343 | - | --continue # Continue the operation in progress |
|
| 344 | - | --abort # Cancel the operation |
|
| 345 | - | --skip # Skip the current commit and continue with the rest of the sequence |
|
| 346 | - | ] |
|
| 347 | - | ||
| 348 | - | # Rebase the current branch |
|
| 349 | - | export extern "git rebase" [ |
|
| 350 | - | branch?: string@"nu-complete git rebase" # name of the branch to rebase onto |
|
| 351 | - | upstream?: string@"nu-complete git rebase" # upstream branch to compare against |
|
| 352 | - | --continue # restart rebasing process after editing/resolving a conflict |
|
| 353 | - | --abort # abort rebase and reset HEAD to original branch |
|
| 354 | - | --quit # abort rebase but do not reset HEAD |
|
| 355 | - | --interactive(-i) # rebase interactively with list of commits in editor |
|
| 356 | - | --onto?: string@"nu-complete git rebase" # starting point at which to create the new commits |
|
| 357 | - | --root # start rebase from root commit |
|
| 358 | - | ] |
|
| 359 | - | ||
| 360 | - | # List or change branches |
|
| 361 | - | export extern "git branch" [ |
|
| 362 | - | branch?: string@"nu-complete git local branches" # name of branch to operate on |
|
| 363 | - | --abbrev # use short commit hash prefixes |
|
| 364 | - | --edit-description # open editor to edit branch description |
|
| 365 | - | --merged # list reachable branches |
|
| 366 | - | --no-merged # list unreachable branches |
|
| 367 | - | --set-upstream-to: string@"nu-complete git available upstream" # set upstream for branch |
|
| 368 | - | --unset-upstream # remote upstream for branch |
|
| 369 | - | --all # list both remote and local branches |
|
| 370 | - | --copy # copy branch together with config and reflog |
|
| 371 | - | --format # specify format for listing branches |
|
| 372 | - | --move # rename branch |
|
| 373 | - | --points-at # list branches that point at an object |
|
| 374 | - | --show-current # print the name of the current branch |
|
| 375 | - | --verbose # show commit and upstream for each branch |
|
| 376 | - | --color # use color in output |
|
| 377 | - | --quiet # suppress messages except errors |
|
| 378 | - | --delete(-d) # delete branch |
|
| 379 | - | --list # list branches |
|
| 380 | - | --contains: string@"nu-complete git commits all" # show only branches that contain the specified commit |
|
| 381 | - | --no-contains # show only branches that don't contain specified commit |
|
| 382 | - | --track(-t) # when creating a branch, set upstream |
|
| 383 | - | ] |
|
| 384 | - | ||
| 385 | - | # List or change tracked repositories |
|
| 386 | - | export extern "git remote" [ |
|
| 387 | - | --verbose(-v) # Show URL for remotes |
|
| 388 | - | ] |
|
| 389 | - | ||
| 390 | - | # Add a new tracked repository |
|
| 391 | - | export extern "git remote add" [ |
|
| 392 | - | ] |
|
| 393 | - | ||
| 394 | - | # Rename a tracked repository |
|
| 395 | - | export extern "git remote rename" [ |
|
| 396 | - | remote: string@"nu-complete git remotes" # remote to rename |
|
| 397 | - | new_name: string # new name for remote |
|
| 398 | - | ] |
|
| 399 | - | ||
| 400 | - | # Remove a tracked repository |
|
| 401 | - | export extern "git remote remove" [ |
|
| 402 | - | remote: string@"nu-complete git remotes" # remote to remove |
|
| 403 | - | ] |
|
| 404 | - | ||
| 405 | - | # Get the URL for a tracked repository |
|
| 406 | - | export extern "git remote get-url" [ |
|
| 407 | - | remote: string@"nu-complete git remotes" # remote to get URL for |
|
| 408 | - | ] |
|
| 409 | - | ||
| 410 | - | # Set the URL for a tracked repository |
|
| 411 | - | export extern "git remote set-url" [ |
|
| 412 | - | remote: string@"nu-complete git remotes" # remote to set URL for |
|
| 413 | - | url: string # new URL for remote |
|
| 414 | - | ] |
|
| 415 | - | ||
| 416 | - | # Show changes between commits, working tree etc |
|
| 417 | - | export extern "git diff" [ |
|
| 418 | - | rev1_or_file?: string@"nu-complete git files-or-refs" |
|
| 419 | - | rev2?: string@"nu-complete git refs" |
|
| 420 | - | --cached # show staged changes |
|
| 421 | - | --name-only # only show names of changed files |
|
| 422 | - | --name-status # show changed files and kind of change |
|
| 423 | - | --no-color # disable color output |
|
| 424 | - | ] |
|
| 425 | - | ||
| 426 | - | # Commit changes |
|
| 427 | - | export extern "git commit" [ |
|
| 428 | - | --all(-a) # automatically stage all modified and deleted files |
|
| 429 | - | --amend # amend the previous commit rather than adding a new one |
|
| 430 | - | --message(-m): string # specify the commit message rather than opening an editor |
|
| 431 | - | --no-edit # don't edit the commit message (useful with --amend) |
|
| 432 | - | --reuse-message(-C): string # reuse the message from a previous commit |
|
| 433 | - | --reedit-message(-c): string # reuse and edit message from a commit |
|
| 434 | - | --fixup: string # create a fixup/amend commit |
|
| 435 | - | --squash: string # squash commit for autosquash rebase |
|
| 436 | - | --reset-author # reset author information |
|
| 437 | - | --short # short-format output for dry-run |
|
| 438 | - | --branch # show branch info in short-format |
|
| 439 | - | --porcelain # porcelain-ready format for dry-run |
|
| 440 | - | --long # long-format output for dry-run |
|
| 441 | - | --null(-z) # use NUL instead of LF in output |
|
| 442 | - | --file(-F): string # read commit message from file |
|
| 443 | - | --author: string # override commit author |
|
| 444 | - | --date: string # override author date |
|
| 445 | - | --template(-t): string # use commit message template file |
|
| 446 | - | --signoff(-s) # add Signed-off-by trailer |
|
| 447 | - | --no-signoff # do not add Signed-off-by trailer |
|
| 448 | - | --trailer: string # add trailer to commit message |
|
| 449 | - | --no-verify(-n) # bypass pre-commit and commit-msg hooks |
|
| 450 | - | --verify # do not bypass pre-commit and commit-msg hooks |
|
| 451 | - | --allow-empty # allow commit with no changes |
|
| 452 | - | --allow-empty-message # allow commit with empty message |
|
| 453 | - | --cleanup: string # cleanup commit message |
|
| 454 | - | --edit(-e) # edit commit message |
|
| 455 | - | --no-edit # do not edit commit message |
|
| 456 | - | --include(-i) # include given paths in commit |
|
| 457 | - | --only(-o) # commit only specified paths |
|
| 458 | - | --pathspec-from-file: string # read pathspec from file |
|
| 459 | - | --pathspec-file-nul # use NUL character for pathspec file |
|
| 460 | - | --untracked-files(-u): string # show untracked files |
|
| 461 | - | --verbose(-v) # show diff in commit message template |
|
| 462 | - | --quiet(-q) # suppress commit summary |
|
| 463 | - | --dry-run # show paths to be committed without committing |
|
| 464 | - | --status # include git-status output in commit message |
|
| 465 | - | --no-status # do not include git-status output |
|
| 466 | - | --gpg-sign(-S):string # GPG-sign commit |
|
| 467 | - | --no-gpg-sign # do not GPG-sign commit |
|
| 468 | - | ...pathspec: string # commit files matching pathspec |
|
| 469 | - | ] |
|
| 470 | - | ||
| 471 | - | # List commits |
|
| 472 | - | export extern "git log" [ |
|
| 473 | - | # Ideally we'd allow completion of revisions here, but that would make completion of filenames not work. |
|
| 474 | - | -U # show diffs |
|
| 475 | - | --follow # show history beyond renames (single file only) |
|
| 476 | - | --grep: string # show log entries matching supplied regular expression |
|
| 477 | - | ] |
|
| 478 | - | ||
| 479 | - | # Show or change the reflog |
|
| 480 | - | export extern "git reflog" [ |
|
| 481 | - | ] |
|
| 482 | - | ||
| 483 | - | # Stage files |
|
| 484 | - | export extern "git add" [ |
|
| 485 | - | ...file: string@"nu-complete git add" # file to add |
|
| 486 | - | --all(-A) # add all files |
|
| 487 | - | --dry-run(-n) # don't actually add the file(s), just show if they exist and/or will be ignored |
|
| 488 | - | --edit(-e) # open the diff vs. the index in an editor and let the user edit it |
|
| 489 | - | --force(-f) # allow adding otherwise ignored files |
|
| 490 | - | --interactive(-i) # add modified contents in the working tree interactively to the index |
|
| 491 | - | --patch(-p) # interactively choose hunks to stage |
|
| 492 | - | --verbose(-v) # be verbose |
|
| 493 | - | ] |
|
| 494 | - | ||
| 495 | - | # Delete file from the working tree and the index |
|
| 496 | - | export extern "git rm" [ |
|
| 497 | - | -r # recursive |
|
| 498 | - | --force(-f) # override the up-to-date check |
|
| 499 | - | --dry-run(-n) # Don't actually remove any file(s) |
|
| 500 | - | --cached # unstage and remove paths only from the index |
|
| 501 | - | ] |
|
| 502 | - | ||
| 503 | - | # Show the working tree status |
|
| 504 | - | export extern "git status" [ |
|
| 505 | - | --verbose(-v) # be verbose |
|
| 506 | - | --short(-s) # show status concisely |
|
| 507 | - | --branch(-b) # show branch information |
|
| 508 | - | --show-stash # show stash information |
|
| 509 | - | ] |
|
| 510 | - | ||
| 511 | - | # Stash changes for later |
|
| 512 | - | export extern "git stash push" [ |
|
| 513 | - | --patch(-p) # interactively choose hunks to stash |
|
| 514 | - | ] |
|
| 515 | - | ||
| 516 | - | # Unstash previously stashed changes |
|
| 517 | - | export extern "git stash pop" [ |
|
| 518 | - | stash?: string@"nu-complete git stash-list" # stash to pop |
|
| 519 | - | --index(-i) # try to reinstate not only the working tree's changes, but also the index's ones |
|
| 520 | - | ] |
|
| 521 | - | ||
| 522 | - | # List stashed changes |
|
| 523 | - | export extern "git stash list" [ |
|
| 524 | - | ] |
|
| 525 | - | ||
| 526 | - | # Show a stashed change |
|
| 527 | - | export extern "git stash show" [ |
|
| 528 | - | stash?: string@"nu-complete git stash-list" |
|
| 529 | - | -U # show diff |
|
| 530 | - | ] |
|
| 531 | - | ||
| 532 | - | # Drop a stashed change |
|
| 533 | - | export extern "git stash drop" [ |
|
| 534 | - | stash?: string@"nu-complete git stash-list" |
|
| 535 | - | ] |
|
| 536 | - | ||
| 537 | - | # Create a new git repository |
|
| 538 | - | export extern "git init" [ |
|
| 539 | - | --initial-branch(-b): string # initial branch name |
|
| 540 | - | ] |
|
| 541 | - | ||
| 542 | - | # List or manipulate tags |
|
| 543 | - | export extern "git tag" [ |
|
| 544 | - | --delete(-d): string@"nu-complete git tags" # delete a tag |
|
| 545 | - | ] |
|
| 546 | - | ||
| 547 | - | # Prune all unreachable objects |
|
| 548 | - | export extern "git prune" [ |
|
| 549 | - | --dry-run(-n) # dry run |
|
| 550 | - | --expire: string # expire objects older than |
|
| 551 | - | --progress # show progress |
|
| 552 | - | --verbose(-v) # report all removed objects |
|
| 553 | - | ] |
|
| 554 | - | ||
| 555 | - | # Start a binary search to find the commit that introduced a bug |
|
| 556 | - | export extern "git bisect start" [ |
|
| 557 | - | bad?: string # a commit that has the bug |
|
| 558 | - | good?: string # a commit that doesn't have the bug |
|
| 559 | - | ] |
|
| 560 | - | ||
| 561 | - | # Mark the current (or specified) revision as bad |
|
| 562 | - | export extern "git bisect bad" [ |
|
| 563 | - | ] |
|
| 564 | - | ||
| 565 | - | # Mark the current (or specified) revision as good |
|
| 566 | - | export extern "git bisect good" [ |
|
| 567 | - | ] |
|
| 568 | - | ||
| 569 | - | # Skip the current (or specified) revision |
|
| 570 | - | export extern "git bisect skip" [ |
|
| 571 | - | ] |
|
| 572 | - | ||
| 573 | - | # End bisection |
|
| 574 | - | export extern "git bisect reset" [ |
|
| 575 | - | ] |
|
| 576 | - | ||
| 577 | - | # Show help for a git subcommand |
|
| 578 | - | export extern "git help" [ |
|
| 579 | - | command: string@"nu-complete git subcommands" # subcommand to show help for |
|
| 580 | - | ] |
|
| 581 | - | ||
| 582 | - | # git worktree |
|
| 583 | - | export extern "git worktree" [ |
|
| 584 | - | --help(-h) # display the help message for this command |
|
| 585 | - | ...args |
|
| 586 | - | ] |
|
| 587 | - | ||
| 588 | - | # create a new working tree |
|
| 589 | - | export extern "git worktree add" [ |
|
| 590 | - | path: path # directory to clone the branch |
|
| 591 | - | branch: string@"nu-complete git available upstream" # Branch to clone |
|
| 592 | - | --help(-h) # display the help message for this command |
|
| 593 | - | --force(-f) # checkout <branch> even if already checked out in other worktree |
|
| 594 | - | -b # create a new branch |
|
| 595 | - | -B # create or reset a branch |
|
| 596 | - | --detach(-d) # detach HEAD at named commit |
|
| 597 | - | --checkout # populate the new working tree |
|
| 598 | - | --lock # keep the new working tree locked |
|
| 599 | - | --reason # reason for locking |
|
| 600 | - | --quiet(-q) # suppress progress reporting |
|
| 601 | - | --track # set up tracking mode (see git-branch(1)) |
|
| 602 | - | --guess-remote # try to match the new branch name with a remote-tracking branch |
|
| 603 | - | ...args |
|
| 604 | - | ] |
|
| 605 | - | ||
| 606 | - | # list details of each worktree |
|
| 607 | - | export extern "git worktree list" [ |
|
| 608 | - | --help(-h) # display the help message for this command |
|
| 609 | - | --porcelain # machine-readable output |
|
| 610 | - | --verbose(-v) # show extended annotations and reasons, if available |
|
| 611 | - | --expire # add 'prunable' annotation to worktrees older than <time> |
|
| 612 | - | -z # terminate records with a NUL character |
|
| 613 | - | ...args |
|
| 614 | - | ] |
|
| 615 | - | ||
| 616 | - | def "nu-complete worktree list" [] { |
|
| 617 | - | ^git worktree list | to text | parse --regex '(?P<value>\S+)\s+(?P<commit>\w+)\s+(?P<description>\S.*)' |
|
| 618 | - | } |
|
| 619 | - | ||
| 620 | - | # prevent a working tree from being pruned |
|
| 621 | - | export extern "git worktree lock" [ |
|
| 622 | - | worktree: string@"nu-complete worktree list" |
|
| 623 | - | --reason: string # reason because the tree is locked |
|
| 624 | - | --help(-h) # display the help message for this command |
|
| 625 | - | --reason # reason for locking |
|
| 626 | - | ...args |
|
| 627 | - | ] |
|
| 628 | - | ||
| 629 | - | # move a working tree to a new location |
|
| 630 | - | export extern "git worktree move" [ |
|
| 631 | - | --help(-h) # display the help message for this command |
|
| 632 | - | --force(-f) # force move even if worktree is dirty or locked |
|
| 633 | - | ...args |
|
| 634 | - | ] |
|
| 635 | - | ||
| 636 | - | # prune working tree information |
|
| 637 | - | export extern "git worktree prune" [ |
|
| 638 | - | --help(-h) # display the help message for this command |
|
| 639 | - | --dry-run(-n) # do not remove, show only |
|
| 640 | - | --verbose(-v) # report pruned working trees |
|
| 641 | - | --expire # expire working trees older than <time> |
|
| 642 | - | ...args |
|
| 643 | - | ] |
|
| 644 | - | ||
| 645 | - | # remove a working tree |
|
| 646 | - | export extern "git worktree remove" [ |
|
| 647 | - | worktree: string@"nu-complete worktree list" |
|
| 648 | - | --help(-h) # display the help message for this command |
|
| 649 | - | --force(-f) # force removal even if worktree is dirty or locked |
|
| 650 | - | ] |
|
| 651 | - | ||
| 652 | - | # allow working tree to be pruned, moved or deleted |
|
| 653 | - | export extern "git worktree unlock" [ |
|
| 654 | - | worktree: string@"nu-complete worktree list" |
|
| 655 | - | ...args |
|
| 656 | - | ] |
|
| 657 | - | ||
| 658 | - | # clones a repo |
|
| 659 | - | export extern "git clone" [ |
|
| 660 | - | --help(-h) # display the help message for this command |
|
| 661 | - | --local(-l) # cloning from the local machine |
|
| 662 | - | --no-local # use the git transport mechanism even if cloning from a local path |
|
| 663 | - | --no-hardlinks # force git to copy files when cloning from the local machine |
|
| 664 | - | --shared(-s) # setup .git/objects/info/alternates to share objects with the source local repo |
|
| 665 | - | --reference: string # setup .git/objects/info/alternates to share objects with the =<reference> local repo |
|
| 666 | - | --reference-if-able: string # same as --reference, but skips empty folders |
|
| 667 | - | --dissociate # borrow objects from the referenced repo (--reference) |
|
| 668 | - | --quiet(-q) # suppress progress reporting |
|
| 669 | - | --verbose(-v) # be verbose |
|
| 670 | - | --progress # report progress unless --quiet |
|
| 671 | - | --server-option: string # transmit the =<option> to the server |
|
| 672 | - | --no-checkout(-n) # no checkout of HEAD |
|
| 673 | - | --reject-shallow # reject shallow repository as source |
|
| 674 | - | --no-reject-shallow # do not reject shallow repository as source |
|
| 675 | - | --bare # make a bare git repo |
|
| 676 | - | --sparse # initialize the sparse-checkout file |
|
| 677 | - | --filter: string # partial clone using the given =<filter-spec> |
|
| 678 | - | --mirror # mirror the source repo |
|
| 679 | - | --origin(-o): string # use <name> as the name for the remote origin |
|
| 680 | - | --branch(-b): string # point HEAD to <name> branch |
|
| 681 | - | --upload-pack(-u): string # use <upload-pack> as the path in the other end when using ssh |
|
| 682 | - | --template: string # use <template-dir> as the templates directory |
|
| 683 | - | --config(-c): string # set a <key>=<value> config variable |
|
| 684 | - | --depth: int # shallow clone <depth> commits |
|
| 685 | - | --shallow-since: string # shallow clone commits newer than =<date> |
|
| 686 | - | --shallow-exclude: string # do not clone commits reachable from <revision> (branch or tag) |
|
| 687 | - | --single-branch # clone commit history from a single branch |
|
| 688 | - | --no-single-Branch # do not clone only one branch |
|
| 689 | - | --no-tags # do not clone any tags |
|
| 690 | - | --recurse-submodules: string # clone the submodules |
|
| 691 | - | --shallow-submodules # shallow clone submodules with depth 1 |
|
| 692 | - | --no-shallow-submodules # do not shallow clone submodules |
|
| 693 | - | --remote-submodules # submodules are updating using their remote tracking branch |
|
| 694 | - | --no-remote-submodules # do not track submodules remote |
|
| 695 | - | --separate-git-dir: string # place the clone at =<git dir> and link it here |
|
| 696 | - | --jobs(-j): int # number of simultaneous submodules fetch |
|
| 697 | - | ...args |
|
| 698 | - | ] |
|
| 699 | - | ||
| 700 | - | # Restores files in working tree or index to previous versions |
|
| 701 | - | export extern "git restore" [ |
|
| 702 | - | --help(-h) # Display the help message for this command |
|
| 703 | - | --source(-s) # Restore the working tree files with the content from the given tree |
|
| 704 | - | --patch(-p) # Interactively choose hunks to restore |
|
| 705 | - | --worktree(-W) # Restore working tree (default if neither --worktree or --staged is used) |
|
| 706 | - | --staged(-S) # Restore index |
|
| 707 | - | --quiet(-q) # Quiet, suppress feedback messages |
|
| 708 | - | --progress # Force progress reporting |
|
| 709 | - | --no-progress # Suppress progress reporting |
|
| 710 | - | --ours # Restore from index using our version for unmerged files |
|
| 711 | - | --theirs # Restore from index using their version for unmerged files |
|
| 712 | - | --merge(-m) # Restore from index and recreate the conflicted merge in unmerged files |
|
| 713 | - | --conflict: string # Like --merge but changes the conflict presentation with =<style> |
|
| 714 | - | --ignore-unmerged # Restore from index and ignore unmerged entries (unmerged files are left as is) |
|
| 715 | - | --ignore-skip-worktree-bits # Ignore sparse checkout patterns and unconditionally restores any files in <pathspec> |
|
| 716 | - | --recurse-submodules # Restore the contents of sub-modules in working tree |
|
| 717 | - | --no-recurse-submodules # Do not restore the contents of sub-modules in working tree (default) |
|
| 718 | - | --overlay # Do not remove files that don't exist when restoring from tree with --source |
|
| 719 | - | --no-overlay # Remove files that don't exist when restoring from tree with --source (default) |
|
| 720 | - | --pathspec-from-file: string # Read pathspec from file |
|
| 721 | - | --pathspec-file-nul # Separate pathspec elements with NUL character when reading from file |
|
| 722 | - | ...pathspecs: string@"nu-complete git files" # Target pathspecs to restore |
|
| 723 | - | ] |
|
| 724 | - | ||
| 725 | - | # Print lines matching a pattern |
|
| 726 | - | export extern "git grep" [ |
|
| 727 | - | --help(-h) # Display the help message for this command |
|
| 728 | - | --cached # Search blobs registered in the index file instead of worktree |
|
| 729 | - | --untracked # Include untracked files in search |
|
| 730 | - | --no-index # Similar to `grep -r`, but with additional benefits, such as using pathspec patterns to limit paths; Cannot be used together with --cached or --untracked |
|
| 731 | - | --no-exclude-standard # Include ignored files in search (only useful with --untracked) |
|
| 732 | - | --exclude-standard # No not include ignored files in search (only useful with --no-index) |
|
| 733 | - | --recurse-submodules # Recursively search in each submodule that is active and checked out |
|
| 734 | - | --text(-a) # Process binary files as if they were text |
|
| 735 | - | --textconv # Honor textconv filter settings |
|
| 736 | - | --no-textconv # Do not honor textconv filter settings (default) |
|
| 737 | - | --ignore-case(-i) # Ignore case differences between patterns and files |
|
| 738 | - | -I # Don’t match the pattern in binary files |
|
| 739 | - | --max-depth: int # Max <depth> to descend down directories for each pathspec. A value of -1 means no limit. |
|
| 740 | - | --recursive(-r) # Same as --max-depth=-1 |
|
| 741 | - | --no-recursive # Same as --max-depth=0 |
|
| 742 | - | --word-regexp(-w) # Match the pattern only at word boundary |
|
| 743 | - | --invert-match(-v) # Select non-matching lines |
|
| 744 | - | -H # Suppress filename in output of matched lines |
|
| 745 | - | --full-name # Force relative path to filename from top directory |
|
| 746 | - | --extended-regexp(-E) # Use POSIX extended regexp for patterns |
|
| 747 | - | --basic-regexp(-G) # Use POSIX basic regexp for patterns (default) |
|
| 748 | - | --perl-regexp(-P) # Use Perl-compatible regular expressions for patterns |
|
| 749 | - | --line-number(-n) # Prefix the line number to matching lines |
|
| 750 | - | --column # Prefix the 1-indexed byte-offset of the first match from the start of the matching line |
|
| 751 | - | --files-with-matches(-l) # Print filenames of files that contains matches |
|
| 752 | - | --name-only # Same as --files-with-matches |
|
| 753 | - | --files-without-match(-L) # Print filenames of files that do not contain matches |
|
| 754 | - | --null(-z) # Use \0 as the delimiter for pathnames in the output, and print them verbatim |
|
| 755 | - | --only-matching(-o) # Print only the matched (non-empty) parts of a matching line, with each such part on a separate output line |
|
| 756 | - | --count(-c) # Instead of showing every matched line, show the number of lines that match |
|
| 757 | - | --no-color # Same as --color=never |
|
| 758 | - | --break # Print an empty line between matches from different files. |
|
| 759 | - | --heading # Show the filename above the matches in that file instead of at the start of each shown line. |
|
| 760 | - | --show-function(-p) # Show the preceding line that contains the function name of the match, unless the matching line is a function name itself. |
|
| 761 | - | --context(-C): int # Show <num> leading and trailing lines, and place a line containing -- between contiguous groups of matches. |
|
| 762 | - | --after-context(-A): int # Show <num> trailing lines, and place a line containing -- between contiguous groups of matches. |
|
| 763 | - | --before-context(-B): int # Show <num> leading lines, and place a line containing -- between contiguous groups of matches. |
|
| 764 | - | --function-context(-W) # Show the surrounding text from the previous line containing a function name up to the one before the next function name |
|
| 765 | - | --max-count(-m): int # Limit the amount of matches per file. When using the -v or --invert-match option, the search stops after the specified number of non-matches. |
|
| 766 | - | --threads: int # Number of grep worker threads to use. Use --help for more information on grep threads. |
|
| 767 | - | -f: string # Read patterns from <file>, one per line. |
|
| 768 | - | -e: string # Next parameter is the pattern. Multiple patterns are combined by --or. |
|
| 769 | - | --and # Search for lines that match multiple patterns. |
|
| 770 | - | --or # Search for lines that match at least one of multiple patterns. --or is implied between patterns without --and or --not. |
|
| 771 | - | --not # Search for lines that does not match pattern. |
|
| 772 | - | --all-match # When giving multiple pattern expressions combined with --or, this flag is specified to limit the match to files that have lines to match all of them. |
|
| 773 | - | --quiet(-q) # Do not output matched lines; instead, exit with status 0 when there is a match and with non-zero status when there isn’t. |
|
| 774 | - | ...pathspecs: string # Target pathspecs to limit the scope of the search. |
|
| 775 | - | ] |
| 1 | - | # Code generated by zoxide. DO NOT EDIT. |
|
| 2 | - | ||
| 3 | - | # ============================================================================= |
|
| 4 | - | # |
|
| 5 | - | # Hook configuration for zoxide. |
|
| 6 | - | # |
|
| 7 | - | ||
| 8 | - | # Initialize hook to add new entries to the database. |
|
| 9 | - | if (not ($env | default false __zoxide_hooked | get __zoxide_hooked)) { |
|
| 10 | - | $env.__zoxide_hooked = true |
|
| 11 | - | $env.config = ($env | default {} config).config |
|
| 12 | - | $env.config = ($env.config | default {} hooks) |
|
| 13 | - | $env.config = ($env.config | update hooks ($env.config.hooks | default {} env_change)) |
|
| 14 | - | $env.config = ($env.config | update hooks.env_change ($env.config.hooks.env_change | default [] PWD)) |
|
| 15 | - | $env.config = ($env.config | update hooks.env_change.PWD ($env.config.hooks.env_change.PWD | append {|_, dir| |
|
| 16 | - | zoxide add -- $dir |
|
| 17 | - | })) |
|
| 18 | - | } |
|
| 19 | - | ||
| 20 | - | # ============================================================================= |
|
| 21 | - | # |
|
| 22 | - | # When using zoxide with --no-cmd, alias these internal functions as desired. |
|
| 23 | - | # |
|
| 24 | - | ||
| 25 | - | # Jump to a directory using only keywords. |
|
| 26 | - | def --env --wrapped __zoxide_z [...rest:string] { |
|
| 27 | - | let arg0 = ($rest | append '~').0 |
|
| 28 | - | let arg0_is_dir = (try {$arg0 | path expand | path type}) == 'dir' |
|
| 29 | - | let path = if (($rest | length) <= 1) and ($arg0 == '-' or $arg0_is_dir) { |
|
| 30 | - | $arg0 |
|
| 31 | - | } else { |
|
| 32 | - | (zoxide query --exclude $env.PWD -- ...$rest | str trim -r -c "\n") |
|
| 33 | - | } |
|
| 34 | - | cd $path |
|
| 35 | - | } |
|
| 36 | - | ||
| 37 | - | # Jump to a directory using interactive search. |
|
| 38 | - | def --env --wrapped __zoxide_zi [...rest:string] { |
|
| 39 | - | cd $'(zoxide query --interactive -- ...$rest | str trim -r -c "\n")' |
|
| 40 | - | } |
|
| 41 | - | ||
| 42 | - | # ============================================================================= |
|
| 43 | - | # |
|
| 44 | - | # Commands for zoxide. Disable these using --no-cmd. |
|
| 45 | - | # |
|
| 46 | - | ||
| 47 | - | alias z = __zoxide_z |
|
| 48 | - | alias zi = __zoxide_zi |
|
| 49 | - | ||
| 50 | - | # ============================================================================= |
|
| 51 | - | # |
|
| 52 | - | # Add this to your env file (find it by running `$nu.env-path` in Nushell): |
|
| 53 | - | # |
|
| 54 | - | # zoxide init nushell | save -f ~/.zoxide.nu |
|
| 55 | - | # |
|
| 56 | - | # Now, add this to the end of your config file (find it by running |
|
| 57 | - | # `$nu.config-path` in Nushell): |
|
| 58 | - | # |
|
| 59 | - | # source ~/.zoxide.nu |
|
| 60 | - | # |
|
| 61 | - | # Note: zoxide only supports Nushell v0.89.0+. |
| 1 | + | /Users/stevedylandev/.config/nushell/black-metal-bathory.nu |
| 1 | + | /Users/stevedylandev/.config/nushell/config.nu |
| 1 | + | /Users/stevedylandev/.config/nushell/env.nu |
| 1 | + | /Users/stevedylandev/.config/nushell/git-completions.nu |
| 1 | + | /Users/stevedylandev/.config/nushell/zoxide.nu |
Binary file — no preview.
| 1 | + | /Users/stevedylandev/.config/nvim/init.lua |
| 1 | + | /Users/stevedylandev/.config/nvim/lazy-lock.json |
| 1 | + | /Users/stevedylandev/.config/nvim/lsp |
| 1 | + | /Users/stevedylandev/.config/nvim/lua |
Binary file — no preview.
| 1 | + | /Users/stevedylandev/.config/sesh/sesh.toml |
| 1 | - | # format = """ |
|
| 2 | - | # [](#434C5E)\ |
|
| 3 | - | # $username\ |
|
| 4 | - | # [](bg:#4C566A fg:#434C5E)\ |
|
| 5 | - | # $directory\ |
|
| 6 | - | # [](fg:#4C566A bg:#5E81AC)\ |
|
| 7 | - | # $git_branch\ |
|
| 8 | - | # $git_status\ |
|
| 9 | - | # [](fg:#5E81AC bg:#2E3440)\ |
|
| 10 | - | # $character |
|
| 11 | - | # """ |
|
| 12 | - | # format = """ |
|
| 13 | - | # $username\ |
|
| 14 | - | # [](white)\ |
|
| 15 | - | # $directory\ |
|
| 16 | - | # [](white)\ |
|
| 17 | - | # $character\ |
|
| 18 | - | # $git_branch\ |
|
| 19 | - | # $git_status\ |
|
| 20 | - | # """ |
|
| 21 | - | ||
| 22 | - | format = """ |
|
| 23 | - | $character\ |
|
| 24 | - | $directory\ |
|
| 25 | - | $git_branch\ |
|
| 26 | - | $git_status\ |
|
| 27 | - | """ |
|
| 28 | - | ||
| 29 | - | ||
| 30 | - | # Disable the blank line at the start of the prompt |
|
| 31 | - | add_newline = true |
|
| 32 | - | ||
| 33 | - | # You can also replace your username with a neat symbol like to save some space |
|
| 34 | - | [username] |
|
| 35 | - | show_always = true |
|
| 36 | - | style_user = "white bold" |
|
| 37 | - | style_root = "white bold" |
|
| 38 | - | format = '[$user ]($style)' |
|
| 39 | - | ||
| 40 | - | [character] |
|
| 41 | - | success_symbol = " [](bold white)" |
|
| 42 | - | error_symbol = " [](bold red)" |
|
| 43 | - | vimcmd_symbol = " [](bold yellow)" |
|
| 44 | - | # vimcmd_replace_one_symbol = "◌" |
|
| 45 | - | # vimcmd_replace_symbol = "□" |
|
| 46 | - | # vimcmd_visual_symbol = "▼" |
|
| 47 | - | ||
| 48 | - | ||
| 49 | - | [directory] |
|
| 50 | - | format = "[ $path/ ]($style)" |
|
| 51 | - | style = "white" |
|
| 52 | - | truncation_length = 1 |
|
| 53 | - | truncation_symbol = "" |
|
| 54 | - | ||
| 55 | - | [git_branch] |
|
| 56 | - | symbol = "" |
|
| 57 | - | format = '[$symbol $branch]($style)' |
|
| 58 | - | ||
| 59 | - | [git_status] |
|
| 60 | - | format = ' [$all_status$ahead_behind]($style) ' |
| 1 | + | /Users/stevedylandev/.config/starship.toml |
| 1 | + | /Users/stevedylandev/.tmux |
| 1 | - | set -g default-terminal "xterm-256color" |
|
| 2 | - | set-option -ga terminal-overrides ",xterm-256color:Tc" |
|
| 3 | - | set -ga terminal-overrides ",xterm-256color:Tc" |
|
| 4 | - | set-option -g default-shell /opt/homebrew/bin/nu |
|
| 5 | - | ||
| 6 | - | # action key |
|
| 7 | - | unbind C-b |
|
| 8 | - | set-option -g prefix C-q |
|
| 9 | - | set-option -g repeat-time 0 |
|
| 10 | - | set -g @tpm-clean 'u' |
|
| 11 | - | bind-key x kill-pane # skip "kill-pane 1? (y/n)" prompt |
|
| 12 | - | set -g detach-on-destroy off # don't exit from tmux when closing a session |
|
| 13 | - | ||
| 14 | - | # Plugins |
|
| 15 | - | set -g @plugin 'tmux-plugins/tpm' |
|
| 16 | - | set -g @plugin 'tmux-plugins/tmux-sensible' |
|
| 17 | - | # set -g @plugin 'joshmedeski/t-smart-tmux-session-manager' |
|
| 18 | - | set -g @plugin 'christoomey/vim-tmux-navigator' |
|
| 19 | - | # set -g @t-fzf-prompt ' ' |
|
| 20 | - | ||
| 21 | - | bind-key "T" display-popup -E "sesh connect \"$( |
|
| 22 | - | sesh list -i | gum filter --limit 1 --placeholder 'Choose a session' --height 50 --indicator.foreground="44" --selected-indicator.foreground="44" --prompt='⚡' |
|
| 23 | - | )\"" |
|
| 24 | - | ||
| 25 | - | bind-key b set-option status |
|
| 26 | - | ||
| 27 | - | set-window-option -g mode-keys vi |
|
| 28 | - | ||
| 29 | - | # turn on mouse |
|
| 30 | - | set -g mouse on |
|
| 31 | - | ||
| 32 | - | #bind t send-key C-t |
|
| 33 | - | # Reload settings |
|
| 34 | - | bind r source-file ~/.tmux.conf \; display "Reloaded!" |
|
| 35 | - | # Open current directory |
|
| 36 | - | bind o run-shell "open #{pane_current_path}" |
|
| 37 | - | bind -r e kill-pane -a |
|
| 38 | - | ||
| 39 | - | # vim-like pane switching |
|
| 40 | - | bind -r k select-pane -U |
|
| 41 | - | bind -r j select-pane -D |
|
| 42 | - | bind -r h select-pane -L |
|
| 43 | - | bind -r l select-pane -R |
|
| 44 | - | ||
| 45 | - | # Moving window |
|
| 46 | - | bind-key -n C-S-Left swap-window -t -1 \; previous-window |
|
| 47 | - | bind-key -n C-S-Right swap-window -t +1 \; next-window |
|
| 48 | - | ||
| 49 | - | # Resizing pane |
|
| 50 | - | bind -r C-k resize-pane -U 5 |
|
| 51 | - | bind -r C-j resize-pane -D 5 |
|
| 52 | - | bind -r C-h resize-pane -L 5 |
|
| 53 | - | bind -r C-l resize-pane -R 5 |
|
| 54 | - | ||
| 55 | - | # Start windows and panes at 1, not 0 |
|
| 56 | - | set -g base-index 1 |
|
| 57 | - | set -g pane-base-index 1 |
|
| 58 | - | set-window-option -g pane-base-index 1 |
|
| 59 | - | set-option -g renumber-windows on |
|
| 60 | - | ||
| 61 | - | # Opens split panes in current path |
|
| 62 | - | bind '"' split-window -v -c "#{pane_current_path}" |
|
| 63 | - | bind % split-window -h -c "#{pane_current_path}" |
|
| 64 | - | ||
| 65 | - | ||
| 66 | - | #set-option utf8-default on |
|
| 67 | - | #set-option -g mouse-select-pane |
|
| 68 | - | set-window-option -g mode-keys vi |
|
| 69 | - | #set-window-option -g utf8 on |
|
| 70 | - | # look'n feel |
|
| 71 | - | set-option -g status-position "top" |
|
| 72 | - | set-option -g status-style bg=colour0,fg=default |
|
| 73 | - | set-option -g status-justify centre |
|
| 74 | - | set-option -g status-left '#[bg=default,fg=default,bold]#{?client_prefix,, }#[bg=default,fg=colour3,bold]#{?client_prefix, ,}' |
|
| 75 | - | set-option -g status-right '#S' |
|
| 76 | - | set-option -g window-status-format '#[bg=colour0,fg=colour2] #W ' |
|
| 77 | - | set-option -g window-status-current-format '#[bg=colour0,fg=colour3] #W#{?window_zoomed_flag, , }' |
|
| 78 | - | ||
| 79 | - | ||
| 80 | - | run '~/.tmux/plugins/tpm/tpm' |
|
| 1 | + | /Users/stevedylandev/.tmux.conf |
| 1 | + | /Users/stevedylandev/.tmux.conf.osx |
Binary file — no preview.
Binary file — no preview.
Binary file — no preview.
Binary file — no preview.
Binary file — no preview.
| 1 | - | { |
|
| 2 | - | "name": "Mode SeventyFive H", |
|
| 3 | - | "vendorProductId": 14579058, |
|
| 4 | - | "macros": [ |
|
| 5 | - | "{KC_LCTL,KC_P}", |
|
| 6 | - | "{KC_LGUI,KC_LALT,KC_G}", |
|
| 7 | - | "", |
|
| 8 | - | "", |
|
| 9 | - | "", |
|
| 10 | - | "", |
|
| 11 | - | "", |
|
| 12 | - | "", |
|
| 13 | - | "", |
|
| 14 | - | "", |
|
| 15 | - | "", |
|
| 16 | - | "", |
|
| 17 | - | "", |
|
| 18 | - | "", |
|
| 19 | - | "", |
|
| 20 | - | "" |
|
| 21 | - | ], |
|
| 22 | - | "layers": [ |
|
| 23 | - | [ |
|
| 24 | - | "KC_ESC", |
|
| 25 | - | "KC_F1", |
|
| 26 | - | "KC_F2", |
|
| 27 | - | "MACRO00", |
|
| 28 | - | "MACRO01", |
|
| 29 | - | "KC_NO", |
|
| 30 | - | "KC_FIND", |
|
| 31 | - | "KC_WWW_HOME", |
|
| 32 | - | "KC_MPRV", |
|
| 33 | - | "KC_MPLY", |
|
| 34 | - | "KC_MNXT", |
|
| 35 | - | "KC_MUTE", |
|
| 36 | - | "KC_VOLD", |
|
| 37 | - | "KC_VOLU", |
|
| 38 | - | "KC_NO", |
|
| 39 | - | "KC_DEL", |
|
| 40 | - | "KC_GRV", |
|
| 41 | - | "KC_1", |
|
| 42 | - | "KC_2", |
|
| 43 | - | "KC_3", |
|
| 44 | - | "KC_4", |
|
| 45 | - | "KC_5", |
|
| 46 | - | "KC_6", |
|
| 47 | - | "KC_7", |
|
| 48 | - | "KC_8", |
|
| 49 | - | "KC_9", |
|
| 50 | - | "KC_0", |
|
| 51 | - | "KC_MINS", |
|
| 52 | - | "KC_EQL", |
|
| 53 | - | "KC_BSPC", |
|
| 54 | - | "KC_NO", |
|
| 55 | - | "KC_HOME", |
|
| 56 | - | "KC_TAB", |
|
| 57 | - | "KC_Q", |
|
| 58 | - | "KC_W", |
|
| 59 | - | "KC_E", |
|
| 60 | - | "KC_R", |
|
| 61 | - | "KC_T", |
|
| 62 | - | "KC_Y", |
|
| 63 | - | "KC_U", |
|
| 64 | - | "KC_I", |
|
| 65 | - | "KC_O", |
|
| 66 | - | "KC_P", |
|
| 67 | - | "KC_LBRC", |
|
| 68 | - | "KC_RBRC", |
|
| 69 | - | "KC_NO", |
|
| 70 | - | "KC_BSLS", |
|
| 71 | - | "KC_PGUP", |
|
| 72 | - | "KC_CAPS", |
|
| 73 | - | "KC_A", |
|
| 74 | - | "KC_S", |
|
| 75 | - | "KC_D", |
|
| 76 | - | "KC_F", |
|
| 77 | - | "KC_G", |
|
| 78 | - | "KC_H", |
|
| 79 | - | "KC_J", |
|
| 80 | - | "KC_K", |
|
| 81 | - | "KC_L", |
|
| 82 | - | "KC_SCLN", |
|
| 83 | - | "KC_QUOT", |
|
| 84 | - | "KC_NO", |
|
| 85 | - | "KC_NO", |
|
| 86 | - | "KC_ENT", |
|
| 87 | - | "KC_PGDN", |
|
| 88 | - | "KC_LSFT", |
|
| 89 | - | "KC_NO", |
|
| 90 | - | "KC_Z", |
|
| 91 | - | "KC_X", |
|
| 92 | - | "KC_C", |
|
| 93 | - | "KC_V", |
|
| 94 | - | "KC_B", |
|
| 95 | - | "KC_N", |
|
| 96 | - | "KC_M", |
|
| 97 | - | "KC_COMM", |
|
| 98 | - | "KC_DOT", |
|
| 99 | - | "KC_SLSH", |
|
| 100 | - | "KC_RSFT", |
|
| 101 | - | "KC_NO", |
|
| 102 | - | "KC_UP", |
|
| 103 | - | "KC_END", |
|
| 104 | - | "KC_LCTL", |
|
| 105 | - | "KC_LALT", |
|
| 106 | - | "KC_LGUI", |
|
| 107 | - | "KC_NO", |
|
| 108 | - | "KC_NO", |
|
| 109 | - | "KC_NO", |
|
| 110 | - | "KC_NO", |
|
| 111 | - | "KC_NO", |
|
| 112 | - | "KC_NO", |
|
| 113 | - | "KC_NO", |
|
| 114 | - | "KC_NO", |
|
| 115 | - | "KC_NO", |
|
| 116 | - | "KC_NO", |
|
| 117 | - | "KC_NO", |
|
| 118 | - | "KC_NO", |
|
| 119 | - | "KC_NO", |
|
| 120 | - | "KC_NO", |
|
| 121 | - | "KC_NO", |
|
| 122 | - | "KC_NO", |
|
| 123 | - | "KC_NO", |
|
| 124 | - | "KC_NO", |
|
| 125 | - | "KC_NO", |
|
| 126 | - | "KC_SPC", |
|
| 127 | - | "KC_NO", |
|
| 128 | - | "KC_NO", |
|
| 129 | - | "KC_NO", |
|
| 130 | - | "KC_RGUI", |
|
| 131 | - | "FN_MO13", |
|
| 132 | - | "KC_NO", |
|
| 133 | - | "KC_LEFT", |
|
| 134 | - | "KC_DOWN", |
|
| 135 | - | "KC_RGHT" |
|
| 136 | - | ], |
|
| 137 | - | [ |
|
| 138 | - | "KC_TRNS", |
|
| 139 | - | "KC_F1", |
|
| 140 | - | "KC_F2", |
|
| 141 | - | "KC_F3", |
|
| 142 | - | "KC_F4", |
|
| 143 | - | "KC_NO", |
|
| 144 | - | "KC_F5", |
|
| 145 | - | "KC_F6", |
|
| 146 | - | "KC_F7", |
|
| 147 | - | "KC_F8", |
|
| 148 | - | "KC_F9", |
|
| 149 | - | "KC_F10", |
|
| 150 | - | "KC_F11", |
|
| 151 | - | "KC_F12", |
|
| 152 | - | "KC_NO", |
|
| 153 | - | "KC_TRNS", |
|
| 154 | - | "KC_TRNS", |
|
| 155 | - | "KC_TRNS", |
|
| 156 | - | "KC_TRNS", |
|
| 157 | - | "KC_TRNS", |
|
| 158 | - | "KC_TRNS", |
|
| 159 | - | "KC_TRNS", |
|
| 160 | - | "KC_TRNS", |
|
| 161 | - | "KC_TRNS", |
|
| 162 | - | "KC_TRNS", |
|
| 163 | - | "KC_TRNS", |
|
| 164 | - | "KC_TRNS", |
|
| 165 | - | "KC_TRNS", |
|
| 166 | - | "KC_TRNS", |
|
| 167 | - | "KC_TRNS", |
|
| 168 | - | "KC_NO", |
|
| 169 | - | "KC_MUTE", |
|
| 170 | - | "KC_TRNS", |
|
| 171 | - | "KC_TRNS", |
|
| 172 | - | "KC_TRNS", |
|
| 173 | - | "KC_TRNS", |
|
| 174 | - | "KC_TRNS", |
|
| 175 | - | "KC_TRNS", |
|
| 176 | - | "KC_TRNS", |
|
| 177 | - | "KC_TRNS", |
|
| 178 | - | "KC_TRNS", |
|
| 179 | - | "KC_TRNS", |
|
| 180 | - | "KC_TRNS", |
|
| 181 | - | "KC_TRNS", |
|
| 182 | - | "KC_TRNS", |
|
| 183 | - | "KC_NO", |
|
| 184 | - | "KC_TRNS", |
|
| 185 | - | "KC_VOLU", |
|
| 186 | - | "KC_TRNS", |
|
| 187 | - | "KC_TRNS", |
|
| 188 | - | "KC_TRNS", |
|
| 189 | - | "KC_TRNS", |
|
| 190 | - | "KC_TRNS", |
|
| 191 | - | "KC_TRNS", |
|
| 192 | - | "KC_TRNS", |
|
| 193 | - | "KC_TRNS", |
|
| 194 | - | "KC_TRNS", |
|
| 195 | - | "KC_TRNS", |
|
| 196 | - | "KC_TRNS", |
|
| 197 | - | "KC_TRNS", |
|
| 198 | - | "KC_NO", |
|
| 199 | - | "KC_NO", |
|
| 200 | - | "KC_TRNS", |
|
| 201 | - | "KC_VOLD", |
|
| 202 | - | "FN_MO23", |
|
| 203 | - | "KC_NO", |
|
| 204 | - | "KC_TRNS", |
|
| 205 | - | "KC_TRNS", |
|
| 206 | - | "KC_TRNS", |
|
| 207 | - | "KC_TRNS", |
|
| 208 | - | "KC_TRNS", |
|
| 209 | - | "KC_TRNS", |
|
| 210 | - | "KC_TRNS", |
|
| 211 | - | "KC_TRNS", |
|
| 212 | - | "KC_TRNS", |
|
| 213 | - | "KC_TRNS", |
|
| 214 | - | "KC_TRNS", |
|
| 215 | - | "KC_NO", |
|
| 216 | - | "KC_TRNS", |
|
| 217 | - | "KC_MPLY", |
|
| 218 | - | "KC_TRNS", |
|
| 219 | - | "KC_TRNS", |
|
| 220 | - | "KC_TRNS", |
|
| 221 | - | "KC_NO", |
|
| 222 | - | "KC_NO", |
|
| 223 | - | "KC_NO", |
|
| 224 | - | "KC_NO", |
|
| 225 | - | "KC_NO", |
|
| 226 | - | "KC_NO", |
|
| 227 | - | "KC_NO", |
|
| 228 | - | "KC_NO", |
|
| 229 | - | "KC_NO", |
|
| 230 | - | "KC_NO", |
|
| 231 | - | "KC_NO", |
|
| 232 | - | "KC_NO", |
|
| 233 | - | "KC_NO", |
|
| 234 | - | "KC_NO", |
|
| 235 | - | "KC_NO", |
|
| 236 | - | "KC_NO", |
|
| 237 | - | "KC_NO", |
|
| 238 | - | "KC_NO", |
|
| 239 | - | "KC_NO", |
|
| 240 | - | "KC_TRNS", |
|
| 241 | - | "KC_NO", |
|
| 242 | - | "KC_NO", |
|
| 243 | - | "KC_NO", |
|
| 244 | - | "KC_TRNS", |
|
| 245 | - | "KC_TRNS", |
|
| 246 | - | "KC_NO", |
|
| 247 | - | "KC_TRNS", |
|
| 248 | - | "KC_TRNS", |
|
| 249 | - | "KC_TRNS" |
|
| 250 | - | ], |
|
| 251 | - | [ |
|
| 252 | - | "KC_TRNS", |
|
| 253 | - | "KC_F13", |
|
| 254 | - | "KC_F14", |
|
| 255 | - | "KC_F15", |
|
| 256 | - | "KC_F16", |
|
| 257 | - | "KC_NO", |
|
| 258 | - | "KC_F17", |
|
| 259 | - | "KC_F18", |
|
| 260 | - | "KC_F19", |
|
| 261 | - | "KC_F20", |
|
| 262 | - | "KC_F21", |
|
| 263 | - | "KC_F22", |
|
| 264 | - | "KC_F23", |
|
| 265 | - | "KC_F24", |
|
| 266 | - | "KC_NO", |
|
| 267 | - | "KC_TRNS", |
|
| 268 | - | "KC_TRNS", |
|
| 269 | - | "KC_TRNS", |
|
| 270 | - | "KC_TRNS", |
|
| 271 | - | "KC_TRNS", |
|
| 272 | - | "KC_TRNS", |
|
| 273 | - | "KC_TRNS", |
|
| 274 | - | "KC_TRNS", |
|
| 275 | - | "KC_TRNS", |
|
| 276 | - | "KC_TRNS", |
|
| 277 | - | "KC_TRNS", |
|
| 278 | - | "KC_TRNS", |
|
| 279 | - | "KC_TRNS", |
|
| 280 | - | "KC_TRNS", |
|
| 281 | - | "KC_TRNS", |
|
| 282 | - | "KC_NO", |
|
| 283 | - | "KC_TRNS", |
|
| 284 | - | "KC_TRNS", |
|
| 285 | - | "KC_TRNS", |
|
| 286 | - | "KC_TRNS", |
|
| 287 | - | "KC_TRNS", |
|
| 288 | - | "KC_TRNS", |
|
| 289 | - | "KC_TRNS", |
|
| 290 | - | "KC_TRNS", |
|
| 291 | - | "KC_TRNS", |
|
| 292 | - | "KC_TRNS", |
|
| 293 | - | "KC_TRNS", |
|
| 294 | - | "KC_TRNS", |
|
| 295 | - | "KC_TRNS", |
|
| 296 | - | "KC_TRNS", |
|
| 297 | - | "KC_NO", |
|
| 298 | - | "KC_TRNS", |
|
| 299 | - | "KC_TRNS", |
|
| 300 | - | "KC_TRNS", |
|
| 301 | - | "KC_TRNS", |
|
| 302 | - | "KC_TRNS", |
|
| 303 | - | "KC_TRNS", |
|
| 304 | - | "KC_TRNS", |
|
| 305 | - | "KC_TRNS", |
|
| 306 | - | "KC_TRNS", |
|
| 307 | - | "KC_TRNS", |
|
| 308 | - | "KC_TRNS", |
|
| 309 | - | "KC_TRNS", |
|
| 310 | - | "KC_TRNS", |
|
| 311 | - | "KC_TRNS", |
|
| 312 | - | "KC_NO", |
|
| 313 | - | "KC_NO", |
|
| 314 | - | "KC_TRNS", |
|
| 315 | - | "KC_TRNS", |
|
| 316 | - | "KC_TRNS", |
|
| 317 | - | "KC_NO", |
|
| 318 | - | "KC_TRNS", |
|
| 319 | - | "KC_TRNS", |
|
| 320 | - | "KC_TRNS", |
|
| 321 | - | "KC_TRNS", |
|
| 322 | - | "KC_TRNS", |
|
| 323 | - | "KC_TRNS", |
|
| 324 | - | "KC_TRNS", |
|
| 325 | - | "KC_TRNS", |
|
| 326 | - | "KC_TRNS", |
|
| 327 | - | "KC_TRNS", |
|
| 328 | - | "KC_TRNS", |
|
| 329 | - | "KC_NO", |
|
| 330 | - | "KC_TRNS", |
|
| 331 | - | "KC_TRNS", |
|
| 332 | - | "KC_TRNS", |
|
| 333 | - | "KC_TRNS", |
|
| 334 | - | "KC_TRNS", |
|
| 335 | - | "KC_NO", |
|
| 336 | - | "KC_NO", |
|
| 337 | - | "KC_NO", |
|
| 338 | - | "KC_NO", |
|
| 339 | - | "KC_NO", |
|
| 340 | - | "KC_NO", |
|
| 341 | - | "KC_NO", |
|
| 342 | - | "KC_NO", |
|
| 343 | - | "KC_NO", |
|
| 344 | - | "KC_NO", |
|
| 345 | - | "KC_NO", |
|
| 346 | - | "KC_NO", |
|
| 347 | - | "KC_NO", |
|
| 348 | - | "KC_NO", |
|
| 349 | - | "KC_NO", |
|
| 350 | - | "KC_NO", |
|
| 351 | - | "KC_NO", |
|
| 352 | - | "KC_NO", |
|
| 353 | - | "KC_NO", |
|
| 354 | - | "KC_TRNS", |
|
| 355 | - | "KC_NO", |
|
| 356 | - | "KC_NO", |
|
| 357 | - | "KC_NO", |
|
| 358 | - | "KC_TRNS", |
|
| 359 | - | "KC_TRNS", |
|
| 360 | - | "KC_NO", |
|
| 361 | - | "KC_TRNS", |
|
| 362 | - | "KC_TRNS", |
|
| 363 | - | "KC_TRNS" |
|
| 364 | - | ], |
|
| 365 | - | [ |
|
| 366 | - | "KC_TRNS", |
|
| 367 | - | "KC_TRNS", |
|
| 368 | - | "KC_TRNS", |
|
| 369 | - | "KC_TRNS", |
|
| 370 | - | "KC_TRNS", |
|
| 371 | - | "KC_NO", |
|
| 372 | - | "KC_TRNS", |
|
| 373 | - | "KC_TRNS", |
|
| 374 | - | "KC_TRNS", |
|
| 375 | - | "KC_TRNS", |
|
| 376 | - | "KC_TRNS", |
|
| 377 | - | "KC_TRNS", |
|
| 378 | - | "KC_TRNS", |
|
| 379 | - | "KC_TRNS", |
|
| 380 | - | "KC_NO", |
|
| 381 | - | "KC_TRNS", |
|
| 382 | - | "KC_TRNS", |
|
| 383 | - | "KC_TRNS", |
|
| 384 | - | "KC_TRNS", |
|
| 385 | - | "KC_TRNS", |
|
| 386 | - | "KC_TRNS", |
|
| 387 | - | "KC_TRNS", |
|
| 388 | - | "KC_TRNS", |
|
| 389 | - | "KC_TRNS", |
|
| 390 | - | "KC_TRNS", |
|
| 391 | - | "KC_TRNS", |
|
| 392 | - | "KC_TRNS", |
|
| 393 | - | "KC_TRNS", |
|
| 394 | - | "KC_TRNS", |
|
| 395 | - | "KC_TRNS", |
|
| 396 | - | "KC_NO", |
|
| 397 | - | "KC_TRNS", |
|
| 398 | - | "KC_TRNS", |
|
| 399 | - | "KC_TRNS", |
|
| 400 | - | "KC_TRNS", |
|
| 401 | - | "KC_TRNS", |
|
| 402 | - | "KC_TRNS", |
|
| 403 | - | "KC_TRNS", |
|
| 404 | - | "KC_TRNS", |
|
| 405 | - | "KC_TRNS", |
|
| 406 | - | "KC_TRNS", |
|
| 407 | - | "KC_TRNS", |
|
| 408 | - | "KC_TRNS", |
|
| 409 | - | "KC_TRNS", |
|
| 410 | - | "KC_TRNS", |
|
| 411 | - | "KC_NO", |
|
| 412 | - | "KC_TRNS", |
|
| 413 | - | "KC_TRNS", |
|
| 414 | - | "KC_TRNS", |
|
| 415 | - | "KC_TRNS", |
|
| 416 | - | "KC_TRNS", |
|
| 417 | - | "KC_TRNS", |
|
| 418 | - | "KC_TRNS", |
|
| 419 | - | "KC_TRNS", |
|
| 420 | - | "KC_TRNS", |
|
| 421 | - | "KC_TRNS", |
|
| 422 | - | "KC_TRNS", |
|
| 423 | - | "KC_TRNS", |
|
| 424 | - | "KC_TRNS", |
|
| 425 | - | "KC_TRNS", |
|
| 426 | - | "KC_NO", |
|
| 427 | - | "KC_NO", |
|
| 428 | - | "KC_TRNS", |
|
| 429 | - | "KC_TRNS", |
|
| 430 | - | "KC_TRNS", |
|
| 431 | - | "KC_NO", |
|
| 432 | - | "KC_TRNS", |
|
| 433 | - | "KC_TRNS", |
|
| 434 | - | "KC_TRNS", |
|
| 435 | - | "KC_TRNS", |
|
| 436 | - | "KC_TRNS", |
|
| 437 | - | "KC_TRNS", |
|
| 438 | - | "KC_TRNS", |
|
| 439 | - | "KC_TRNS", |
|
| 440 | - | "KC_TRNS", |
|
| 441 | - | "KC_TRNS", |
|
| 442 | - | "KC_TRNS", |
|
| 443 | - | "KC_NO", |
|
| 444 | - | "KC_TRNS", |
|
| 445 | - | "KC_TRNS", |
|
| 446 | - | "KC_TRNS", |
|
| 447 | - | "KC_TRNS", |
|
| 448 | - | "KC_TRNS", |
|
| 449 | - | "KC_NO", |
|
| 450 | - | "KC_NO", |
|
| 451 | - | "KC_NO", |
|
| 452 | - | "KC_NO", |
|
| 453 | - | "KC_NO", |
|
| 454 | - | "KC_NO", |
|
| 455 | - | "KC_NO", |
|
| 456 | - | "KC_NO", |
|
| 457 | - | "KC_NO", |
|
| 458 | - | "KC_NO", |
|
| 459 | - | "KC_NO", |
|
| 460 | - | "KC_NO", |
|
| 461 | - | "KC_NO", |
|
| 462 | - | "KC_NO", |
|
| 463 | - | "KC_NO", |
|
| 464 | - | "KC_NO", |
|
| 465 | - | "KC_NO", |
|
| 466 | - | "KC_NO", |
|
| 467 | - | "KC_NO", |
|
| 468 | - | "KC_TRNS", |
|
| 469 | - | "KC_NO", |
|
| 470 | - | "KC_NO", |
|
| 471 | - | "KC_NO", |
|
| 472 | - | "KC_TRNS", |
|
| 473 | - | "KC_TRNS", |
|
| 474 | - | "KC_NO", |
|
| 475 | - | "KC_TRNS", |
|
| 476 | - | "KC_TRNS", |
|
| 477 | - | "KC_TRNS" |
|
| 478 | - | ] |
|
| 479 | - | ], |
|
| 480 | - | "encoders": [] |
|
| 481 | - | } |
| 1 | - | { |
|
| 2 | - | "name": "Mode SeventyFive H", |
|
| 3 | - | "vendorProductId": 14579058, |
|
| 4 | - | "macros": [ |
|
| 5 | - | "{KC_LCTL,KC_P}", |
|
| 6 | - | "{KC_LGUI,KC_LALT,KC_G}", |
|
| 7 | - | "{KC_LGUI,KC_LSFT,KC_LALT,KC_M}", |
|
| 8 | - | "", |
|
| 9 | - | "", |
|
| 10 | - | "", |
|
| 11 | - | "", |
|
| 12 | - | "", |
|
| 13 | - | "", |
|
| 14 | - | "", |
|
| 15 | - | "", |
|
| 16 | - | "", |
|
| 17 | - | "", |
|
| 18 | - | "", |
|
| 19 | - | "", |
|
| 20 | - | "" |
|
| 21 | - | ], |
|
| 22 | - | "layers": [ |
|
| 23 | - | [ |
|
| 24 | - | "KC_ESC", |
|
| 25 | - | "KC_F1", |
|
| 26 | - | "KC_F2", |
|
| 27 | - | "MACRO00", |
|
| 28 | - | "MACRO01", |
|
| 29 | - | "KC_NO", |
|
| 30 | - | "KC_FIND", |
|
| 31 | - | "KC_WWW_HOME", |
|
| 32 | - | "KC_MPRV", |
|
| 33 | - | "KC_MPLY", |
|
| 34 | - | "KC_MNXT", |
|
| 35 | - | "KC_MUTE", |
|
| 36 | - | "KC_VOLD", |
|
| 37 | - | "KC_VOLU", |
|
| 38 | - | "KC_NO", |
|
| 39 | - | "KC_DEL", |
|
| 40 | - | "KC_GRV", |
|
| 41 | - | "KC_1", |
|
| 42 | - | "KC_2", |
|
| 43 | - | "KC_3", |
|
| 44 | - | "KC_4", |
|
| 45 | - | "KC_5", |
|
| 46 | - | "KC_6", |
|
| 47 | - | "KC_7", |
|
| 48 | - | "KC_8", |
|
| 49 | - | "KC_9", |
|
| 50 | - | "KC_0", |
|
| 51 | - | "KC_MINS", |
|
| 52 | - | "KC_EQL", |
|
| 53 | - | "KC_BSPC", |
|
| 54 | - | "KC_NO", |
|
| 55 | - | "MACRO02", |
|
| 56 | - | "KC_TAB", |
|
| 57 | - | "KC_Q", |
|
| 58 | - | "KC_W", |
|
| 59 | - | "KC_E", |
|
| 60 | - | "KC_R", |
|
| 61 | - | "KC_T", |
|
| 62 | - | "KC_Y", |
|
| 63 | - | "KC_U", |
|
| 64 | - | "KC_I", |
|
| 65 | - | "KC_O", |
|
| 66 | - | "KC_P", |
|
| 67 | - | "KC_LBRC", |
|
| 68 | - | "KC_RBRC", |
|
| 69 | - | "KC_NO", |
|
| 70 | - | "KC_BSLS", |
|
| 71 | - | "KC_PGUP", |
|
| 72 | - | "KC_CAPS", |
|
| 73 | - | "KC_A", |
|
| 74 | - | "KC_S", |
|
| 75 | - | "KC_D", |
|
| 76 | - | "KC_F", |
|
| 77 | - | "KC_G", |
|
| 78 | - | "KC_H", |
|
| 79 | - | "KC_J", |
|
| 80 | - | "KC_K", |
|
| 81 | - | "KC_L", |
|
| 82 | - | "KC_SCLN", |
|
| 83 | - | "KC_QUOT", |
|
| 84 | - | "KC_NO", |
|
| 85 | - | "KC_NO", |
|
| 86 | - | "KC_ENT", |
|
| 87 | - | "KC_PGDN", |
|
| 88 | - | "KC_LSFT", |
|
| 89 | - | "KC_NO", |
|
| 90 | - | "KC_Z", |
|
| 91 | - | "KC_X", |
|
| 92 | - | "KC_C", |
|
| 93 | - | "KC_V", |
|
| 94 | - | "KC_B", |
|
| 95 | - | "KC_N", |
|
| 96 | - | "KC_M", |
|
| 97 | - | "KC_COMM", |
|
| 98 | - | "KC_DOT", |
|
| 99 | - | "KC_SLSH", |
|
| 100 | - | "KC_RSFT", |
|
| 101 | - | "KC_NO", |
|
| 102 | - | "KC_UP", |
|
| 103 | - | "KC_END", |
|
| 104 | - | "KC_LCTL", |
|
| 105 | - | "KC_LALT", |
|
| 106 | - | "KC_LGUI", |
|
| 107 | - | "KC_NO", |
|
| 108 | - | "KC_NO", |
|
| 109 | - | "KC_NO", |
|
| 110 | - | "KC_NO", |
|
| 111 | - | "KC_NO", |
|
| 112 | - | "KC_NO", |
|
| 113 | - | "KC_NO", |
|
| 114 | - | "KC_NO", |
|
| 115 | - | "KC_NO", |
|
| 116 | - | "KC_NO", |
|
| 117 | - | "KC_NO", |
|
| 118 | - | "KC_NO", |
|
| 119 | - | "KC_NO", |
|
| 120 | - | "KC_NO", |
|
| 121 | - | "KC_NO", |
|
| 122 | - | "KC_NO", |
|
| 123 | - | "KC_NO", |
|
| 124 | - | "KC_NO", |
|
| 125 | - | "KC_NO", |
|
| 126 | - | "KC_SPC", |
|
| 127 | - | "KC_NO", |
|
| 128 | - | "KC_NO", |
|
| 129 | - | "KC_NO", |
|
| 130 | - | "KC_RGUI", |
|
| 131 | - | "FN_MO13", |
|
| 132 | - | "KC_NO", |
|
| 133 | - | "KC_LEFT", |
|
| 134 | - | "KC_DOWN", |
|
| 135 | - | "KC_RGHT" |
|
| 136 | - | ], |
|
| 137 | - | [ |
|
| 138 | - | "KC_TRNS", |
|
| 139 | - | "KC_F1", |
|
| 140 | - | "KC_F2", |
|
| 141 | - | "KC_F3", |
|
| 142 | - | "KC_F4", |
|
| 143 | - | "KC_NO", |
|
| 144 | - | "KC_F5", |
|
| 145 | - | "KC_F6", |
|
| 146 | - | "KC_F7", |
|
| 147 | - | "KC_F8", |
|
| 148 | - | "KC_F9", |
|
| 149 | - | "KC_F10", |
|
| 150 | - | "KC_F11", |
|
| 151 | - | "KC_F12", |
|
| 152 | - | "KC_NO", |
|
| 153 | - | "KC_TRNS", |
|
| 154 | - | "KC_TRNS", |
|
| 155 | - | "KC_TRNS", |
|
| 156 | - | "KC_TRNS", |
|
| 157 | - | "KC_TRNS", |
|
| 158 | - | "KC_TRNS", |
|
| 159 | - | "KC_TRNS", |
|
| 160 | - | "KC_TRNS", |
|
| 161 | - | "KC_TRNS", |
|
| 162 | - | "KC_TRNS", |
|
| 163 | - | "KC_TRNS", |
|
| 164 | - | "KC_TRNS", |
|
| 165 | - | "KC_TRNS", |
|
| 166 | - | "KC_TRNS", |
|
| 167 | - | "KC_TRNS", |
|
| 168 | - | "KC_NO", |
|
| 169 | - | "KC_MUTE", |
|
| 170 | - | "KC_TRNS", |
|
| 171 | - | "KC_TRNS", |
|
| 172 | - | "KC_TRNS", |
|
| 173 | - | "KC_TRNS", |
|
| 174 | - | "KC_TRNS", |
|
| 175 | - | "KC_TRNS", |
|
| 176 | - | "KC_TRNS", |
|
| 177 | - | "KC_TRNS", |
|
| 178 | - | "KC_TRNS", |
|
| 179 | - | "KC_TRNS", |
|
| 180 | - | "KC_TRNS", |
|
| 181 | - | "KC_TRNS", |
|
| 182 | - | "KC_TRNS", |
|
| 183 | - | "KC_NO", |
|
| 184 | - | "KC_TRNS", |
|
| 185 | - | "KC_VOLU", |
|
| 186 | - | "KC_TRNS", |
|
| 187 | - | "KC_TRNS", |
|
| 188 | - | "KC_TRNS", |
|
| 189 | - | "KC_TRNS", |
|
| 190 | - | "KC_TRNS", |
|
| 191 | - | "KC_TRNS", |
|
| 192 | - | "KC_TRNS", |
|
| 193 | - | "KC_TRNS", |
|
| 194 | - | "KC_TRNS", |
|
| 195 | - | "KC_TRNS", |
|
| 196 | - | "KC_TRNS", |
|
| 197 | - | "KC_TRNS", |
|
| 198 | - | "KC_NO", |
|
| 199 | - | "KC_NO", |
|
| 200 | - | "KC_TRNS", |
|
| 201 | - | "KC_VOLD", |
|
| 202 | - | "FN_MO23", |
|
| 203 | - | "KC_NO", |
|
| 204 | - | "KC_TRNS", |
|
| 205 | - | "KC_TRNS", |
|
| 206 | - | "KC_TRNS", |
|
| 207 | - | "KC_TRNS", |
|
| 208 | - | "KC_TRNS", |
|
| 209 | - | "KC_TRNS", |
|
| 210 | - | "KC_TRNS", |
|
| 211 | - | "KC_TRNS", |
|
| 212 | - | "KC_TRNS", |
|
| 213 | - | "KC_TRNS", |
|
| 214 | - | "KC_TRNS", |
|
| 215 | - | "KC_NO", |
|
| 216 | - | "KC_TRNS", |
|
| 217 | - | "KC_MPLY", |
|
| 218 | - | "KC_TRNS", |
|
| 219 | - | "KC_TRNS", |
|
| 220 | - | "KC_TRNS", |
|
| 221 | - | "KC_NO", |
|
| 222 | - | "KC_NO", |
|
| 223 | - | "KC_NO", |
|
| 224 | - | "KC_NO", |
|
| 225 | - | "KC_NO", |
|
| 226 | - | "KC_NO", |
|
| 227 | - | "KC_NO", |
|
| 228 | - | "KC_NO", |
|
| 229 | - | "KC_NO", |
|
| 230 | - | "KC_NO", |
|
| 231 | - | "KC_NO", |
|
| 232 | - | "KC_NO", |
|
| 233 | - | "KC_NO", |
|
| 234 | - | "KC_NO", |
|
| 235 | - | "KC_NO", |
|
| 236 | - | "KC_NO", |
|
| 237 | - | "KC_NO", |
|
| 238 | - | "KC_NO", |
|
| 239 | - | "KC_NO", |
|
| 240 | - | "KC_TRNS", |
|
| 241 | - | "KC_NO", |
|
| 242 | - | "KC_NO", |
|
| 243 | - | "KC_NO", |
|
| 244 | - | "KC_TRNS", |
|
| 245 | - | "KC_TRNS", |
|
| 246 | - | "KC_NO", |
|
| 247 | - | "KC_TRNS", |
|
| 248 | - | "KC_TRNS", |
|
| 249 | - | "KC_TRNS" |
|
| 250 | - | ], |
|
| 251 | - | [ |
|
| 252 | - | "KC_TRNS", |
|
| 253 | - | "KC_F13", |
|
| 254 | - | "KC_F14", |
|
| 255 | - | "KC_F15", |
|
| 256 | - | "KC_F16", |
|
| 257 | - | "KC_NO", |
|
| 258 | - | "KC_F17", |
|
| 259 | - | "KC_F18", |
|
| 260 | - | "KC_F19", |
|
| 261 | - | "KC_F20", |
|
| 262 | - | "KC_F21", |
|
| 263 | - | "KC_F22", |
|
| 264 | - | "KC_F23", |
|
| 265 | - | "KC_F24", |
|
| 266 | - | "KC_NO", |
|
| 267 | - | "KC_TRNS", |
|
| 268 | - | "KC_TRNS", |
|
| 269 | - | "KC_TRNS", |
|
| 270 | - | "KC_TRNS", |
|
| 271 | - | "KC_TRNS", |
|
| 272 | - | "KC_TRNS", |
|
| 273 | - | "KC_TRNS", |
|
| 274 | - | "KC_TRNS", |
|
| 275 | - | "KC_TRNS", |
|
| 276 | - | "KC_TRNS", |
|
| 277 | - | "KC_TRNS", |
|
| 278 | - | "KC_TRNS", |
|
| 279 | - | "KC_TRNS", |
|
| 280 | - | "KC_TRNS", |
|
| 281 | - | "KC_TRNS", |
|
| 282 | - | "KC_NO", |
|
| 283 | - | "KC_TRNS", |
|
| 284 | - | "KC_TRNS", |
|
| 285 | - | "KC_TRNS", |
|
| 286 | - | "KC_TRNS", |
|
| 287 | - | "KC_TRNS", |
|
| 288 | - | "KC_TRNS", |
|
| 289 | - | "KC_TRNS", |
|
| 290 | - | "KC_TRNS", |
|
| 291 | - | "KC_TRNS", |
|
| 292 | - | "KC_TRNS", |
|
| 293 | - | "KC_TRNS", |
|
| 294 | - | "KC_TRNS", |
|
| 295 | - | "KC_TRNS", |
|
| 296 | - | "KC_TRNS", |
|
| 297 | - | "KC_NO", |
|
| 298 | - | "KC_TRNS", |
|
| 299 | - | "KC_TRNS", |
|
| 300 | - | "KC_TRNS", |
|
| 301 | - | "KC_TRNS", |
|
| 302 | - | "KC_TRNS", |
|
| 303 | - | "KC_TRNS", |
|
| 304 | - | "KC_TRNS", |
|
| 305 | - | "KC_TRNS", |
|
| 306 | - | "KC_TRNS", |
|
| 307 | - | "KC_TRNS", |
|
| 308 | - | "KC_TRNS", |
|
| 309 | - | "KC_TRNS", |
|
| 310 | - | "KC_TRNS", |
|
| 311 | - | "KC_TRNS", |
|
| 312 | - | "KC_NO", |
|
| 313 | - | "KC_NO", |
|
| 314 | - | "KC_TRNS", |
|
| 315 | - | "KC_TRNS", |
|
| 316 | - | "KC_TRNS", |
|
| 317 | - | "KC_NO", |
|
| 318 | - | "KC_TRNS", |
|
| 319 | - | "KC_TRNS", |
|
| 320 | - | "KC_TRNS", |
|
| 321 | - | "KC_TRNS", |
|
| 322 | - | "KC_TRNS", |
|
| 323 | - | "KC_TRNS", |
|
| 324 | - | "KC_TRNS", |
|
| 325 | - | "KC_TRNS", |
|
| 326 | - | "KC_TRNS", |
|
| 327 | - | "KC_TRNS", |
|
| 328 | - | "KC_TRNS", |
|
| 329 | - | "KC_NO", |
|
| 330 | - | "KC_TRNS", |
|
| 331 | - | "KC_TRNS", |
|
| 332 | - | "KC_TRNS", |
|
| 333 | - | "KC_TRNS", |
|
| 334 | - | "KC_TRNS", |
|
| 335 | - | "KC_NO", |
|
| 336 | - | "KC_NO", |
|
| 337 | - | "KC_NO", |
|
| 338 | - | "KC_NO", |
|
| 339 | - | "KC_NO", |
|
| 340 | - | "KC_NO", |
|
| 341 | - | "KC_NO", |
|
| 342 | - | "KC_NO", |
|
| 343 | - | "KC_NO", |
|
| 344 | - | "KC_NO", |
|
| 345 | - | "KC_NO", |
|
| 346 | - | "KC_NO", |
|
| 347 | - | "KC_NO", |
|
| 348 | - | "KC_NO", |
|
| 349 | - | "KC_NO", |
|
| 350 | - | "KC_NO", |
|
| 351 | - | "KC_NO", |
|
| 352 | - | "KC_NO", |
|
| 353 | - | "KC_NO", |
|
| 354 | - | "KC_TRNS", |
|
| 355 | - | "KC_NO", |
|
| 356 | - | "KC_NO", |
|
| 357 | - | "KC_NO", |
|
| 358 | - | "KC_TRNS", |
|
| 359 | - | "KC_TRNS", |
|
| 360 | - | "KC_NO", |
|
| 361 | - | "KC_TRNS", |
|
| 362 | - | "KC_TRNS", |
|
| 363 | - | "KC_TRNS" |
|
| 364 | - | ], |
|
| 365 | - | [ |
|
| 366 | - | "KC_TRNS", |
|
| 367 | - | "KC_TRNS", |
|
| 368 | - | "KC_TRNS", |
|
| 369 | - | "KC_TRNS", |
|
| 370 | - | "KC_TRNS", |
|
| 371 | - | "KC_NO", |
|
| 372 | - | "KC_TRNS", |
|
| 373 | - | "KC_TRNS", |
|
| 374 | - | "KC_TRNS", |
|
| 375 | - | "KC_TRNS", |
|
| 376 | - | "KC_TRNS", |
|
| 377 | - | "KC_TRNS", |
|
| 378 | - | "KC_TRNS", |
|
| 379 | - | "KC_TRNS", |
|
| 380 | - | "KC_NO", |
|
| 381 | - | "KC_TRNS", |
|
| 382 | - | "KC_TRNS", |
|
| 383 | - | "KC_TRNS", |
|
| 384 | - | "KC_TRNS", |
|
| 385 | - | "KC_TRNS", |
|
| 386 | - | "KC_TRNS", |
|
| 387 | - | "KC_TRNS", |
|
| 388 | - | "KC_TRNS", |
|
| 389 | - | "KC_TRNS", |
|
| 390 | - | "KC_TRNS", |
|
| 391 | - | "KC_TRNS", |
|
| 392 | - | "KC_TRNS", |
|
| 393 | - | "KC_TRNS", |
|
| 394 | - | "KC_TRNS", |
|
| 395 | - | "KC_TRNS", |
|
| 396 | - | "KC_NO", |
|
| 397 | - | "KC_TRNS", |
|
| 398 | - | "KC_TRNS", |
|
| 399 | - | "KC_TRNS", |
|
| 400 | - | "KC_TRNS", |
|
| 401 | - | "KC_TRNS", |
|
| 402 | - | "KC_TRNS", |
|
| 403 | - | "KC_TRNS", |
|
| 404 | - | "KC_TRNS", |
|
| 405 | - | "KC_TRNS", |
|
| 406 | - | "KC_TRNS", |
|
| 407 | - | "KC_TRNS", |
|
| 408 | - | "KC_TRNS", |
|
| 409 | - | "KC_TRNS", |
|
| 410 | - | "KC_TRNS", |
|
| 411 | - | "KC_NO", |
|
| 412 | - | "KC_TRNS", |
|
| 413 | - | "KC_TRNS", |
|
| 414 | - | "KC_TRNS", |
|
| 415 | - | "KC_TRNS", |
|
| 416 | - | "KC_TRNS", |
|
| 417 | - | "KC_TRNS", |
|
| 418 | - | "KC_TRNS", |
|
| 419 | - | "KC_TRNS", |
|
| 420 | - | "KC_TRNS", |
|
| 421 | - | "KC_TRNS", |
|
| 422 | - | "KC_TRNS", |
|
| 423 | - | "KC_TRNS", |
|
| 424 | - | "KC_TRNS", |
|
| 425 | - | "KC_TRNS", |
|
| 426 | - | "KC_NO", |
|
| 427 | - | "KC_NO", |
|
| 428 | - | "KC_TRNS", |
|
| 429 | - | "KC_TRNS", |
|
| 430 | - | "KC_TRNS", |
|
| 431 | - | "KC_NO", |
|
| 432 | - | "KC_TRNS", |
|
| 433 | - | "KC_TRNS", |
|
| 434 | - | "KC_TRNS", |
|
| 435 | - | "KC_TRNS", |
|
| 436 | - | "KC_TRNS", |
|
| 437 | - | "KC_TRNS", |
|
| 438 | - | "KC_TRNS", |
|
| 439 | - | "KC_TRNS", |
|
| 440 | - | "KC_TRNS", |
|
| 441 | - | "KC_TRNS", |
|
| 442 | - | "KC_TRNS", |
|
| 443 | - | "KC_NO", |
|
| 444 | - | "KC_TRNS", |
|
| 445 | - | "KC_TRNS", |
|
| 446 | - | "KC_TRNS", |
|
| 447 | - | "KC_TRNS", |
|
| 448 | - | "KC_TRNS", |
|
| 449 | - | "KC_NO", |
|
| 450 | - | "KC_NO", |
|
| 451 | - | "KC_NO", |
|
| 452 | - | "KC_NO", |
|
| 453 | - | "KC_NO", |
|
| 454 | - | "KC_NO", |
|
| 455 | - | "KC_NO", |
|
| 456 | - | "KC_NO", |
|
| 457 | - | "KC_NO", |
|
| 458 | - | "KC_NO", |
|
| 459 | - | "KC_NO", |
|
| 460 | - | "KC_NO", |
|
| 461 | - | "KC_NO", |
|
| 462 | - | "KC_NO", |
|
| 463 | - | "KC_NO", |
|
| 464 | - | "KC_NO", |
|
| 465 | - | "KC_NO", |
|
| 466 | - | "KC_NO", |
|
| 467 | - | "KC_NO", |
|
| 468 | - | "KC_TRNS", |
|
| 469 | - | "KC_NO", |
|
| 470 | - | "KC_NO", |
|
| 471 | - | "KC_NO", |
|
| 472 | - | "KC_TRNS", |
|
| 473 | - | "KC_TRNS", |
|
| 474 | - | "KC_NO", |
|
| 475 | - | "KC_TRNS", |
|
| 476 | - | "KC_TRNS", |
|
| 477 | - | "KC_TRNS" |
|
| 478 | - | ] |
|
| 479 | - | ], |
|
| 480 | - | "encoders": [] |
|
| 481 | - | } |
| 1 | + | /Users/stevedylandev/.config/via/mode_sonet_config_010423.json |
| 1 | + | /Users/stevedylandev/.config/via/mode_sonet_config_010723.json |
| 1 | - | local wezterm = require 'wezterm' |
|
| 2 | - | ||
| 3 | - | local config = {} |
|
| 4 | - | ||
| 5 | - | if wezterm.config_builder then |
|
| 6 | - | config = wezterm.config_builder() |
|
| 7 | - | end |
|
| 8 | - | ||
| 9 | - | config.default_prog = { '/opt/homebrew/bin/nu' } |
|
| 10 | - | ||
| 11 | - | config.color_scheme = "Poimandres" |
|
| 12 | - | ||
| 13 | - | config.font = wezterm.font('CommitMono Nerd Font') |
|
| 14 | - | config.font_size = 14 |
|
| 15 | - | ||
| 16 | - | config.enable_tab_bar = false |
|
| 17 | - | config.window_decorations = "RESIZE" |
|
| 18 | - | config.window_padding = { |
|
| 19 | - | left = 10, |
|
| 20 | - | right =10, |
|
| 21 | - | top = 4, |
|
| 22 | - | bottom = 4 |
|
| 23 | - | } |
|
| 24 | - | ||
| 25 | - | -- ITS OVER 9000!!!! |
|
| 26 | - | config.max_fps = 120 |
|
| 27 | - | config.front_end = "WebGpu" |
|
| 28 | - | config.webgpu_power_preference = "HighPerformance", |
|
| 29 | - | ||
| 30 | - | config.initial_cols = 85 |
|
| 31 | - | config.initial_rows = 30 |
|
| 32 | - | ||
| 33 | - | ||
| 34 | - | return config |
| 1 | - | local wezterm = require 'wezterm' |
|
| 2 | - | ||
| 3 | - | local config = {} |
|
| 4 | - | ||
| 5 | - | if wezterm.config_builder then |
|
| 6 | - | config = wezterm.config_builder() |
|
| 7 | - | end |
|
| 8 | - | ||
| 9 | - | --config.color_scheme = "Poimandres" |
|
| 10 | - | config.color_scheme = 'Black Metal (Bathory) (base16)' |
|
| 11 | - | ||
| 12 | - | config.font = wezterm.font('CommitMono Nerd Font') |
|
| 13 | - | config.font_size = 14 |
|
| 14 | - | ||
| 15 | - | ||
| 16 | - | config.enable_tab_bar = false |
|
| 17 | - | config.window_decorations = "RESIZE" |
|
| 18 | - | config.window_padding = { |
|
| 19 | - | left = 10, |
|
| 20 | - | right =10, |
|
| 21 | - | top = 4, |
|
| 22 | - | bottom = 4 |
|
| 23 | - | } |
|
| 24 | - | ||
| 25 | - | config.initial_cols = 85 |
|
| 26 | - | config.initial_rows = 30 |
|
| 27 | - | ||
| 28 | - | ||
| 29 | - | return config |
| 1 | + | /Users/stevedylandev/.config/wezterm.lua |
| 1 | + | /Users/stevedylandev/.config/zed/keymap.json |
| 1 | + | /Users/stevedylandev/.config/zed/settings.json |
| 1 | + | /Users/stevedylandev/.config/zed/themes |