From 0c3aa2cf7194cd3862ce7abce410b4e1e729c347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Czy=C5=BC?= Date: Wed, 3 Jul 2024 09:43:58 +0200 Subject: [PATCH] tmux --- .gitignore | 1 + desktop/.config/dwm | 2 +- gtk/.config/gtk-3.0/settings.ini | 16 +++--- tmux/.config/tmux/plugins/tmux-gruvbox | 1 + tmux/.config/tmux/plugins/tmux-sensible | 1 + tmux/.config/tmux/plugins/tmux-yank | 1 + tmux/.config/tmux/plugins/tpm | 1 + tmux/.config/tmux/plugins/vim-tmux-navigator | 1 + tmux/.config/tmux/tmux.conf | 59 ++++++++++++++++++++ zsh/.config/zsh/.zsh_plugins.zsh | 1 + 10 files changed, 76 insertions(+), 8 deletions(-) create mode 160000 tmux/.config/tmux/plugins/tmux-gruvbox create mode 160000 tmux/.config/tmux/plugins/tmux-sensible create mode 160000 tmux/.config/tmux/plugins/tmux-yank create mode 160000 tmux/.config/tmux/plugins/tpm create mode 160000 tmux/.config/tmux/plugins/vim-tmux-navigator create mode 100644 tmux/.config/tmux/tmux.conf diff --git a/.gitignore b/.gitignore index 1ee5cfe..2ea6186 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ ulauncher/.config/ulauncher/ext_preferences spicetify/.config/spicetify/Extracted .zcompdump .zcompcache +tmux/.config/tmux/plugins/ diff --git a/desktop/.config/dwm b/desktop/.config/dwm index a1725eb..d4fed3c 160000 --- a/desktop/.config/dwm +++ b/desktop/.config/dwm @@ -1 +1 @@ -Subproject commit a1725eb3c64d27864972a976c8ee18d63a8d9dad +Subproject commit d4fed3cac603ea386d57b8c96f6bc49b3c2eec64 diff --git a/gtk/.config/gtk-3.0/settings.ini b/gtk/.config/gtk-3.0/settings.ini index 886b278..417671c 100644 --- a/gtk/.config/gtk-3.0/settings.ini +++ b/gtk/.config/gtk-3.0/settings.ini @@ -1,15 +1,17 @@ [Settings] -gtk-theme-name=gruvbox-dark-gtk -gtk-icon-theme-name=gruvbox-dark-icons-gtk -gtk-font-name=Sans 10 -gtk-cursor-theme-name=Catppuccin-Macchiato-Yellow-Cursors -gtk-cursor-theme-size=0 +gtk-theme-name=Adwaita-dark +gtk-icon-theme-name=Papirus-Dark +gtk-font-name=Cantarell 11 +gtk-cursor-theme-name=elementary +gtk-cursor-theme-size=20 gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-button-images=1 gtk-menu-images=1 gtk-enable-event-sounds=1 -gtk-enable-input-feedback-sounds=1 +gtk-enable-input-feedback-sounds=0 gtk-xft-antialias=1 gtk-xft-hinting=1 -gtk-xft-hintstyle=hintfull +gtk-xft-hintstyle=hintslight +gtk-xft-rgba=rgb +gtk-application-prefer-dark-theme=1 diff --git a/tmux/.config/tmux/plugins/tmux-gruvbox b/tmux/.config/tmux/plugins/tmux-gruvbox new file mode 160000 index 0000000..3f9e38d --- /dev/null +++ b/tmux/.config/tmux/plugins/tmux-gruvbox @@ -0,0 +1 @@ +Subproject commit 3f9e38d7243179730b419b5bfafb4e22b0a969ad diff --git a/tmux/.config/tmux/plugins/tmux-sensible b/tmux/.config/tmux/plugins/tmux-sensible new file mode 160000 index 0000000..25cb91f --- /dev/null +++ b/tmux/.config/tmux/plugins/tmux-sensible @@ -0,0 +1 @@ +Subproject commit 25cb91f42d020f675bb0a2ce3fbd3a5d96119efa diff --git a/tmux/.config/tmux/plugins/tmux-yank b/tmux/.config/tmux/plugins/tmux-yank new file mode 160000 index 0000000..acfd36e --- /dev/null +++ b/tmux/.config/tmux/plugins/tmux-yank @@ -0,0 +1 @@ +Subproject commit acfd36e4fcba99f8310a7dfb432111c242fe7392 diff --git a/tmux/.config/tmux/plugins/tpm b/tmux/.config/tmux/plugins/tpm new file mode 160000 index 0000000..99469c4 --- /dev/null +++ b/tmux/.config/tmux/plugins/tpm @@ -0,0 +1 @@ +Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946 diff --git a/tmux/.config/tmux/plugins/vim-tmux-navigator b/tmux/.config/tmux/plugins/vim-tmux-navigator new file mode 160000 index 0000000..5b3c701 --- /dev/null +++ b/tmux/.config/tmux/plugins/vim-tmux-navigator @@ -0,0 +1 @@ +Subproject commit 5b3c701686fb4e6629c100ed32e827edf8dad01e diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf new file mode 100644 index 0000000..fdd5487 --- /dev/null +++ b/tmux/.config/tmux/tmux.conf @@ -0,0 +1,59 @@ +# Ctrl-Space prefix +set -g prefix C-s + +# vi keybinds +setw -g mode-keys vi +bind-key h select-pane -L +bind-key j select-pane -D +bind-key k select-pane -U +bind-key l select-pane -R + +set -g default-terminal "screen-256color" + + + +# history limit +set -g history-limit 5000 + +# increase repeat time +set -g repeat-time 1000 + +# decrese command delay +set -sg escape-time 1 + +# faster key repetition +set -s escape-time 0 + +setw -g aggressive-resize on + +# reload tmux while using tmux +bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!" + +# Shift Alt vim keys to switch windows +bind -n M-H previous-window +bind -n M-L next-window + +# Vim like yank +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle +bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel + +# Open panes in current directory +bind '"' split-window -v -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'egel/tmux-gruvbox' +set -g @plugin 'tmux-plugins/tmux-yank' +set -g @plugin 'christoomey/vim-tmux-navigator' + +# Other examples: +# set -g @plugin 'github_username/plugin_name' +# set -g @plugin 'github_username/plugin_name#branch' +# set -g @plugin 'git@github.com:user/plugin' +# set -g @plugin 'git@bitbucket.com:user/plugin' + +# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +run '~/.tmux/plugins/tpm/tpm' diff --git a/zsh/.config/zsh/.zsh_plugins.zsh b/zsh/.config/zsh/.zsh_plugins.zsh index e3fe77c..b28cffc 100644 --- a/zsh/.config/zsh/.zsh_plugins.zsh +++ b/zsh/.config/zsh/.zsh_plugins.zsh @@ -2,6 +2,7 @@ fpath+=( /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-r source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-romkatv-SLASH-powerlevel10k/powerlevel10k.zsh-theme source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-romkatv-SLASH-powerlevel10k/powerlevel9k.zsh-theme fpath+=( /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/lib ) +source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/lib/async_prompt.zsh source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/lib/bzr.zsh source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/lib/clipboard.zsh source /home/mike/.cache/antidote/https-COLON--SLASH--SLASH-github.com-SLASH-ohmyzsh-SLASH-ohmyzsh/lib/cli.zsh