Set Wayland specific environment variables

This commit is contained in:
Aleksey Samoilov 2023-04-13 10:13:26 +04:00
parent c3b387e876
commit ed7521d639
4 changed files with 28 additions and 0 deletions

6
debian/changelog vendored
View file

@ -1,3 +1,9 @@
tileos-settings-sway (0.3~tileos) unstable; urgency=medium
* Set Wayland specific environment variables
-- Aleksey Samoilov <samoilov.lex@gmail.com> Thu, 13 Apr 2023 10:12:40 +0400
tileos-settings-sway (0.2~tileos) unstable; urgency=medium tileos-settings-sway (0.2~tileos) unstable; urgency=medium
* Add start-sway wrapper * Add start-sway wrapper

1
debian/files vendored Normal file
View file

@ -0,0 +1 @@
tileos-settings-sway_0.2~tileos_source.buildinfo x11 optional

View file

@ -1 +1,2 @@
/usr /usr
/etc

20
etc/profile.d/sway.sh Executable file
View file

@ -0,0 +1,20 @@
# Set XDG_CURRENT_DESKTOP to Sway (for screencasting and screensharing capabilities)
export XDG_CURRENT_DESKTOP=sway
# 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