Change script to properly start plasma
This commit is contained in:
parent
9f9c76d0d2
commit
fc9898a5ec
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue