Adjust colours of hyprlock and add fail text
This commit is contained in:
parent
d3001e10be
commit
35b1130442
|
@ -75,18 +75,16 @@
|
||||||
hyprlock =
|
hyprlock =
|
||||||
let
|
let
|
||||||
font = config.stylix.fonts.sansSerif.name;
|
font = config.stylix.fonts.sansSerif.name;
|
||||||
foreground = config.lib.stylix.scheme.base05;
|
scheme = config.lib.stylix.scheme;
|
||||||
background = config.lib.stylix.scheme.base00;
|
accent = scheme.base0E;
|
||||||
accent = config.lib.stylix.scheme.base0E;
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
disable_loading_bar = true;
|
|
||||||
grace = 5;
|
|
||||||
hide_cursor = true;
|
hide_cursor = true;
|
||||||
no_fade_in = false;
|
grace = 5;
|
||||||
|
ignore_emptry_input = true;
|
||||||
};
|
};
|
||||||
background = [
|
background = [
|
||||||
{
|
{
|
||||||
|
@ -100,7 +98,7 @@
|
||||||
{
|
{
|
||||||
monitor = "";
|
monitor = "";
|
||||||
text = "cmd[update:30000] echo \"$(date +\"%R\")\"";
|
text = "cmd[update:30000] echo \"$(date +\"%R\")\"";
|
||||||
color = "0xff${background}";
|
color = "0xff${scheme.base00}";
|
||||||
font_size = 90;
|
font_size = 90;
|
||||||
font_family = font;
|
font_family = font;
|
||||||
position = "-30, 0";
|
position = "-30, 0";
|
||||||
|
@ -110,7 +108,7 @@
|
||||||
{
|
{
|
||||||
monitor = "";
|
monitor = "";
|
||||||
text = "cmd[update:43200000] echo \"$(date +\"%A,%e %B %Y\")\"";
|
text = "cmd[update:43200000] echo \"$(date +\"%A,%e %B %Y\")\"";
|
||||||
color = "0xff${background}";
|
color = "0xff${scheme.base00}";
|
||||||
font_size = 25;
|
font_size = 25;
|
||||||
font_family = font;
|
font_family = font;
|
||||||
position = "-30, -150";
|
position = "-30, -150";
|
||||||
|
@ -138,10 +136,13 @@
|
||||||
dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
|
dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
|
||||||
dots_center = true;
|
dots_center = true;
|
||||||
outer_color = "0xff${accent}";
|
outer_color = "0xff${accent}";
|
||||||
inner_color = "0xff${background}";
|
inner_color = "0xff${scheme.base00}";
|
||||||
font_color = "0xff${foreground}";
|
font_color = "0xff${scheme.base05}";
|
||||||
fade_on_empty = false;
|
fade_on_empty = false;
|
||||||
placeholder_text = "<span foreground=\"##${foreground}\"> Logged in as <span foreground=\"##${accent}\">$USER</span></span>";
|
placeholder_text = " Logged in as <span foreground=\"##${accent}\">$USER</span>";
|
||||||
|
check_color = "0xff${scheme.blue}";
|
||||||
|
fail_color = "0xff${scheme.red}";
|
||||||
|
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
|
||||||
hide_input = false;
|
hide_input = false;
|
||||||
position = "0, -50";
|
position = "0, -50";
|
||||||
halign = "center";
|
halign = "center";
|
||||||
|
|
Loading…
Reference in a new issue