🧰 Styled Hyprlock

- Commented out listener in Hypridle that caused a bug?
- Activated btop
This commit is contained in:
Martin Berg Alstad 2024-12-31 17:24:33 +01:00
parent 59892a5981
commit 51b30405c5
Signed by: martials
GPG Key ID: A3824877B269F2E2
5 changed files with 15 additions and 24 deletions

View File

@ -137,8 +137,8 @@
qt.enable = true;
# Enable OpenGL
hardware = {
# Enable OpenGL
graphics.enable = true;
nvidia = {
# Required

View File

@ -10,9 +10,12 @@
];
home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
programs.kitty = {
programs = {
btop.enable = true;
kitty = {
settings = {
window_padding_width = 10;
};
};
};
}

View File

@ -7,19 +7,19 @@
general = {
after_sleep_cmd = "hyprctl dispatch dpms on";
ignore_dbus_inhibit = false;
lock_cmd = "hyprlock";
lock_cmd = "pidof hyprlock || hyprlock"; # Avoid running multiple instances of hyprlock
};
listener = [
{
timeout = 900; # Seconds
timeout = 900; # 15 min
on-timeout = "hyprlock";
}
{
timeout = 1200;
on-timeout = "hyprctl dispatch dpms off";
on-resume = "hyprctl dispatch dpms on";
}
# {
# timeout = 1200;
# on-timeout = "hyprctl dispatch dpms off";
# on-resume = "hyprctl dispatch dpms on";
# }
];
};
};

View File

@ -1,8 +1,6 @@
{ lib, ... }:
{
home.file.".face.png".source = ./face.png;
# TODO style face and wallpaper
programs.hyprlock = {
enable = true;
settings = {
@ -59,16 +57,6 @@
}
];
# USER AVATAR
image = {
path = "~/.face.png";
size = 100;
border_color = "$accent";
position = "0, 75";
halign = "center";
valign = "center";
};
# INPUT FIELD
input-field = {
size = "300, 60";
@ -86,7 +74,7 @@
fail_color = lib.mkDefault "$red";
fail_text = "<i>$FAIL <b>($ATTEMPTS)</b></i>";
capslock_color = lib.mkDefault "$yellow";
position = "0, -47";
position = "0, -20%";
halign = "center";
valign = "center";
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 KiB