aurorac498a09
change nvidia to nvidia-open
+34 −34
2 files changed
- M .config/tmux/tmux.conf +33 −33
- M packages/pkg_nvidia.sh +1 −1
| @@ -1,55 +1,55 @@ | |||
| 1 | − | # True color settings | |
| 2 | − | set -g default-terminal "$TERM" | |
| 3 | − | set -ag terminal-overrides ",$TERM:Tc" | |
| 4 | − | set -s escape-time 0 | |
| 5 | 1 | ||
| 6 | − | set -g prefix2 C-s | |
| 7 | − | unbind C-b | |
| 8 | − | set -g prefix2 C-Space | |
| 2 | + | ##### tmux.conf - tuned for Foot (Wayland) + preserve transparency + truecolor ##### | |
| 9 | 3 | ||
| 10 | − | set -g status-style 'bg=#16161E fg=#ffffff' | |
| 4 | + | # responsiveness | |
| 5 | + | set -s escape-time 0 | |
| 11 | 6 | set-option -g history-limit 5000 | |
| 12 | 7 | ||
| 13 | − | # Numbering Windows and panes | |
| 8 | + | # prefix | |
| 9 | + | unbind C-b | |
| 10 | + | set -g prefix2 C-s | |
| 11 | + | set -g prefix C-Space | |
| 12 | + | ||
| 13 | + | # numbering | |
| 14 | 14 | set -g base-index 1 | |
| 15 | 15 | setw -g pane-base-index 1 | |
| 16 | 16 | set -g renumber-windows on | |
| 17 | 17 | ||
| 18 | − | bind r source-file ~/.config/tmux/tmux.conf; | |
| 18 | + | # reload quickly | |
| 19 | + | bind r source-file ~/.config/tmux/tmux.conf | |
| 20 | + | ||
| 21 | + | ##### transparency & styles ##### | |
| 22 | + | # let the terminal compositor handle the background (keeps transparency) | |
| 23 | + | set -g window-style 'bg=default' | |
| 24 | + | set -g window-active-style 'bg=default' | |
| 25 | + | set -g status-style 'bg=default' | |
| 26 | + | ||
| 27 | + | # default-terminal: use a screen-compatible value to avoid missing terminfo, | |
| 28 | + | # but tell tmux to pass 24-bit color capability for common terminal names | |
| 29 | + | set -g default-terminal "screen-256color" | |
| 30 | + | set -ga terminal-overrides ",screen-256color:Tc,foot:Tc,xterm-256color:Tc,alacritty:Tc" | |
| 19 | 31 | ||
| 20 | − | # vim keys | |
| 21 | − | # setw -g mode-keys vi | |
| 32 | + | ##### vi mode / copy ##### | |
| 22 | 33 | set-window-option -g mode-keys vi | |
| 23 | 34 | bind -T copy-mode-vi v send-keys -X begin-selection | |
| 24 | 35 | bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy' | |
| 25 | 36 | ||
| 26 | − | # # Remapping movement keys | |
| 27 | − | bind h select-pane -L # Move focus to pane on the left | |
| 28 | − | bind j select-pane -D # Move focus to pane above the current one | |
| 29 | − | bind k select-pane -U # Move focus to pane below the current one | |
| 30 | − | bind l select-pane -R # Move focus to pane on the right | |
| 31 | − | bind Space last-window # Toggle between previously focused window | |
| 32 | − | ||
| 33 | − | bind c new-window -c "#{pane_current_path}" # Keep current path | |
| 34 | − | ||
| 37 | + | ##### keys ##### | |
| 38 | + | bind h select-pane -L | |
| 39 | + | bind j select-pane -D | |
| 40 | + | bind k select-pane -U | |
| 41 | + | bind l select-pane -R | |
| 42 | + | bind Space last-window | |
| 43 | + | bind c new-window -c "#{pane_current_path}" | |
| 35 | 44 | bind-key -r i run-shell "tmux neww tms" | |
| 36 | − | ||
| 37 | − | # Resizing panes (notes that is using the uppercase here and resize by 5 chars) | |
| 38 | 45 | bind -r C-h resize-pane -L 5 | |
| 39 | 46 | bind -r C-j resize-pane -D 5 | |
| 40 | 47 | bind -r C-k resize-pane -U 5 | |
| 41 | 48 | bind -r C-l resize-pane -R 5 | |
| 42 | 49 | ||
| 43 | − | ||
| 44 | − | ||
| 45 | − | # TPM | |
| 46 | − | ## Setup: git clone https://github.com/tmux-plugins/tpm plugins/tpm | |
| 50 | + | ##### plugins (temporarily disable if debugging) ##### | |
| 47 | 51 | set -g @plugin 'tmux-plugins/tpm' | |
| 52 | + | # Tokyo Night can override bg — comment out while debugging | |
| 48 | 53 | set -g @plugin 'fabioluciano/tmux-tokyo-night' | |
| 49 | − | ||
| 50 | − | # Configure the catppuccin plugin | |
| 51 | − | # set -g @catppuccin_flavor "mocha" | |
| 52 | − | # set -g @catppuccin_window_status_style "rounded" | |
| 53 | − | # set -g @plugin 'catppuccin/tmux' | |
| 54 | − | ||
| 55 | 54 | run '~/.config/tmux/plugins/tpm/tpm' | |
| 55 | + | ||
| @@ -1,6 +1,6 @@ | |||
| 1 | 1 | #!/bin/env bash | |
| 2 | 2 | ||
| 3 | 3 | export pkg_nvidia=( | |
| 4 | − | "nvidia" | |
| 4 | + | "nvidia-open" | |
| 5 | 5 | "nvidia-utils" | |
| 6 | 6 | ) | |