summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorcaley <u65487754@gmail.com>2026-05-28 16:54:50 +0200
committerGitHub <noreply@github.com>2026-05-28 16:54:50 +0200
commit2fd2080d45068952fa86754d66d88152871c834e (patch)
tree586e56169990e0e2ef62ff7848d948eb063e3617 /nixos
parentd6bb563467df375bc9ca09da3afb51189dca1bb8 (diff)
Update cat.nix
Diffstat (limited to 'nixos')
-rw-r--r--nixos/cat.nix2
1 files changed, 1 insertions, 1 deletions
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