diff options
-rw-r--r-- | dotfiles/.profile | 21 | ||||
-rw-r--r-- | dotfiles/.zprofile | 8 |
2 files changed, 22 insertions, 7 deletions
diff --git a/dotfiles/.profile b/dotfiles/.profile index b485088..3084360 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -1,15 +1,22 @@ #!/bin/sh -[[ -f ~/.bashrc ]] && source ~/.bashrc - -if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then - .scripts/swaystart -fi - export SCROT_DIR=$HOME/Pictures/screenshots/ +export GDK_BACKEND=wayland +export EGL_PLATFORM=wayland +export CLUTTER_PLATFORM=wayland +export SDL_VIDEODRIVER=wayland +export QT_QPA_PLATFORM=wayland-egl +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 export QT_QPA_PLATFORMTHEME="qt5ct" -export BROWSER=qutebrowser +export _JAVA_AWT_WM_NONREPARENTING=1 # User specific environment and startup programs: export LANG=en_US.UTF-8 export TERM=termite +export BROWSER=qutebrowser + +[[ -f ~/.bashrc ]] && source ~/.bashrc + +if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then + .scripts/swaystart +fi diff --git a/dotfiles/.zprofile b/dotfiles/.zprofile index 250a7c8..4aeaf50 100644 --- a/dotfiles/.zprofile +++ b/dotfiles/.zprofile @@ -1,12 +1,20 @@ export PATH=$PATH:$HOME/.scripts export SCROT_DIR=$HOME/Pictures/screenshots/ +export GDK_BACKEND=wayland +export EGL_PLATFORM=wayland +export CLUTTER_PLATFORM=wayland +export SDL_VIDEODRIVER=wayland +export QT_QPA_PLATFORM=wayland-egl +export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 export QT_QPA_PLATFORMTHEME="qt5ct" +export _JAVA_AWT_WM_NONREPARENTING=1 # User specific environment and startup programs: export LANG=en_US.UTF-8 export TERM=termite export TERMINAL=termite export EDITOR="nvim" +export BROWSER=qutebrowser if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then .scripts/swaystart |