Skip to content

Commit 2957157

Browse files
committed
users: daemonize swaylock
1 parent 6e95ad8 commit 2957157

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

users/fortuneteller2k/default.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,14 +237,14 @@
237237
comments = true,
238238
keywords = false,
239239
functions = false,
240-
strings = false,
240+
strings = false,
241241
variables = false
242-
},
242+
},
243243
244244
high_visibility = {
245-
lighter = false,
245+
lighter = false,
246246
darker = true
247-
},
247+
},
248248
})
249249
'';
250250
};
@@ -326,7 +326,7 @@
326326

327327
swayidle =
328328
let
329-
locker = "swaylock -c ${config.colorscheme.colors.base00} --font 'Sarasa UI J'";
329+
locker = "swaylock -fF -c ${config.colorscheme.colors.base00} --font 'Sarasa UI J'";
330330
dpms = status: "swaymsg 'output * dpms ${status}'";
331331
in
332332
{
@@ -341,7 +341,7 @@
341341
];
342342

343343
timeouts = [
344-
{ timeout = 300; command = dpms "off"; resumeCommand = dpms "on"; }
344+
{ timeout = 300; command = dpms "off"; resumeCommand = dpms "on"; }
345345
{ timeout = 310; command = locker; }
346346
];
347347
};

0 commit comments

Comments
 (0)