make monitor turn off nicely

This commit is contained in:
Noa Aarts 2024-11-25 19:47:49 +01:00
parent c5b880f49c
commit 2363f67112
Signed by: noa
GPG key ID: 1850932741EFF672

View file

@ -465,6 +465,16 @@ in
borderColor = "#${config.colorScheme.palette.base00}FF";
};
playerctld.enable = true;
swayidle = {
enable = true;
timeouts = [
{
timeout = 300;
command = "${pkgs.niri}/bin/niri msg action power-off-monitors";
resumeCommand = "${pkgs.niri}/bin/niri msg action power-on-monitors";
}
];
};
# sync my password store and homework
syncthing = {
enable = true;