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.
This commit is contained in:
parent
943c7d18cc
commit
ff411658e8
3 changed files with 15 additions and 7 deletions
|
|
@ -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').allowed())
|
||||
install_data(
|
||||
'hyprland-uwsm.desktop',
|
||||
install_dir: join_paths(get_option('datadir'), 'wayland-sessions'),
|
||||
install_tag: 'runtime',
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue