feat: add wl to chrome

This commit is contained in:
max_richter 2022-02-02 12:23:55 +01:00
parent a8e8852d66
commit 9d6ff51f11
2 changed files with 3 additions and 6 deletions

View File

@ -79,11 +79,8 @@ fi
# Auto connect to tmux session of ssh # Auto connect to tmux session of ssh
if command -v tmux &> /dev/null
then
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux tmux attach-session -t $USER || tmux new-session -s $USER
fi
fi fi
export PNPM_HOME="$HOME/.local/share/pnpm" export PNPM_HOME="$HOME/.local/share/pnpm"

View File

@ -33,7 +33,7 @@ set $windowshot swaymsg -t get_tree | jq -r '.. | select(.pid? and .visible?) |
# Default Programs # Default Programs
set $term alacritty set $term alacritty
set $explorer nautilus 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 $config_editor ~/.config/sway/config_editor.sh
set $settings gnome-control-center set $settings gnome-control-center