mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-09 23:26:24 +00:00
44 lines
1.3 KiB
Nix
44 lines
1.3 KiB
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
let inherit (config.colorscheme) colors;
|
||
|
in
|
||
|
{
|
||
|
programs.swaylock = {
|
||
|
enable = true;
|
||
|
package = pkgs.swaylock-effects;
|
||
|
settings = {
|
||
|
effect-blur = "20x3";
|
||
|
fade-in = 0.1;
|
||
|
|
||
|
font = config.fontProfiles.regular.family;
|
||
|
font-size = 15;
|
||
|
|
||
|
line-uses-inside = true;
|
||
|
disable-caps-lock-text = true;
|
||
|
indicator-caps-lock = true;
|
||
|
indicator-radius = 40;
|
||
|
indicator-idle-visible = true;
|
||
|
indicator-y-position = 1000;
|
||
|
|
||
|
ring-color = "#${colors.base02}";
|
||
|
inside-wrong-color = "#${colors.base08}";
|
||
|
ring-wrong-color = "#${colors.base08}";
|
||
|
key-hl-color = "#${colors.base0B}";
|
||
|
bs-hl-color = "#${colors.base08}";
|
||
|
ring-ver-color = "#${colors.base09}";
|
||
|
inside-ver-color = "#${colors.base09}";
|
||
|
inside-color = "#${colors.base01}";
|
||
|
text-color = "#${colors.base07}";
|
||
|
text-clear-color = "#${colors.base01}";
|
||
|
text-ver-color = "#${colors.base01}";
|
||
|
text-wrong-color = "#${colors.base01}";
|
||
|
text-caps-lock-color = "#${colors.base07}";
|
||
|
inside-clear-color = "#${colors.base0C}";
|
||
|
ring-clear-color = "#${colors.base0C}";
|
||
|
inside-caps-lock-color = "#${colors.base09}";
|
||
|
ring-caps-lock-color = "#${colors.base02}";
|
||
|
separator-color = "#${colors.base02}";
|
||
|
};
|
||
|
};
|
||
|
}
|