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