🧰 Styled Hyprlock
- Commented out listener in Hypridle that caused a bug? - Activated btop
This commit is contained in:
parent
59892a5981
commit
51b30405c5
@ -137,8 +137,8 @@
|
||||
|
||||
qt.enable = true;
|
||||
|
||||
# Enable OpenGL
|
||||
hardware = {
|
||||
# Enable OpenGL
|
||||
graphics.enable = true;
|
||||
nvidia = {
|
||||
# Required
|
||||
|
@ -10,9 +10,12 @@
|
||||
];
|
||||
|
||||
home.file.".config/hypr/hyprland.conf".source = ./hyprland.conf;
|
||||
programs.kitty = {
|
||||
settings = {
|
||||
window_padding_width = 10;
|
||||
programs = {
|
||||
btop.enable = true;
|
||||
kitty = {
|
||||
settings = {
|
||||
window_padding_width = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -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";
|
||||
# }
|
||||
];
|
||||
};
|
||||
};
|
||||
|
@ -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 ![]() (image error) Size: 243 KiB |
Loading…
x
Reference in New Issue
Block a user