Home Gen399 @ 2024-11-01-15:02

This commit is contained in:
Jonas Röger 2024-11-01 15:02:50 +01:00
parent 3cac1a2517
commit c455e41903
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{...}: {
programs.wlogout.layout = [
{
label = "shutdown";
action = "systemctl poweroff";
text = "Shutdown";
keybind = "s";
}
{
label = "reboot";
action = "systemctl reboot";
text = "Reboot";
keybind = "r";
}
{
label = "logout";
action = "loginctl kill-session $XDG_SESSION_ID";
text = "Logout";
keybind = "e";
}
{
label = "hibernate";
action = "hyprlock --immediate && systemctl hibernate";
text = "Hibernate";
keybind = "h";
}
{
label = "lock";
action = "hyprlock";
text = "Lock";
keybind = "l";
}
];
}

View File

@ -1,5 +1,6 @@
{...}: {
imports = [
./config.nix
./wlogout.nix
];
}