Generalize and move configs
This commit is contained in:
parent
17f2a16f48
commit
ffb1b6d541
21 changed files with 73 additions and 64 deletions
44
modules/home/wms/swaylock/default.nix
Normal file
44
modules/home/wms/swaylock/default.nix
Normal file
|
@ -0,0 +1,44 @@
|
|||
{ pkgs, config, ... }:
|
||||
let
|
||||
default = "#${config.look.colors.prime}FF";
|
||||
wrong = "#${config.look.colors.split}FF";
|
||||
verifying = "#${config.look.colors.accent}FF";
|
||||
blank = "#00000000";
|
||||
clear = "#FFFFFF22";
|
||||
text = "#FFFFFFFF";
|
||||
in {
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
package = pkgs.swaylock-effects;
|
||||
settings = {
|
||||
clock = true;
|
||||
image = "~/.assets/lockscreen/lock.png";
|
||||
font = config.look.fonts.main;
|
||||
font-size = 30;
|
||||
timestr = "%I:%M%p";
|
||||
datestr = "%a %b %d %Y";
|
||||
|
||||
key-hl-color = verifying;
|
||||
bs-hl-color = wrong;
|
||||
|
||||
ring-clear-color = clear;
|
||||
ring-ver-color = verifying;
|
||||
ring-wrong-color = wrong;
|
||||
ring-color = default;
|
||||
|
||||
inside-color = clear;
|
||||
inside-ver-color = clear;
|
||||
inside-wrong-color = clear;
|
||||
inside-clear-color = clear;
|
||||
|
||||
text-color = text;
|
||||
text-clear-color = text;
|
||||
text-ver-color = text;
|
||||
text-caps-lock-color = text;
|
||||
text-wrong-color = text;
|
||||
|
||||
indicator = true;
|
||||
indicator-radius = 80;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue