Nix HM module: reload config-only

This commit is contained in:
Mihai Fufezan 2022-08-15 00:47:56 +03:00
parent f0fe0c25d6
commit c982312c07
No known key found for this signature in database
GPG key ID: 5899325F2F120900

View file

@ -77,7 +77,7 @@ in {
if cfg.package == null if cfg.package == null
then defaultHyprlandPackage then defaultHyprlandPackage
else cfg.package; else cfg.package;
in "HYPRLAND_INSTANCE_SIGNATURE=$(ls -w 1 /tmp/hypr | tail -1) ${hyprlandPackage}/bin/hyprctl reload"; in "HYPRLAND_INSTANCE_SIGNATURE=$(ls -w 1 /tmp/hypr | tail -1) ${hyprlandPackage}/bin/hyprctl reload config-only";
}; };
systemd.user.targets.hyprland-session = lib.mkIf cfg.systemdIntegration { systemd.user.targets.hyprland-session = lib.mkIf cfg.systemdIntegration {