wleave setup
All checks were successful
update the nix flake lock automatically every week / update (push) Successful in 32s
All checks were successful
update the nix flake lock automatically every week / update (push) Successful in 32s
This commit is contained in:
24
homeConfigs/global/wayland/logout.nix
Normal file
24
homeConfigs/global/wayland/logout.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.wleave.enable = true;
|
||||
programs.wleave.settings.buttons= [
|
||||
{
|
||||
action = "echo systemctl poweroff";
|
||||
keybind = "y";
|
||||
label = "shutdown";
|
||||
text = "sync and shutdown";
|
||||
}
|
||||
{
|
||||
action = "echo systemctl soft-reboot";
|
||||
keybind = "s";
|
||||
label = "reboot";
|
||||
text = "soft reboot2";
|
||||
}
|
||||
{
|
||||
action = "echo \"touch ~/.nosync && systemctl poweroff\"";
|
||||
keybind = "n";
|
||||
label = "shutdown";
|
||||
text = "shutdown without syncing";
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user