-
-
Notifications
You must be signed in to change notification settings - Fork 950
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lock uwsm desktop file behind feature flag
The file in the repo cannot be used in NixOS due to missing full paths, and the fact that `uwsm` does not have access to `PATH` to find the listed binaries. Might be useful in other situations as well.
- Loading branch information
Showing
4 changed files
with
16 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
option('xwayland', type: 'feature', value: 'auto', description: 'Enable support for X11 applications') | ||
option('systemd', type: 'feature', value: 'auto', description: 'Enable systemd integration') | ||
option('uwsm', type: 'feature', value: 'auto', description: 'Enable uwsm integration (only if systemd is enabled)') | ||
option('legacy_renderer', type: 'feature', value: 'disabled', description: 'Enable legacy renderer') | ||
option('tracy_enable', type: 'boolean', value: false , description: 'Enable profiling') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
install_data( | ||
'hyprland-uwsm.desktop', | ||
install_dir: join_paths(get_option('datadir'), 'wayland-sessions'), | ||
install_tag: 'runtime', | ||
) | ||
if (get_option('uwsm')) | ||
install_data( | ||
'hyprland-uwsm.desktop', | ||
install_dir: join_paths(get_option('datadir'), 'wayland-sessions'), | ||
install_tag: 'runtime', | ||
) | ||
endif |