aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--sway/.config/sway/config2
-rw-r--r--wayland/.config/environment.d/10-wayland.conf9
2 files changed, 1 insertions, 10 deletions
diff --git a/sway/.config/sway/config b/sway/.config/sway/config
index f3e493a..b20be3c 100644
--- a/sway/.config/sway/config
+++ b/sway/.config/sway/config
@@ -170,4 +170,4 @@ bar {
include ~/.config/sway/config.d/*
include /etc/sway/config.d/*
-exec_always systemctl --user start sway-session.target
+exec_always "systemctl --user import-environment {,WAYLAND_}DISPLAY SWAYSOCK; systemctl --user start sway-session.target"
diff --git a/wayland/.config/environment.d/10-wayland.conf b/wayland/.config/environment.d/10-wayland.conf
deleted file mode 100644
index 1c5c347..0000000
--- a/wayland/.config/environment.d/10-wayland.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-XDG_SESSION_TYPE=wayland
-MOZ_ENABLE_WAYLAND=1
-CLUTTER_BACKEND=wayland
-QT_QPA_PLATFORM=wayland-egl
-ECORE_EVAS_ENGINE=wayland-egl
-ELM_ENGINE=wayland_egl
-SDL_VIDEODRIVER=wayland
-_JAVA_AWT_WM_NONREPARENTING=1
-NO_AT_BRIDGE=1