···
Sway, the i3-compatible tiling Wayland compositor. You can manually launch
Sway by executing "exec sway" on a TTY. Copy /etc/sway/config to
~/.config/sway/config to modify the default configuration. See
42
-
https://github.com/swaywm/sway/wiki and "man 5 sway" for more information.
43
-
Please have a look at the "extraSessionCommands" example for running
44
-
programs natively under Wayland'';
42
+
<link xlink:href="https://github.com/swaywm/sway/wiki" /> and
43
+
"man 5 sway" for more information'';
wrapperFeatures = mkOption {
···
export SDL_VIDEODRIVER=wayland
60
-
# needs qt5.qtwayland in systemPackages
61
-
export QT_QPA_PLATFORM=wayland
60
+
# QT (needs qt5.qtwayland in systemPackages):
61
+
export QT_QPA_PLATFORM=wayland-egl
export QT_WAYLAND_DISABLE_WINDOWDECORATION="1"
# Fix for some Java AWT applications (e.g. Android Studio),
# use this if they aren't displayed properly:
export _JAVA_AWT_WM_NONREPARENTING=1
68
-
Shell commands executed just before Sway is started.
68
+
Shell commands executed just before Sway is started. See
69
+
<link xlink:href="https://github.com/swaywm/sway/wiki/Running-programs-natively-under-wayland" />
70
+
and <link xlink:href="https://github.com/swaywm/wlroots/blob/master/docs/env_vars.md" />
71
+
for some useful environment variables.
···
example = literalExample ''
104
-
Extra packages to be installed system wide.
106
+
Extra packages to be installed system wide. See
107
+
<link xlink:href="https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway" /> and
108
+
<link xlink:href="https://github.com/swaywm/sway/wiki/i3-Migration-Guide#common-x11-apps-used-on-i3-with-wayland-alternatives" />
109
+
for a list of useful software.