change nvidia to nvidia-open
This commit is contained in:
parent
b11747edaf
commit
c498a09eaa
|
|
@ -1,55 +1,55 @@
|
||||||
# True color settings
|
|
||||||
set -g default-terminal "$TERM"
|
##### tmux.conf - tuned for Foot (Wayland) + preserve transparency + truecolor #####
|
||||||
set -ag terminal-overrides ",$TERM:Tc"
|
|
||||||
|
# responsiveness
|
||||||
set -s escape-time 0
|
set -s escape-time 0
|
||||||
|
|
||||||
set -g prefix2 C-s
|
|
||||||
unbind C-b
|
|
||||||
set -g prefix2 C-Space
|
|
||||||
|
|
||||||
set -g status-style 'bg=#16161E fg=#ffffff'
|
|
||||||
set-option -g history-limit 5000
|
set-option -g history-limit 5000
|
||||||
|
|
||||||
# Numbering Windows and panes
|
# prefix
|
||||||
|
unbind C-b
|
||||||
|
set -g prefix2 C-s
|
||||||
|
set -g prefix C-Space
|
||||||
|
|
||||||
|
# numbering
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
setw -g pane-base-index 1
|
setw -g pane-base-index 1
|
||||||
set -g renumber-windows on
|
set -g renumber-windows on
|
||||||
|
|
||||||
bind r source-file ~/.config/tmux/tmux.conf;
|
# reload quickly
|
||||||
|
bind r source-file ~/.config/tmux/tmux.conf
|
||||||
|
|
||||||
# vim keys
|
##### transparency & styles #####
|
||||||
# setw -g mode-keys vi
|
# let the terminal compositor handle the background (keeps transparency)
|
||||||
|
set -g window-style 'bg=default'
|
||||||
|
set -g window-active-style 'bg=default'
|
||||||
|
set -g status-style 'bg=default'
|
||||||
|
|
||||||
|
# default-terminal: use a screen-compatible value to avoid missing terminfo,
|
||||||
|
# but tell tmux to pass 24-bit color capability for common terminal names
|
||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
set -ga terminal-overrides ",screen-256color:Tc,foot:Tc,xterm-256color:Tc,alacritty:Tc"
|
||||||
|
|
||||||
|
##### vi mode / copy #####
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
bind -T copy-mode-vi v send-keys -X begin-selection
|
bind -T copy-mode-vi v send-keys -X begin-selection
|
||||||
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy'
|
bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'wl-copy'
|
||||||
|
|
||||||
# # Remapping movement keys
|
##### keys #####
|
||||||
bind h select-pane -L # Move focus to pane on the left
|
bind h select-pane -L
|
||||||
bind j select-pane -D # Move focus to pane above the current one
|
bind j select-pane -D
|
||||||
bind k select-pane -U # Move focus to pane below the current one
|
bind k select-pane -U
|
||||||
bind l select-pane -R # Move focus to pane on the right
|
bind l select-pane -R
|
||||||
bind Space last-window # Toggle between previously focused window
|
bind Space last-window
|
||||||
|
bind c new-window -c "#{pane_current_path}"
|
||||||
bind c new-window -c "#{pane_current_path}" # Keep current path
|
|
||||||
|
|
||||||
bind-key -r i run-shell "tmux neww tms"
|
bind-key -r i run-shell "tmux neww tms"
|
||||||
|
|
||||||
# Resizing panes (notes that is using the uppercase here and resize by 5 chars)
|
|
||||||
bind -r C-h resize-pane -L 5
|
bind -r C-h resize-pane -L 5
|
||||||
bind -r C-j resize-pane -D 5
|
bind -r C-j resize-pane -D 5
|
||||||
bind -r C-k resize-pane -U 5
|
bind -r C-k resize-pane -U 5
|
||||||
bind -r C-l resize-pane -R 5
|
bind -r C-l resize-pane -R 5
|
||||||
|
|
||||||
|
##### plugins (temporarily disable if debugging) #####
|
||||||
|
|
||||||
# TPM
|
|
||||||
## Setup: git clone https://github.com/tmux-plugins/tpm plugins/tpm
|
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
# Tokyo Night can override bg — comment out while debugging
|
||||||
set -g @plugin 'fabioluciano/tmux-tokyo-night'
|
set -g @plugin 'fabioluciano/tmux-tokyo-night'
|
||||||
|
|
||||||
# Configure the catppuccin plugin
|
|
||||||
# set -g @catppuccin_flavor "mocha"
|
|
||||||
# set -g @catppuccin_window_status_style "rounded"
|
|
||||||
# set -g @plugin 'catppuccin/tmux'
|
|
||||||
|
|
||||||
run '~/.config/tmux/plugins/tpm/tpm'
|
run '~/.config/tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/env bash
|
#!/bin/env bash
|
||||||
|
|
||||||
export pkg_nvidia=(
|
export pkg_nvidia=(
|
||||||
"nvidia"
|
"nvidia-open"
|
||||||
"nvidia-utils"
|
"nvidia-utils"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue