feature/stylix #16
@ -1,15 +1,15 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
# let
|
||||||
randWallpaper = pkgs.runCommand "stylix-wallpaper" { } ''
|
# randWallpaper = pkgs.runCommand "stylix-wallpaper" { } ''
|
||||||
numWallpapers =
|
# numWallpapers =
|
||||||
$((1 + $RANDOM % 10))
|
# $((1 + $RANDOM % 10))
|
||||||
|
|
||||||
'';
|
# in
|
||||||
in
|
|
||||||
{
|
{
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
image = randWallpaper;
|
image = "${pkgs.hyprland}/share/hypr/wall2.png";
|
||||||
|
|
||||||
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";
|
#image = "/home/alice/Pictures/Screenshots/screenshot_2024-12-04-2030.png";
|
||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
};
|
};
|
||||||
|
@ -16,8 +16,9 @@
|
|||||||
background = {
|
background = {
|
||||||
monitor = "";
|
monitor = "";
|
||||||
# path = /home/me/someImage.png # supports png, jpg, webp (no animations, though)
|
# path = /home/me/someImage.png # supports png, jpg, webp (no animations, though)
|
||||||
path = "screenshot";
|
path = lib.mkForce "screenshot";
|
||||||
color = "rgba(25, 20, 20, 1.0)";
|
# disabling due to stylix
|
||||||
|
# color = "rgba(25, 20, 20, 1.0)";
|
||||||
|
|
||||||
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
|
||||||
blur_passes = 3; # 0 disables blurring
|
blur_passes = 3; # 0 disables blurring
|
||||||
@ -55,17 +56,18 @@
|
|||||||
dots_rounding = -1; # -1 default circle, -2 follow input-field rounding
|
dots_rounding = -1; # -1 default circle, -2 follow input-field rounding
|
||||||
dots_fade_time = 200; # Milliseconds until a dot fully fades in
|
dots_fade_time = 200; # Milliseconds until a dot fully fades in
|
||||||
dots_text_format = ""; # Text character used for the input indicator. Leave empty for a rectangle that will be rounded via dots_rounding (default).
|
dots_text_format = ""; # Text character used for the input indicator. Leave empty for a rectangle that will be rounded via dots_rounding (default).
|
||||||
outer_color = "rgb(151515)";
|
# disabling due to stylix
|
||||||
inner_color = "rgb(200, 200, 200)";
|
# outer_color = "rgb(151515)";
|
||||||
font_color = "rgb(10, 10, 10)";
|
# inner_color = "rgb(200, 200, 200)";
|
||||||
|
# font_color = "rgb(10, 10, 10)";
|
||||||
font_family = "Noto Sans"; # Font used for placeholder_text, fail_text and dots_text_format.
|
font_family = "Noto Sans"; # Font used for placeholder_text, fail_text and dots_text_format.
|
||||||
fade_on_empty = false;
|
fade_on_empty = false;
|
||||||
fade_timeout = 1000; # Milliseconds before fade_on_empty is triggered.
|
fade_timeout = 1000; # Milliseconds before fade_on_empty is triggered.
|
||||||
placeholder_text = "<i>Input Password...</i>"; # Text rendered in the input box when it's empty.
|
placeholder_text = "<i>Input Password...</i>"; # Text rendered in the input box when it's empty.
|
||||||
hide_input = false;
|
hide_input = false;
|
||||||
rounding = -1; # -1 means complete rounding (circle/oval)
|
rounding = -1; # -1 means complete rounding (circle/oval)
|
||||||
check_color = "rgb(204, 136, 34)";
|
#check_color = "rgb(204, 136, 34)";
|
||||||
fail_color = "rgb(204, 34, 34)"; # if authentication failed, changes outer_color and fail message color
|
#fail_color = "rgb(204, 34, 34)"; # if authentication failed, changes outer_color and fail message color
|
||||||
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>"; # can be set to empty
|
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>"; # can be set to empty
|
||||||
fail_timeout = 2000; # milliseconds before fail_text and fail_color disappears
|
fail_timeout = 2000; # milliseconds before fail_text and fail_color disappears
|
||||||
fail_transition = 300; # transition time in ms between normal outer_color and fail_color
|
fail_transition = 300; # transition time in ms between normal outer_color and fail_color
|
||||||
|
Loading…
x
Reference in New Issue
Block a user