Improve notifications
This commit is contained in:
parent
1843c63924
commit
a70cb66771
4 changed files with 11 additions and 68 deletions
|
@ -50,7 +50,9 @@ in
|
|||
{
|
||||
# Warn
|
||||
timeout = (idleTime - 1) * 60;
|
||||
command = ''${lib.getExe pkgs.libnotify} "Screen turns off in 1 minute"'';
|
||||
# Arbitrary id. Might cause issues but simplify things
|
||||
command = ''${lib.getExe pkgs.libnotify} -r 87 -t 60000 "Screen turns off in 1 minute"'';
|
||||
resumeCommand = ''${lib.getExe pkgs.libnotify} -r 87 -t 1 ""'';
|
||||
}
|
||||
{
|
||||
# Screen off
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue