summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 3d9439e..bc90c2f 100644
--- a/.zshrc
+++ b/.zshrc
@@ -2,6 +2,10 @@
# Profiling
#zmodload zsh/zprof
+if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
+ export XDG_CURRENT_DESKTOP=sway
+ dbus-run-session sway
+fi
## Use vim mode
bindkey -v