adding patches for all config changes in unstable
This commit is contained in:
parent
abe8ff6eff
commit
b35d6bbc34
6 changed files with 14 additions and 21 deletions
|
|
@ -25,23 +25,11 @@ in
|
|||
command = "${pkgs.systemd}/bin/systemctl suspend";
|
||||
}
|
||||
];
|
||||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "display off; systemctl --user stop libinput-gestures; ${lock}";
|
||||
}
|
||||
{
|
||||
event = "after-resume";
|
||||
command = "display on; systemctl --user start libinput-gestures";
|
||||
}
|
||||
{
|
||||
event = "lock";
|
||||
command = (display "off") + "; " + lock;
|
||||
}
|
||||
{
|
||||
event = "unlock";
|
||||
command = display "on";
|
||||
}
|
||||
];
|
||||
events = {
|
||||
before-sleep = "display off; systemctl --user stop libinput-gestures; ${lock}";
|
||||
after-resume = "display on; systemctl --user start libinput-gestures";
|
||||
lock = (display "off") + "; " + lock;
|
||||
unlock = display "on";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue