niri: switch-events lid-close

This commit is contained in:
2024-10-31 09:41:10 -04:00
parent 6e7c4e0dce
commit 466b73104c
3 changed files with 25 additions and 25 deletions

View File

@@ -78,9 +78,9 @@
];
# https://github.com/sodiboo/niri-flake/issues/591
# switch-events = with config.lib.niri.actions; {
# "lid-close" = spawn [ "${pkgs.swaylock}/bin/swaylock"];
# };
switch-events = with config.lib.niri.actions; {
"lid-close".action = spawn "${pkgs.swaylock}/bin/swaylock";
};
binds = with config.lib.niri.actions; {
# Application launcher