From 5f26ed052438652c4a9df981c0828beeac257ac8 Mon Sep 17 00:00:00 2001
From: outfoxxed <outfoxxed@outfoxxed.me>
Date: Fri, 28 Feb 2025 16:49:57 -0800
Subject: [PATCH] system/msi: fix mcontrolcenter not appearing in tray

---
 systems/msi/mcontrolcenter.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/systems/msi/mcontrolcenter.nix b/systems/msi/mcontrolcenter.nix
index a7e8aef..bf7cdae 100644
--- a/systems/msi/mcontrolcenter.nix
+++ b/systems/msi/mcontrolcenter.nix
@@ -11,8 +11,9 @@
   systemd.user.services.mcontrolcenter = {
     description = "Launch mcontrolcenter";
     requires = [ "tray.target" ];
-    after = [ "graphical-session-pre.target" "tray.target" ];
+    after = [ "tray.target" ];
     partOf = [ "graphical-session.target" ];
+    wantedBy = [ "graphical-session.target" ];
     script = lib.getExe pkgs.mcontrolcenter;
   };
 }