diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2024-09-09 06:03:36 +0530 |
---|---|---|
committer | Brahmajit Das <brahmajit.xyz@gmail.com> | 2024-09-09 06:03:36 +0530 |
commit | 5e25698a28238f39a45c618b0a5bdee64fef6e4f (patch) | |
tree | 875311f49bfab5b45a5c855b2afc3e0be0c055b8 | |
parent | 84457fdb1f4c3be36d0ffba8dbfafda52fd1cd42 (diff) |
zsh: zshrc: when using sway, auto start sway
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
-rw-r--r-- | .zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |