From d91160dd35f8327d8f0b610268f38ea85af0cd9c Mon Sep 17 00:00:00 2001 From: EinEtwas Date: Mon, 4 Nov 2024 12:05:29 +0100 Subject: [PATCH] feat: automatically start nm-applet with hyprland --- home/wm/hyprland.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/home/wm/hyprland.nix b/home/wm/hyprland.nix index ce45368..9bffa5a 100644 --- a/home/wm/hyprland.nix +++ b/home/wm/hyprland.nix @@ -204,6 +204,14 @@ "$mod, mouse:272, movewindow" "$mod, mouse:273, resizewindow" ]; + + exec-once = + let + nm-applet = lib.getExe' pkgs.networkmanagerapplet "nm-applet"; + in + [ + "${nm-applet} &" + ]; }; };