File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ # Tell build process to exit if there are any errors.
4+ set -oue pipefail
5+
6+ rm /etc/sway/environment
7+
8+ echo '
9+
10+ # This file is a part of Fedora configuration for Sway and will be sourced
11+ # from /usr/bin/start-sway script for all users of the system.
12+ # User-specific variables should be placed in $XDG_CONFIG_HOME/sway/environment
13+ #
14+ # vim: set ft=sh:
15+
16+ ## Pass extra arguments to the /usr/bin/sway executable
17+
18+ #SWAY_EXTRA_ARGS="$SWAY_EXTRA_ARGS --unsupported-gpu"
19+ SWAY_EXTRA_ARGS="$SWAY_EXTRA_ARGS --unsupported-gpu -D noscanout"
20+ #SWAY_EXTRA_ARGS="$SWAY_EXTRA_ARGS --debug"
21+
22+ ## Set environment variables
23+
24+ # Useful variables for wlroots:
25+ # https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/docs/env_vars.md
26+ WLR_NO_HARDWARE_CURSORS=1
27+ # Setting renderer to Vulkan may fix flickering but needs the following extensions:
28+ # - VK_EXT_image_drm_format_modifier
29+ # - VK_EXT_physical_device_drm
30+ #
31+ # Source: https://gitlab.freedesktop.org/wlroots/wlroots/-/commit/8e346922508aa3eaccd6e12f2917f6574f349843
32+ WLR_RENDERER=vulkan
33+
34+ # Java Application compatibility
35+ # Source: https://github.com/swaywm/wlroots/issues/1464
36+ _JAVA_AWT_WM_NONREPARENTING=1
37+
38+ ' > /etc/sway/environment
Original file line number Diff line number Diff line change @@ -80,7 +80,19 @@ modules:
8080 - type : script
8181 scripts :
8282 - selinux.sh
83+ - sway.sh
8384
8485
8586 - type : signing # this sets up the proper policy & signing files for signed images to work fully
8687
88+
89+ - type : dnf
90+ repos :
91+ cleanup : true
92+ files :
93+ - https://repository.mullvad.net/rpm/stable/mullvad.repo
94+ - https://repo.secureblue.dev/secureblue.repo
95+ copr :
96+ - ublue-os/staging
97+ - ublue-os/packages
98+ - swayfx/swayfx
You can’t perform that action at this time.
0 commit comments