Evie Litherland-Smith
0148f70b09
TODO configure more to include sync-and-shutdown as part of logout options
27 lines
512 B
Nix
27 lines
512 B
Nix
{ config, ... }:
|
|
{
|
|
programs.wlogout = {
|
|
enable = true;
|
|
layout = [
|
|
{
|
|
label = "reboot";
|
|
action = "systemctl reboot";
|
|
text = "Reboot";
|
|
keybind = "r";
|
|
}
|
|
{
|
|
label = "shutdown";
|
|
action = "systemctl poweroff";
|
|
text = "Shutdown";
|
|
keybind = "s";
|
|
}
|
|
{
|
|
label = "lock";
|
|
action = "${config.programs.hyprlock.package}/bin/hyprlock";
|
|
text = "Lock Screen";
|
|
keybind = "l";
|
|
}
|
|
];
|
|
};
|
|
}
|