diff options
| author | caley <u65487754@gmail.com> | 2026-05-28 16:54:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-28 16:54:50 +0200 |
| commit | 2fd2080d45068952fa86754d66d88152871c834e (patch) | |
| tree | 586e56169990e0e2ef62ff7848d948eb063e3617 /nixos/cat.nix | |
| parent | d6bb563467df375bc9ca09da3afb51189dca1bb8 (diff) | |
Update cat.nix
Diffstat (limited to 'nixos/cat.nix')
| -rw-r--r-- | nixos/cat.nix | 2 |
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 |
