From e2486fa2fa5b3014a22b52ac521cd77f80b7444a Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 30 Jun 2025 15:06:34 -0400 Subject: update ly version and update config --- modules/apps/hyprlock.nix | 6 +++++- modules/desktops/ly.nix | 18 +++++++++++------- 2 files changed, 16 insertions(+), 8 deletions(-) (limited to 'modules') diff --git a/modules/apps/hyprlock.nix b/modules/apps/hyprlock.nix index 8c6bb6a..6d4d238 100644 --- a/modules/apps/hyprlock.nix +++ b/modules/apps/hyprlock.nix @@ -50,7 +50,11 @@ in { fade_on_empty = false; placeholder_text = "Enter Password" - + (optionals config.fingerprint " or Touch Fingerprint"); + + ( + if config.fingerprint + then " or Touch Fingerprint" + else "" + ); hide_input = false; check_color = error; fail_color = error; diff --git a/modules/desktops/ly.nix b/modules/desktops/ly.nix index 6cde7f5..672f918 100644 --- a/modules/desktops/ly.nix +++ b/modules/desktops/ly.nix @@ -1,32 +1,36 @@ - { lib, config, pkgs, + self, + system, ... }: let inherit (lib) mkIf; cfg = config.desktops; in { config = mkIf cfg.ly { - # display manager services.displayManager.ly = { enable = true; + package = self.packages.${system}.ly; + settings = let base = "0x00${config.theme.colors.base}"; text = "0x00${config.theme.colors.text}"; + bold = "0x01${config.theme.colors.text}"; error = "0x00${config.theme.colors.error}"; save_file = pkgs.writeText "ly-prefs" '' ${config.user} - 0 + 1 ''; in { # general clear_password = true; default_input = "password"; - numlock = true; - hide_f1_commands = true; + xinitrc = "null"; + hide_version_string = true; + hide_key_hints = true; # state (evil) tty = 1; save = false; @@ -35,11 +39,11 @@ in { # background bg = base; error_bg = base; - blank_box = false; + blank_box = true; # foreground fg = text; error_fg = error; - border_fg = text; + border_fg = bold; }; }; -- cgit v1.2.3-freya