diff --git a/configs/.zshrc b/configs/.zshrc index 764f92f..4eaca3a 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -79,11 +79,8 @@ fi # Auto connect to tmux session of ssh -if command -v tmux &> /dev/null -then - if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then - tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux - fi +if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then + tmux attach-session -t $USER || tmux new-session -s $USER fi export PNPM_HOME="$HOME/.local/share/pnpm" diff --git a/configs/sway/config b/configs/sway/config index 084e4a7..5776eb4 100644 --- a/configs/sway/config +++ b/configs/sway/config @@ -33,7 +33,7 @@ set $windowshot swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) | # Default Programs set $term alacritty set $explorer nautilus -set $browser google-chrome +set $browser google-chrome --enable-features=UseOzonePlatform --ozone-platform=wayland set $config_editor ~/.config/sway/config_editor.sh set $settings gnome-control-center