i3 make alacritty always fullscreen
This commit is contained in:
parent
46c7edd703
commit
e83c2398ef
@ -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_focus [title="^Peek preview$"]
|
||||
for_window [class="^Alacritty$"] fullscreen enable
|
||||
@ -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
|
||||
@ -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'
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user