diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 0f06d17..76ac68a 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -224,8 +224,9 @@ in --show-results-immediately true \ --hide-plugin-info true \ --close-on-click true) - # Restart the daemon service. - systemctl --user start anyrun.service 2>/dev/null || true + # Restart the daemon service (reset-failed clears the start-rate limiter). + systemctl --user reset-failed anyrun.service 2>/dev/null + systemctl --user start anyrun.service 2>/dev/null case "$choice" in *Lock) ${pkgs.hyprlock}/bin/hyprlock ;; *Logout) hyprctl dispatch exit ;;