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"'';
|
resumeCommand = ''swaymsg "output * dpms on"'';
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
events = [{
|
events = [
|
||||||
event = "before-sleep";
|
{
|
||||||
command = "swaylock -f";
|
event = "before-sleep";
|
||||||
}];
|
command = "swaylock -f";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
event = "after-resume";
|
||||||
|
command = ''swaymsg "output * dpms on"'';
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
xdg.configFile."swaylock/config".text = ''
|
xdg.configFile."swaylock/config".text = ''
|
||||||
image=${theme.background}
|
image=${theme.background}
|
||||||
|
|
Loading…
Reference in a new issue