calcite,dolomite: minor fixes
This commit is contained in:
parent
1b513bd869
commit
6d5436bbaa
8 changed files with 282 additions and 37 deletions
|
@ -84,8 +84,12 @@ in
|
|||
enable = true;
|
||||
timeouts = [
|
||||
{
|
||||
timeout = 900;
|
||||
command = "/run/current-system/systemd/bin/systemctl suspend";
|
||||
timeout = 600;
|
||||
command = ''[ "$(${pkgs.tlp}/bin/tlp-stat -m)" == "battery" ] && /run/current-system/systemd/bin/systemctl suspend'';
|
||||
}
|
||||
{
|
||||
timeout = 1200;
|
||||
command = ''${getExe pkgs.niri} msg action power-off-monitors'';
|
||||
}
|
||||
];
|
||||
events = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue