add wayland env vars in .profile to be loaded by lightdm

This commit is contained in:
Johannes Loher 2020-09-21 23:15:54 +02:00
parent 5b8715264d
commit db7456d4fb
2 changed files with 11 additions and 0 deletions

View file

@ -232,8 +232,11 @@ bindsym XF86MonBrightnessDown exec xbacklight -10
assign [app_id="^termite$"] $workspace1 assign [app_id="^termite$"] $workspace1
assign [class="^code-oss$"] $workspace2 assign [class="^code-oss$"] $workspace2
assign [class="^jetbrains-idea$"] $workspace2 assign [class="^jetbrains-idea$"] $workspace2
assign [class="^jetbrains-idea-ce$"] $workspace2
assign [class="^firefox$"] $workspace3 assign [class="^firefox$"] $workspace3
assign [app_id="^firefox$"] $workspace3
assign [class="^Thunderbird$"] $workspace4 assign [class="^Thunderbird$"] $workspace4
assign [app_id="^thunderbird$"] $workspace4
assign [app_id="^thunar$"] $workspace5 assign [app_id="^thunar$"] $workspace5
assign [class="^Slack$"] $workspace8 assign [class="^Slack$"] $workspace8
assign [class="^Element$"] $workspace8 assign [class="^Element$"] $workspace8

8
.profile Normal file
View file

@ -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