1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

Clean hyprland close on logout

This commit is contained in:
leiserfg 2024-10-23 16:00:16 +02:00
parent 5ec753a1fc
commit 57da2eceb2
No known key found for this signature in database

View file

@ -275,6 +275,7 @@ in {
After = [ "graphical-session-pre.target" ]; After = [ "graphical-session-pre.target" ];
Before = lib.mkIf cfg.systemd.enableXdgAutostart Before = lib.mkIf cfg.systemd.enableXdgAutostart
[ "xdg-desktop-autostart.target" ]; [ "xdg-desktop-autostart.target" ];
ExecStop = "${cfg.finalPackage}/bin/hyprctl dispatch exit";
}; };
}; };