From b9a2ccc22286a4ec922c752d3be7a6f205ee8943 Mon Sep 17 00:00:00 2001 From: Satria Date: Thu, 19 Feb 2026 06:41:47 +0700 Subject: [PATCH] hyprshutdown --- modules/home/desktop.nix | 1 + modules/home/rice/wlogout.nix | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/home/desktop.nix b/modules/home/desktop.nix index 8240230..b586d3c 100644 --- a/modules/home/desktop.nix +++ b/modules/home/desktop.nix @@ -25,6 +25,7 @@ nwg-displays lxqt.pcmanfm-qt hyprshot wl-clipboard cliphist + hyprshutdown ]; }; } diff --git a/modules/home/rice/wlogout.nix b/modules/home/rice/wlogout.nix index 56da15a..da57d5a 100644 --- a/modules/home/rice/wlogout.nix +++ b/modules/home/rice/wlogout.nix @@ -4,13 +4,13 @@ layout = [ { label = "shutdown"; - action = "systemctl poweroff"; + action = "hyprshutdown -t 'Shutting down...' --post-cmd 'systemctl poweroff'"; text = "(S)hutdown"; keybind = "s"; } { label = "reboot"; - action = "systemctl reboot"; + action = "hyprshutdown -t 'Rebooting...' --post-cmd 'systemctl reboot'"; text = "(R)eboot"; keybind = "r"; } @@ -28,7 +28,7 @@ } { label = "logout"; - action = "uwsm stop"; + action = "hyprshutdown -t 'Logging Out...' --post-cmd 'uwsm stop'"; text = "L(o)gout"; keybind = "o"; }