From 2fd2080d45068952fa86754d66d88152871c834e Mon Sep 17 00:00:00 2001 From: caley Date: Thu, 28 May 2026 16:54:50 +0200 Subject: Update cat.nix --- nixos/cat.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos') diff --git a/nixos/cat.nix b/nixos/cat.nix index 3bc6db5..deb8bcc 100644 --- a/nixos/cat.nix +++ b/nixos/cat.nix @@ -239,7 +239,7 @@ home.packages = with pkgs; [ case "$choice" in *lock*) ${pkgs.hyprlock}/bin/hyprlock ;; - *logout*) hyprctl dispatch exit ;; + *logout*) command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch 'hl.dsp.exit()' ;; *reboot*) systemctl reboot ;; *shutdown*) systemctl poweroff ;; esac -- cgit v1.3.1