mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 19:42:10 +02:00
Hyprlock tweak, removed useless options and added QoL tweaks
This can be seen as a subjective change and you can ignore it if it does not fit into your idea of nixy. Signed-off-by: Purin <118902463+Dylouwu@users.noreply.github.com>
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
# Hyprlock is a lockscreen for Hyprland
|
# Hyprlock is a lockscreen for Hyprland
|
||||||
{
|
{ config, lib, ... }:
|
||||||
config,
|
let
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
foreground = "rgba(${config.theme.textColorOnWallpaper}ee)";
|
foreground = "rgba(${config.theme.textColorOnWallpaper}ee)";
|
||||||
font = config.stylix.fonts.serif.name;
|
font = config.stylix.fonts.serif.name;
|
||||||
in {
|
in {
|
||||||
@@ -11,18 +8,11 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
general = {
|
general = {
|
||||||
no_fade_in = false;
|
ignore_empty_input = true;
|
||||||
disable_loading_bar = false;
|
hide_cursor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
background = {
|
background = { brightness = 0.7172; };
|
||||||
monitor = "";
|
|
||||||
blur_passes = 0;
|
|
||||||
contrast = 0.8916;
|
|
||||||
brightness = 0.7172;
|
|
||||||
vibrancy = 0.1696;
|
|
||||||
vibrancy_darkness = 0.0;
|
|
||||||
};
|
|
||||||
|
|
||||||
label = [
|
label = [
|
||||||
{
|
{
|
||||||
@@ -52,10 +42,6 @@ in {
|
|||||||
monitor = "";
|
monitor = "";
|
||||||
text = " $USER";
|
text = " $USER";
|
||||||
color = foreground;
|
color = foreground;
|
||||||
outline_thickness = 2;
|
|
||||||
dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
|
|
||||||
dots_spacing = 0.2; # Scale of dots' absolute size, 0.0 - 1.0
|
|
||||||
dots_center = true;
|
|
||||||
font_size = 18;
|
font_size = 18;
|
||||||
font_family = font + " Bold";
|
font_family = font + " Bold";
|
||||||
position = "0, -180";
|
position = "0, -180";
|
||||||
@@ -66,7 +52,6 @@ in {
|
|||||||
|
|
||||||
# INPUT FIELD
|
# INPUT FIELD
|
||||||
input-field = lib.mkForce {
|
input-field = lib.mkForce {
|
||||||
monitor = "";
|
|
||||||
size = "300, 60";
|
size = "300, 60";
|
||||||
outline_thickness = 2;
|
outline_thickness = 2;
|
||||||
dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
|
dots_size = 0.2; # Scale of input-field height, 0.2 - 0.8
|
||||||
@@ -78,7 +63,6 @@ in {
|
|||||||
fade_on_empty = false;
|
fade_on_empty = false;
|
||||||
font_family = font + " Bold";
|
font_family = font + " Bold";
|
||||||
placeholder_text = "<i>🔒 Enter Password</i>";
|
placeholder_text = "<i>🔒 Enter Password</i>";
|
||||||
hide_input = false;
|
|
||||||
position = "0, -250";
|
position = "0, -250";
|
||||||
halign = "center";
|
halign = "center";
|
||||||
valign = "center";
|
valign = "center";
|
||||||
|
|||||||
Reference in New Issue
Block a user