fix displays being turned off but not being turned back on

This commit is contained in:
Leonardo Eugênio 2022-11-08 12:34:59 -03:00
parent c19d02520c
commit c0a90fe8da

View file

@ -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}