systemd integration for Sway is cool, but introduces a lot of unexpected problems, such as race conditions. So switch back to classic config-based systemd for autostarting services until all major problems with systemd integration (sway-systemd) will resolved
21 lines
669 B
Text
21 lines
669 B
Text
# This file is a part of TileOS configuration for Sway and will be sourced
|
|
# from /usr/bin/start-sway script for all users of the system.
|
|
# User-specific variables should be placed in $XDG_CONFIG_HOME/sway/environment
|
|
|
|
# TileOS specific config dir
|
|
export XDG_CONFIG_DIRS=/etc/xdg/xdg-tileos:/etc/xdg
|
|
|
|
# Force Wayland for Mozilla Firefox
|
|
export MOZ_ENABLE_WAYLAND=1
|
|
export MOZ_DBUS_REMOTE=1
|
|
|
|
# Force Wayland for Qt apps
|
|
export QT_QPA_PLATFORM="wayland;xcb"
|
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
|
|
# Force Wayland for EFL (Enlightenment) apps
|
|
export ECORE_EVAS_ENGINE="wayland-egl"
|
|
export ELM_ACCEL="gl"
|
|
|
|
# Java XWayland blank screens fix
|
|
export _JAVA_AWT_WM_NONREPARENTING=1
|