Add wlogout config back but not bound to key yet

TODO configure more to include sync-and-shutdown as part of logout
options
This commit is contained in:
Evie Litherland-Smith 2024-12-03 07:28:08 +00:00
parent d120b68c4e
commit 0148f70b09
2 changed files with 27 additions and 0 deletions

View file

@ -12,6 +12,7 @@
./fuzzel.nix
./mako.nix
./avizo.nix
./wlogout.nix
];
home.packages = [
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''

26
system/home/wlogout.nix Normal file
View file

@ -0,0 +1,26 @@
{ 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";
}
];
};
}