diff options
| author | 2026-04-21 01:24:40 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:24:40 +0100 | |
| commit | 088b411ed489ecc0e0dc301a922b9c47ca427e9f (patch) | |
| tree | 1c734547576f523ac66d36044688a6649e418fec /dot_config/zsh/dot_zprofile | |
| parent | f24d9674b3f4b7e8dde46a4725a206f37e00ac37 (diff) | |
| download | dotfiles-088b411ed489ecc0e0dc301a922b9c47ca427e9f.tar.gz dotfiles-088b411ed489ecc0e0dc301a922b9c47ca427e9f.tar.bz2 dotfiles-088b411ed489ecc0e0dc301a922b9c47ca427e9f.zip | |
revert(zprofile): drop DISPLAY=:0 hack now that xorg-xwayland is installed
Sway sets DISPLAY in its own environment at compositor startup when
xwayland support is enabled and the Xwayland binary is available, so
all children (terminals, scripts) inherit it automatically. The
zprofile override was only needed as a workaround while xorg-xwayland
was missing.
Diffstat (limited to 'dot_config/zsh/dot_zprofile')
| -rw-r--r-- | dot_config/zsh/dot_zprofile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dot_config/zsh/dot_zprofile b/dot_config/zsh/dot_zprofile index 3a4af62..32b9245 100644 --- a/dot_config/zsh/dot_zprofile +++ b/dot_config/zsh/dot_zprofile @@ -81,10 +81,6 @@ export INPUTRC="$XDG_CONFIG_HOME/sh/inputrc" # ── Wayland ─────────────────────────────────────────────────────────────────── export XDG_CURRENT_DESKTOP=sway export MOZ_ENABLE_WAYLAND=1 -# Point X clients at sway's (lazy) XWayland socket. XWayland spawns on demand -# when the first X client connects; setting DISPLAY unconditionally avoids -# "unable to open X display" errors from tools like zbarcam. -export DISPLAY="${DISPLAY:-:0}" # ── XDG cleanup: keep $HOME tidy ───────────────────────────────────────────── # https://wiki.archlinux.org/title/XDG_Base_Directory#Partial |
