mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
Clean hyprland close on logout
This commit is contained in:
parent
5ec753a1fc
commit
57da2eceb2
1 changed files with 1 additions and 0 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue