summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/update-emacs-daemon-environment4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update-emacs-daemon-environment b/bin/update-emacs-daemon-environment
index 8b956ec0..9c1abf17 100755
--- a/bin/update-emacs-daemon-environment
+++ b/bin/update-emacs-daemon-environment
@@ -10,12 +10,16 @@
which emacsclient >/dev/null || exit 0
for var in DISPLAY \
+ WAYLAND_DISPLAY \
SSH_ASKPASS \
SSH_AUTH_SOCK \
SSH_AGENT_PID \
SSH_CONNECTION \
WINDOWID \
XAUTHORITY \
+ XDG_SESSION_TYPE \
+ XDG_CURRENT_DESKTOP \
+ SWAYSOCK \
I3SOCK; do
eval isset=\${$var+x}
if [ "$isset" = "x" ]; then