Change script to properly start plasma

This commit is contained in:
Natsu Kagami 2024-06-03 22:39:06 +02:00
parent 9f9c76d0d2
commit fc9898a5ec
Signed by: nki
GPG key ID: 55A032EB38B49ADB

View file

@ -20,10 +20,11 @@ let
switch (gum choose $CHOICES)
case "sway"
systemctl --user unset-environment NIXOS_OZONE_WL
exec sway
case "KDE Plasma"
export NIXOS_OZONE_WL=1
exec dbus-run-session startplasma-wayland
systemctl --user set-environment NIXOS_OZONE_WL=1
exec ${pkgs.kdePackages.plasma-workspace}/libexec/plasma-dbus-run-session-if-needed startplasma-wayland
case '*'
exec fish -i
end