Configuration for wleave. See https://github.com/AMNatty/wleave#configuration for supported values.
Declarations
Type
JSON valueDefault
{ }Example
{
margin = 200;
buttons-per-row = "1/1";
delay-command-ms = 100;
close-on-lost-focus = true;
show-keybinds = true;
buttons = [
{
label = "lock";
action = "swaylock";
text = "Lock";
keybind = "l";
icon = "${pkgs.wleave}/share/wleave/icons/lock.svg";
}
{
label = "logout";
action = "loginctl terminate-user $USER";
text = "Logout";
keybind = "e";
icon = "${pkgs.wleave}/share/wleave/icons/logout.svg";
}
{
label = "shutdown";
action = "systemctl poweroff";
text = "Shutdown";
keybind = "s";
icon = "${pkgs.wleave}/share/wleave/icons/shutdown.svg";
}
];
}