From db7456d4fba05697c5292683ccd0a1a13c22d906 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Mon, 21 Sep 2020 23:15:54 +0200 Subject: [PATCH] add wayland env vars in .profile to be loaded by lightdm --- .config/sway/config | 3 +++ .profile | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 .profile diff --git a/.config/sway/config b/.config/sway/config index 22bafa0..b21eaf0 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -232,8 +232,11 @@ bindsym XF86MonBrightnessDown exec xbacklight -10 assign [app_id="^termite$"] $workspace1 assign [class="^code-oss$"] $workspace2 assign [class="^jetbrains-idea$"] $workspace2 +assign [class="^jetbrains-idea-ce$"] $workspace2 assign [class="^firefox$"] $workspace3 +assign [app_id="^firefox$"] $workspace3 assign [class="^Thunderbird$"] $workspace4 +assign [app_id="^thunderbird$"] $workspace4 assign [app_id="^thunar$"] $workspace5 assign [class="^Slack$"] $workspace8 assign [class="^Element$"] $workspace8 diff --git a/.profile b/.profile new file mode 100644 index 0000000..421e83c --- /dev/null +++ b/.profile @@ -0,0 +1,8 @@ +export MOZ_ENABLE_WAYLAND=1 +export CLUTTER_BACKEND=wayland +export QT_QPA_PLATFORM=wayland-egl +export ECORE_EVAS_ENGINE=wayland-egl +export ELM_ENGINE=wayland_egl +export SDL_VIDEODRIVER=wayland +export _JAVA_AWT_WM_NONREPARENTING=1 +export NO_AT_BRIDGE=1