nixos-config/user/sway/swaylock.nix

36 lines
698 B
Nix
Raw Normal View History

{
config,
pkgs,
lib,
...
}:
2023-02-25 17:17:05 -03:00
let
2024-06-05 01:18:48 -03:00
inherit (config.my)
key
accent
font
theme
;
2023-02-25 17:17:05 -03:00
inherit (theme) color;
in
{
programs.swaylock.settings = {
2024-05-10 19:48:35 -03:00
image = toString theme.background;
2023-02-25 17:17:05 -03:00
font = font.interface;
font-size = font.size.medium;
indicator-thickness = 20;
color = color.bg;
inside-color = "#FFFFFF00";
bs-hl-color = color.normal.red;
ring-color = color.normal.green;
key-hl-color = accent.color;
# divisor lines;
separator-color = "#aabbcc00";
line-color = "#aabbcc00";
line-clear-color = "#aabbcc00";
line-caps-lock-color = "#aabbcc00";
line-ver-color = "#aabbcc00";
line-wrong-color = "#aabbcc00";
};
}