--wip-- [skip ci]

This commit is contained in:
Filippo Berto 2025-09-08 11:36:45 +02:00
parent eea02abfcb
commit 762085707c
136 changed files with 261 additions and 261 deletions

View file

@ -1,30 +0,0 @@
{ pkgs, config, ... }:
{
home.packages = builtins.attrValues { inherit (pkgs) brillo; };
services.swayidle = {
enable = true;
events = [
{
event = "before-sleep";
command = "${config.programs.hyprlock.package}/bin/hyprlock";
}
{
event = "lock";
command = "${config.programs.hyprlock.package}/bin/hyprlock";
}
];
timeouts = [
{
timeout = 60;
command = "${pkgs.brillo}/bin/brillo -e -O; ${pkgs.brillo}/bin/brillo -e -S 10 -u 1000000";
resumeCommand = "${pkgs.brillo}/bin/brillo -e -I";
}
{
timeout = 120;
command = "${pkgs.brillo}/bin/brillo -e -S 0; ${config.programs.hyprlock.package}/bin/hyprlock";
resumeCommand = "${pkgs.brillo}/bin/brillo -e -S 100";
}
];
};
}