Add niri module
- An overridden `niri.service` is provided, so that systemd does not take over autostart and try to start things *before* we have an XWayland server running. - Somehow `wlsunset` is still not working, might need some investigation into why.
This commit is contained in:
parent
704f1f1c79
commit
61382f4d32
7 changed files with 379 additions and 2 deletions
|
@ -13,6 +13,9 @@ let
|
|||
if which sway &>/dev/null
|
||||
set -a CHOICES "sway"
|
||||
end
|
||||
if which niri-session &>/dev/null
|
||||
set -a CHOICES "Niri"
|
||||
end
|
||||
if which startplasma-wayland &>/dev/null
|
||||
set -a CHOICES "KDE Plasma"
|
||||
end
|
||||
|
@ -22,6 +25,8 @@ let
|
|||
case "sway"
|
||||
systemctl --user unset-environment NIXOS_OZONE_WL
|
||||
exec sway
|
||||
case "Niri"
|
||||
exec niri-session
|
||||
case "KDE Plasma"
|
||||
exec ${pkgs.kdePackages.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed startplasma-wayland
|
||||
case '*'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue