Fixed swayidle config
Forgot to enable it (-‸ლ)
This commit is contained in:
parent
c045c96022
commit
ec72e8bea5
|
@ -20,6 +20,7 @@
|
||||||
services.playerctld.enable = true;
|
services.playerctld.enable = true;
|
||||||
|
|
||||||
services.swayidle = {
|
services.swayidle = {
|
||||||
|
enable = true;
|
||||||
timeouts = [
|
timeouts = [
|
||||||
{
|
{
|
||||||
timeout = 300;
|
timeout = 300;
|
||||||
|
@ -27,8 +28,8 @@
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
timeout = 600;
|
timeout = 600;
|
||||||
command = "${pkgs.swaymsg}/bin/swaymsg 'ouput * dpms off'";
|
command = "${pkgs.sway}/bin/swaymsg 'ouput * dpms off'";
|
||||||
resumeCommand = "${pkgs.swaymsg}/bin/swaymsg 'output * dpms on'";
|
resumeCommand = "${pkgs.sway}/bin/swaymsg 'output * dpms on'";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
events = [
|
events = [
|
||||||
|
|
Loading…
Reference in a new issue