diff options
| author | 2026-04-21 01:24:40 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:24:40 +0100 | |
| commit | f65413f0287242fa63cfa030f6cc714e350ece61 (patch) | |
| tree | de3037e5aa546a7438773fe05457396c10306684 /dot_config/ipython | |
| parent | 21ba27be8423b5e3790cefd04306a2f287ffd247 (diff) | |
| download | dotfiles-f65413f0287242fa63cfa030f6cc714e350ece61.tar.gz dotfiles-f65413f0287242fa63cfa030f6cc714e350ece61.tar.bz2 dotfiles-f65413f0287242fa63cfa030f6cc714e350ece61.zip | |
fix(zprofile): export DISPLAY=:0 for XWayland before exec sway
Sway's XWayland is lazy — DISPLAY isn't set in sway's env until the
first X client connects, which means systemctl/dbus import-environment
runs too early and nothing downstream sees DISPLAY.
Setting DISPLAY=:0 in zprofile before 'exec sway' ensures sway itself
inherits it, and therefore so do all its child processes (terminals,
scripts, systemd user services via import-environment). XWayland will
spawn on demand when a client actually connects to :0.
Also drop the redundant fallback from rqr now that the session-wide
export covers it.
Diffstat (limited to 'dot_config/ipython')
0 files changed, 0 insertions, 0 deletions
