From 087c8e372e163f49c6ca34d05bac8ec733597d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=BE=D0=BB=D0=B3=D0=B8=D0=B9=20=D0=90=D1=80=D1=82?= =?UTF-8?q?=D1=91=D0=BC?= Date: Fri, 5 Apr 2024 11:49:45 +0300 Subject: [PATCH] mod --- tmux/.tmux.conf | 37 +++++++++++++++++++++++++++++++++++++ tmux.md => tmux/tmux.md | 40 +++++++++++++++++++++++++++++++++++++++- 2 files changed, 76 insertions(+), 1 deletion(-) create mode 100644 tmux/.tmux.conf rename tmux.md => tmux/tmux.md (78%) diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..a823899 --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,37 @@ +# Enable mouse control (clickable windows, panes, resizable panes) +set -g mouse on + +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' +set -g @plugin 'dracula/tmux' + +# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, tmux-ram-usage, network, network-bandwidth, network-ping, ssh-session, attached-clients, network-vpn, weather, time, mpc, spotify-tui, kubernetes-context, synchronize-panes +set -g @dracula-plugins "cpu-usage ram-usage" + +# available colors: white, gray, dark_gray, light_purple, dark_purple, cyan, green, orange, red, pink, yellow +# set -g @dracula-[plugin-name]-colors "[background] [foreground]" +set -g @dracula-cpu-usage-colors "green dark_gray" + + +set -g @dracula-show-powerline true + +# for left +set -g @dracula-show-left-sep  + +# for right symbol (can set any symbol you like as separator) +set -g @dracula-show-right-sep  + +set -g @dracula-show-flags true + +# it can accept `hostname` (full hostname), `session`, `shortname` (short name), `smiley`, `window`, or any character. +set -g @dracula-show-left-icon session + + +# Other examples: +# set -g @plugin 'github_username/plugin_name' +# 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/tmux.md b/tmux/tmux.md similarity index 78% rename from tmux.md rename to tmux/tmux.md index 1751619..e35e635 100644 --- a/tmux.md +++ b/tmux/tmux.md @@ -1,4 +1,42 @@ -### TMUX +# TMUX + +## Установка + +### tmux + +```bash +apt-get install tmux +``` + +### TPM (Tmux Plugin Manager) + + + +```bash +git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm +``` + +добавить в конфиг `~/.tmux.conf` + +```bash +# List of plugins +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' + +# 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' +``` + +### Dracula Theme + + + ***Конфиг*** *(пользовательский / системный)* ```bash