initial niri config

This commit is contained in:
2025-12-26 18:51:26 +01:00
parent ab6e1aa16e
commit b62c5850dc
3 changed files with 68 additions and 89 deletions

View File

@@ -32,12 +32,10 @@
events = [
{ event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; }
{ event = "lock"; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
# { event = "after-resume"; command = "${pkgs.sway}/bin/swaymsg 'output * dpms on'"; }
# { event = "unlock"; command = "${pkgs.sway}/bin/swaymsg 'output * dpms on'"; }
];
timeouts = [
{ timeout = 300; command = "${pkgs.swaylock}/bin/swaylock -fF"; }
{ timeout = 600; command = "${pkgs.niri}/bin/niri 'msg action power-off-monitors'"; resumeCommand = "${pkgs.niri}/bin/niri 'msg action power-on-monitors'"; }
{ timeout = 600; command = "${pkgs.niri}/bin/niri 'msg action power-off-monitors'"; }
];
};
};