From 0cf7564c9178299e975d8ab0177ff734fc3c09e0 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Mon, 8 Jan 2024 14:34:57 +0100 Subject: [PATCH] Add missing env variable for Sway --- .zprofile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.zprofile b/.zprofile index 94b829e..d7714b5 100644 --- a/.zprofile +++ b/.zprofile @@ -13,10 +13,12 @@ export NOTMUCH_CONFIG="${HOME}/.config/notmuch/config" export PATH=~/.local/bin:$PATH unset DEBUGINFOD_URLS if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then - export QT_QPA_PLATFORM="wayland-egl" - export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 - export MOZ_ENABLE_WAYLAND=1 - export QT_QPA_PLATFORMTHEME="gtk3" - export NO_AT_BRIDGE=1 + export QT_QPA_PLATFORM="wayland-egl" + export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 + export MOZ_ENABLE_WAYLAND=1 + export QT_QPA_PLATFORMTHEME="gtk3" + export NO_AT_BRIDGE=1 + export XDG_SESSION_TYPE=wayland + export XDG_CURRENT_DESKTOP=sway exec ~/.local/bin/sway.sh fi