Skip to content

Commit

Permalink
home-desktop: enable swayidle screensaver
Browse files Browse the repository at this point in the history
  • Loading branch information
ocfox committed Apr 25, 2023
1 parent 1353a30 commit b5fe0ef
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions home-desktop/services/swayidle.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{ lib, pkgs }:
{
enable = true;
timeouts = [
{
timeout = 900;
command = "${lib.getExe pkgs.sway} output '*' dpms off";
resumeCommand = "${lib.getExe pkgs.sway} output '*' dpms on";
}
];
}

0 comments on commit b5fe0ef

Please sign in to comment.