diff --git a/home/user/.config/i3/config b/home/user/.config/i3/config index 16e6b63..9450b3f 100644 --- a/home/user/.config/i3/config +++ b/home/user/.config/i3/config @@ -234,4 +234,5 @@ workspace hide1 output primary workspace hide2 output nonprimary bindsym $mod+q exec --no-startup-id i3-msg workspace hide1; workspace hide2 -no_focus [title="^Peek preview$"] \ No newline at end of file +no_focus [title="^Peek preview$"] +for_window [class="^Alacritty$"] fullscreen enable \ No newline at end of file diff --git a/home/user/.config/tmux/mappings.conf b/home/user/.config/tmux/mappings.conf index be59aeb..f39cc41 100644 --- a/home/user/.config/tmux/mappings.conf +++ b/home/user/.config/tmux/mappings.conf @@ -61,7 +61,7 @@ bind-key -T prefix l confirm-before -p "lock tmux? (y/n)" lock-session bind r source-file ~/.config/tmux/tmux.conf \; display-message "Config reloaded..." # SSH session -bind h command-prompt -p "Remote host:" "new-session -s 'ssh-%1' -A ssh %1 \; set-option default-command 'ssh %1'" +bind h command-prompt -p "Remote host:" "new-session -n 1 -s 'ssh-%1' -A ssh %1 \; set-option default-command 'ssh %1'" # Session managment bind 1 run-shell ~/.tmux/01.sh @@ -77,4 +77,4 @@ bind 0 run-shell ~/.tmux/10.sh # Unbinds -unbind-key w +unbind-key w \ No newline at end of file diff --git a/home/user/.config/tmux/options.conf b/home/user/.config/tmux/options.conf index 21e8f2f..88a574c 100644 --- a/home/user/.config/tmux/options.conf +++ b/home/user/.config/tmux/options.conf @@ -18,7 +18,7 @@ set -g display-panes-time 4000 # Increase show pane time set -g lock-command vlock # Shell command to lock client -set -g default-terminal "tmux-256color" +set -g default-terminal "xterm-256color" set -ga terminal-overrides ",xterm-256color:Tc" set -g default-command 'tmux rename-window -t 1 1; $SHELL' \ No newline at end of file diff --git a/home/user/.config/zsh/.zshrc b/home/user/.config/zsh/.zshrc index cbe64ce..f7d62f4 100644 --- a/home/user/.config/zsh/.zshrc +++ b/home/user/.config/zsh/.zshrc @@ -1,7 +1,7 @@ # .zshrc by TheK4n # https://github.com/TheK4n/dotfiles -if command -v tmux &>/dev/null && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then +if command -v tmux &>/dev/null && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ] && [ "$(tty)" != "/dev/tty3" ] && [[ -z "$SSH_CLIENT" ]]; then exec tmux fi