fix displays being turned off but not being turned back on
This commit is contained in:
parent
c19d02520c
commit
c0a90fe8da
|
@ -305,10 +305,16 @@ in {
|
|||
resumeCommand = ''swaymsg "output * dpms on"'';
|
||||
}
|
||||
];
|
||||
events = [{
|
||||
event = "before-sleep";
|
||||
command = "swaylock -f";
|
||||
}];
|
||||
events = [
|
||||
{
|
||||
event = "before-sleep";
|
||||
command = "swaylock -f";
|
||||
}
|
||||
{
|
||||
event = "after-resume";
|
||||
command = ''swaymsg "output * dpms on"'';
|
||||
}
|
||||
];
|
||||
};
|
||||
xdg.configFile."swaylock/config".text = ''
|
||||
image=${theme.background}
|
||||
|
|
Loading…
Reference in a new issue