nixosModules/style: update hyprlock colors
This commit is contained in:
parent
1f1183fa4d
commit
bc7de34c43
1 changed files with 12 additions and 10 deletions
|
@ -1,10 +1,12 @@
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
lib',
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cfg = config.local.style;
|
cfg = config.local.style;
|
||||||
inherit (cfg) scheme;
|
inherit (cfg) scheme;
|
||||||
|
rgbaPalette = builtins.mapAttrs (_: c: (lib'.rgba c 1)) scheme.palette;
|
||||||
in {
|
in {
|
||||||
config.home-manager.sharedModules = lib.mkIf cfg.enable [
|
config.home-manager.sharedModules = lib.mkIf cfg.enable [
|
||||||
{
|
{
|
||||||
|
@ -28,7 +30,7 @@ in {
|
||||||
monitor = "";
|
monitor = "";
|
||||||
text = "Layout: $LAYOUT";
|
text = "Layout: $LAYOUT";
|
||||||
font_size = 25;
|
font_size = 25;
|
||||||
color = scheme.palette.base05;
|
color = rgbaPalette.base05;
|
||||||
|
|
||||||
position = "30, -30";
|
position = "30, -30";
|
||||||
halign = "left";
|
halign = "left";
|
||||||
|
@ -38,7 +40,7 @@ in {
|
||||||
monitor = "";
|
monitor = "";
|
||||||
text = "$TIME";
|
text = "$TIME";
|
||||||
font_size = 90;
|
font_size = 90;
|
||||||
color = scheme.palette.base05;
|
color = rgbaPalette.base05;
|
||||||
|
|
||||||
position = "-30, 0";
|
position = "-30, 0";
|
||||||
halign = "right";
|
halign = "right";
|
||||||
|
@ -48,7 +50,7 @@ in {
|
||||||
monitor = "";
|
monitor = "";
|
||||||
text = "cmd[update:43200000] date +\"%A, %d %B %Y\"";
|
text = "cmd[update:43200000] date +\"%A, %d %B %Y\"";
|
||||||
font_size = 25;
|
font_size = 25;
|
||||||
color = scheme.palette.base05;
|
color = rgbaPalette.base05;
|
||||||
|
|
||||||
position = "-30, -150";
|
position = "-30, -150";
|
||||||
halign = "right";
|
halign = "right";
|
||||||
|
@ -60,7 +62,7 @@ in {
|
||||||
monitor = "";
|
monitor = "";
|
||||||
path = "${cfg.avatar}"; # Replace with your avatar path
|
path = "${cfg.avatar}"; # Replace with your avatar path
|
||||||
size = 100;
|
size = 100;
|
||||||
border_color = scheme.palette.base0D;
|
border_color = rgbaPalette.base0D;
|
||||||
|
|
||||||
position = "0, 75";
|
position = "0, 75";
|
||||||
halign = "center";
|
halign = "center";
|
||||||
|
@ -77,19 +79,19 @@ in {
|
||||||
dots_spacing = 0.2;
|
dots_spacing = 0.2;
|
||||||
dots_center = true;
|
dots_center = true;
|
||||||
|
|
||||||
outer_color = scheme.palette.base0D;
|
outer_color = rgbaPalette.base0D;
|
||||||
inner_color = scheme.palette.base02;
|
inner_color = rgbaPalette.base02;
|
||||||
font_color = scheme.palette.base05;
|
font_color = rgbaPalette.base05;
|
||||||
|
|
||||||
fade_on_empty = false;
|
fade_on_empty = false;
|
||||||
placeholder_text = "<span foreground=\"#${scheme.palette.base03}\"><i> Logged in as </i><span foreground=\"#${scheme.palette.base0D}\">$USER</span></span>";
|
placeholder_text = "<span foreground=\"#${scheme.palette.base03}\"><i> Logged in as </i><span foreground=\"#${scheme.palette.base0D}\">$USER</span></span>";
|
||||||
|
|
||||||
hide_input = false;
|
hide_input = false;
|
||||||
check_color = scheme.palette.base0D;
|
check_color = rgbaPalette.base0D;
|
||||||
fail_color = scheme.palette.base08;
|
fail_color = rgbaPalette.base08;
|
||||||
|
|
||||||
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
|
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
|
||||||
capslock_color = scheme.palette.base0E;
|
capslock_color = rgbaPalette.base0E;
|
||||||
|
|
||||||
position = "0, -47";
|
position = "0, -47";
|
||||||
halign = "center";
|
halign = "center";
|
||||||
|
|
Loading…
Reference in a new issue