Home Gen399 @ 2024-11-01-15:02
This commit is contained in:
parent
3cac1a2517
commit
c455e41903
34
modules/home/wlogout/config.nix
Normal file
34
modules/home/wlogout/config.nix
Normal 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";
|
||||
}
|
||||
];
|
||||
}
|
||||
@ -1,5 +1,6 @@
|
||||
{...}: {
|
||||
imports = [
|
||||
./config.nix
|
||||
./wlogout.nix
|
||||
];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user