hyprshutdown

This commit is contained in:
Satria 2026-02-19 06:41:47 +07:00
commit b9a2ccc222
2 changed files with 4 additions and 3 deletions

View file

@ -25,6 +25,7 @@
nwg-displays nwg-displays
lxqt.pcmanfm-qt lxqt.pcmanfm-qt
hyprshot wl-clipboard cliphist hyprshot wl-clipboard cliphist
hyprshutdown
]; ];
}; };
} }

View file

@ -4,13 +4,13 @@
layout = [ layout = [
{ {
label = "shutdown"; label = "shutdown";
action = "systemctl poweroff"; action = "hyprshutdown -t 'Shutting down...' --post-cmd 'systemctl poweroff'";
text = "(S)hutdown"; text = "(S)hutdown";
keybind = "s"; keybind = "s";
} }
{ {
label = "reboot"; label = "reboot";
action = "systemctl reboot"; action = "hyprshutdown -t 'Rebooting...' --post-cmd 'systemctl reboot'";
text = "(R)eboot"; text = "(R)eboot";
keybind = "r"; keybind = "r";
} }
@ -28,7 +28,7 @@
} }
{ {
label = "logout"; label = "logout";
action = "uwsm stop"; action = "hyprshutdown -t 'Logging Out...' --post-cmd 'uwsm stop'";
text = "L(o)gout"; text = "L(o)gout";
keybind = "o"; keybind = "o";
} }