niri: switch-events lid-close
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user