From fc9898a5ec3798aaed384589176b435216425fa7 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Mon, 3 Jun 2024 22:39:06 +0200 Subject: [PATCH] Change script to properly start plasma --- home/fish/fish.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home/fish/fish.nix b/home/fish/fish.nix index 6cf05e9..f24a6e0 100644 --- a/home/fish/fish.nix +++ b/home/fish/fish.nix @@ -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