mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 14:23:55 -05:00
Aly Raffauf
23c783cfc5
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* swaylock: update to standard font name * theme: setup font options and mgirate theme.nix * zed: migrate to font modules * swaylock: migrate to font modules * kitty: migrate to font modules * fuzzel: migrate to font modules * vsCodium: migrate to font modules * rofi: migrate to font modules * rofi: migrate to font modules * waybar: migrate to font modules * alacritty: migrate to font modules * alacritty: pull font size from theme module * nixfmt * rustboro: migrate font overrides * waybar: calculate font size from theme font settings * vsCodium: set font size from module * zed: set font size from module * sway: migrate to font modules * wlogout: migrate to font modules * mako: migrate to font modules * sway: fix improper option reference
51 lines
1.4 KiB
Nix
51 lines
1.4 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.ar.home;
|
|
in {
|
|
config = lib.mkIf cfg.apps.swaylock.enable {
|
|
home.packages = with pkgs; [swaylock];
|
|
|
|
programs.swaylock.enable = true;
|
|
|
|
xdg.configFile."swaylock/config".text = ''
|
|
bs-hl-color=e78284
|
|
caps-lock-bs-hl-color=e78284
|
|
caps-lock-key-hl-color=e78284
|
|
color=303446
|
|
daemonize
|
|
font="${cfg.theme.monospaceFont.name}"
|
|
image=${cfg.theme.wallpaper}
|
|
indicator-caps-lock
|
|
indicator-idle-visible
|
|
indicator-radius=120
|
|
indicator-thickness=20
|
|
inside-caps-lock-color=303446cc
|
|
inside-clear-color=303446cc
|
|
inside-color=303446cc
|
|
inside-ver-color=303446cc
|
|
inside-wrong-color=303446cc
|
|
key-hl-color=a6d189
|
|
line-caps-lock-color=${cfg.theme.colors.background}CC
|
|
line-clear-color=${cfg.theme.colors.background}CC
|
|
line-color=${cfg.theme.colors.background}CC
|
|
line-ver-color=${cfg.theme.colors.background}CC
|
|
line-wrong-color=${cfg.theme.colors.background}CC
|
|
ring-caps-lock-color=e78284cc
|
|
ring-clear-color=85c1dccc
|
|
ring-color=${cfg.theme.colors.primary}CC
|
|
ring-ver-color=a6d189cc
|
|
ring-wrong-color=e78284cc
|
|
scaling=fill
|
|
separator-color=${cfg.theme.colors.background}CC
|
|
text-caps-lock-color=c6d0f5
|
|
text-clear-color=c6d0f5
|
|
text-ver-color=c6d0f5
|
|
text-wrong-color=c6d0f5
|
|
'';
|
|
};
|
|
}
|