update profile

This commit is contained in:
dalahast 2021-02-11 17:07:37 +01:00
parent d93a1b62db
commit 7084f45067
Signed by: dalahast
GPG Key ID: 504A02165E7FA6B2

@ -9,7 +9,7 @@ export XDG_CURRENT_DESKTOP=sway
# Default programs: # Default programs:
export EDITOR="nvim" export EDITOR="nvim"
export TERMINAL="kitty" export TERMINAL="kitty"
export BROWSER="firefox" export BROWSER="chromium --enable-features=UseOzonePlatform --ozone-platform=wayland"
export READER="zathura" export READER="zathura"
# Env vars # Env vars
@ -22,11 +22,15 @@ export NO_AT_BRIDGE=1
export QT_QPA_PLATFORMTHEME="qt5ct" export QT_QPA_PLATFORMTHEME="qt5ct"
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
export MOZ_ENABLE_WAYLAND=1 export MOZ_ENABLE_WAYLAND=1
export MOZ_DBUS_REMOTE=1
export TDESKTOP_USE_PORTAL=1
# ~/ Clean-up: # ~/ Clean-up:
export XDG_CONFIG_HOME="$HOME/.config" export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share" export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache" export XDG_CACHE_HOME="$HOME/.cache"
export XDG_RUNTIME_DIR="$HOME/.local/temp"
# Start graphical server on tty1 if not already running. # Start graphical server on tty1 if not already running.
[ "$(tty)" = "/dev/tty1" ] && ! ps -e | grep -qw Xorg && exec sway [ "$(tty)" = "/dev/tty1" ] && ! ps -e | grep -qw Xorg && exec sway
[ "$(tty)" = "/dev/tty2" ] && ! ps -e | grep -qw sway && exec startx