Add tmux
This commit is contained in:
parent
5b8cbe7703
commit
63d7830987
9 changed files with 41 additions and 5 deletions
1
.bin/.e
1
.bin/.e
|
@ -24,6 +24,7 @@ declare -A mapper=(
|
||||||
["ssh"]="$HOME/.ssh/config"
|
["ssh"]="$HOME/.ssh/config"
|
||||||
["starship"]="$HOME/.config/starship.toml"
|
["starship"]="$HOME/.config/starship.toml"
|
||||||
["sxhkd"]="$HOME/.config/sxhkd/sxhkdrc"
|
["sxhkd"]="$HOME/.config/sxhkd/sxhkdrc"
|
||||||
|
["tmux"]="$HOME/.config/tmux/tmux.conf"
|
||||||
["vim"]="$HOME/.config/vim/vimrc"
|
["vim"]="$HOME/.config/vim/vimrc"
|
||||||
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg##template"
|
["wakatime"]="$HOME/.config/wakatime/.wakatime.cfg##template"
|
||||||
["waybar"]="$HOME/.config/waybar/"
|
["waybar"]="$HOME/.config/waybar/"
|
||||||
|
|
|
@ -10,6 +10,11 @@ AUTOINSTALL_ITEM_TARGET="$HOME/.config/nvim"
|
||||||
AUTOINSTALL_ITEM_HOOK='[ -x "$(command -v nvim)" ] && nvim --headless +q'
|
AUTOINSTALL_ITEM_HOOK='[ -x "$(command -v nvim)" ] && nvim --headless +q'
|
||||||
AUTOINSTALL_ITEM_GROUPS="base"
|
AUTOINSTALL_ITEM_GROUPS="base"
|
||||||
|
|
||||||
|
AUTOINSTALL_ITEM_TYPE="git"
|
||||||
|
AUTOINSTALL_ITEM_SOURCE="https://github.com/tmux-plugins/tpm"
|
||||||
|
AUTOINSTALL_ITEM_TARGET="$HOME/.tmux/plugins/tpm"
|
||||||
|
AUTOINSTALL_ITEM_GROUPS="base"
|
||||||
|
|
||||||
AUTOINSTALL_ITEM_TYPE="exe"
|
AUTOINSTALL_ITEM_TYPE="exe"
|
||||||
AUTOINSTALL_ITEM_SOURCE="https://github.com/starship/starship/releases/download/v1.17.1/starship-x86_64-unknown-linux-gnu.tar.gz"
|
AUTOINSTALL_ITEM_SOURCE="https://github.com/starship/starship/releases/download/v1.17.1/starship-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
AUTOINSTALL_ITEM_TARGET="starship"
|
AUTOINSTALL_ITEM_TARGET="starship"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
export KUBECONFIG="$HOME/.kube/config"
|
export KUBECONFIG="$HOME/.kube/config"
|
||||||
|
|
||||||
export MAILCAPS="$XDG_CONFIG_HOME/mailcap/mailcaprc"
|
export MAILCAPS="$XDG_CONFIG_HOME/mailcap/mailcaprc"
|
||||||
export MARKPATH="$XDG_CONFIG_HOME/zsh/jump_marks"
|
export MARKPATH="$XDG_CONFIG_HOME/jump_marks"
|
||||||
|
|
||||||
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config"
|
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config"
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
export AUTOSTART_DISPLAY="Hyprland"
|
export AUTOSTART_DISPLAY="Hyprland"
|
||||||
|
|
||||||
|
export DUNST_MONITOR="$MONITOR_SECONDARY"
|
||||||
|
|
||||||
export MONITOR_PRIMARY="DP-1"
|
export MONITOR_PRIMARY="DP-1"
|
||||||
export MONITOR_SECONDARY="HDMI-A-1"
|
export MONITOR_SECONDARY="HDMI-A-1"
|
||||||
|
|
||||||
export DUNST_MONITOR="$MONITOR_SECONDARY"
|
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
rmtrash # rm wrapper to use trash
|
rmtrash # rm wrapper to use trash
|
||||||
shellcheck # tool for shell-syntax
|
shellcheck # tool for shell-syntax
|
||||||
starship # shell prompt
|
starship # shell prompt
|
||||||
|
tmux # terminal multiplexer
|
||||||
tokei # project-language statistics
|
tokei # project-language statistics
|
||||||
trash-cli # trash utils
|
trash-cli # trash utils
|
||||||
unzip # unzip
|
unzip # unzip
|
||||||
|
|
1
.config/tmux/.gitignore
vendored
Normal file
1
.config/tmux/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
plugins/
|
7
.config/tmux/emgauwa.conf
Normal file
7
.config/tmux/emgauwa.conf
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
neww -c ~/projects/emgauwa/workspace -n emgauwa
|
||||||
|
|
||||||
|
splitw -c ~/projects/emgauwa/workspace/common -h -p 50 -t 0
|
||||||
|
splitw -c ~/projects/emgauwa/workspace/controller -v -p 66 -t 1
|
||||||
|
splitw -c ~/projects/emgauwa/workspace/core -v -p 50 -t 2
|
||||||
|
|
||||||
|
selectp -t 0
|
18
.config/tmux/tmux.conf
Normal file
18
.config/tmux/tmux.conf
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
set -g default-terminal "xterm-256color"
|
||||||
|
set-option -ga terminal-overrides ",xterm-256color:Tc"
|
||||||
|
set -as terminal-features ",alacritty*:RGB"
|
||||||
|
|
||||||
|
# List of plugins
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
set -g @plugin 'dracula/tmux'
|
||||||
|
|
||||||
|
set -g @dracula-show-powerline true
|
||||||
|
set -g @dracula-show-left-icon shortname
|
||||||
|
set -g @dracula-plugins "cpu-usage ram-usage"
|
||||||
|
|
||||||
|
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
|
# Sessions
|
||||||
|
bind E source-file ~/.config/tmux/emgauwa.conf
|
|
@ -1,5 +1,10 @@
|
||||||
source "$HOME/.config/environment"
|
source "$HOME/.config/environment"
|
||||||
|
|
||||||
|
if [ -x "$(command -v tmux)" ] && [ -z "$TMUX" ]; then
|
||||||
|
tmux
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
autoinstall git "https://github.com/ohmyzsh/ohmyzsh.git" "$ZSH"
|
autoinstall git "https://github.com/ohmyzsh/ohmyzsh.git" "$ZSH"
|
||||||
|
|
||||||
# Set name of the theme to load --- if set to "random", it will
|
# Set name of the theme to load --- if set to "random", it will
|
||||||
|
@ -107,8 +112,6 @@ source "$HOME/.config/completionsrc"
|
||||||
source "$HOME/.config/aliasrc"
|
source "$HOME/.config/aliasrc"
|
||||||
[ -x "$(command -v thefuck)" ] && eval $(thefuck --alias)
|
[ -x "$(command -v thefuck)" ] && eval $(thefuck --alias)
|
||||||
|
|
||||||
export MARKPATH="$HOME/.config/zsh/jump_marks"
|
|
||||||
|
|
||||||
setopt HIST_IGNORE_DUPS
|
setopt HIST_IGNORE_DUPS
|
||||||
export SAVEHIST=1000000
|
export SAVEHIST=1000000
|
||||||
export HISTSIZE=1000000
|
export HISTSIZE=1000000
|
||||||
|
|
Loading…
Reference in a new issue