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:
parent
d120b68c4e
commit
0148f70b09
|
@ -12,6 +12,7 @@
|
||||||
./fuzzel.nix
|
./fuzzel.nix
|
||||||
./mako.nix
|
./mako.nix
|
||||||
./avizo.nix
|
./avizo.nix
|
||||||
|
./wlogout.nix
|
||||||
];
|
];
|
||||||
home.packages = [
|
home.packages = [
|
||||||
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
|
(pkgs.writeShellScriptBin "protonmail-setup-bridge" ''
|
||||||
|
|
26
system/home/wlogout.nix
Normal file
26
system/home/wlogout.nix
Normal 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";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue