Skip to content

Commit

Permalink
users: daemonize swaylock
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz committed Feb 6, 2022
1 parent 6e95ad8 commit 2957157
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions users/fortuneteller2k/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,14 @@
comments = true,
keywords = false,
functions = false,
strings = false,
strings = false,
variables = false
},
},
high_visibility = {
lighter = false,
lighter = false,
darker = true
},
},
})
'';
};
Expand Down Expand Up @@ -326,7 +326,7 @@

swayidle =
let
locker = "swaylock -c ${config.colorscheme.colors.base00} --font 'Sarasa UI J'";
locker = "swaylock -fF -c ${config.colorscheme.colors.base00} --font 'Sarasa UI J'";
dpms = status: "swaymsg 'output * dpms ${status}'";
in
{
Expand All @@ -341,7 +341,7 @@
];

timeouts = [
{ timeout = 300; command = dpms "off"; resumeCommand = dpms "on"; }
{ timeout = 300; command = dpms "off"; resumeCommand = dpms "on"; }
{ timeout = 310; command = locker; }
];
};
Expand Down

0 comments on commit 2957157

Please sign in to comment.