Finally (hopefully) fixed hyprlock. Updated nvidia drivers and kernel, added fastfetch config and hyprlock profile logo
This commit is contained in:
parent
4f16b2182d
commit
c78bcba9b1
9 changed files with 149 additions and 8 deletions
|
|
@ -17,7 +17,7 @@ services.hypridle = {
|
|||
|
||||
general = {
|
||||
lock_cmd="pidof hyprlock || hyprlock";
|
||||
before_sleep_cmd = "loginctl lock-session && sleep 3s"; # lock before suspend.
|
||||
before_sleep_cmd = "loginctl lock-session"; # lock before suspend.
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on"; # to avoid having to press a key twice to turn on the display.
|
||||
ignore_dbus_inhibit = false;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -16,7 +16,12 @@ in
|
|||
monitor = if hwconfig.hostname == "${username}-homepc" then [
|
||||
"DP-1,2560x1440@75,1600x0,1.6"
|
||||
"DP-3,2560x1440@75,0x0,1.6"
|
||||
] else ",highres,auto,1.6";
|
||||
] else [",highres,auto,1.6"]
|
||||
++
|
||||
[
|
||||
"FALLBACK,1920x1080@60,auto,1" #to fix crash on hyprlock https://github.com/hyprwm/hyprlock/issues/434#issuecomment-2341710088
|
||||
]
|
||||
;
|
||||
|
||||
xwayland = {
|
||||
force_zero_scaling = true;
|
||||
|
|
@ -29,7 +34,7 @@ in
|
|||
"${pkgs.networkmanagerapplet}/bin/nm-applet &"
|
||||
"${pkgs.swaynotificationcenter}/bin/swaync &"
|
||||
"${pkgs.solaar}/bin/solaar -w hide &"
|
||||
"${pkgs.hypridle}/bin/hypridle &"
|
||||
#"${pkgs.hypridle}/bin/hypridle &"
|
||||
"${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1 &" #https://nixos.wiki/wiki/Polkit
|
||||
"${pkgs.clipse}/bin/clipse -listen &"
|
||||
"${pkgs.swww}/bin/swww-daemon &"
|
||||
|
|
|
|||
|
|
@ -1,10 +1,17 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let
|
||||
profile-image = ./profile-image.png;
|
||||
in
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
enable_fingerprint = true;
|
||||
#enable_fingerprint = true;
|
||||
disable_loading_bar = true;
|
||||
hide_cursor = true;
|
||||
no_fade_in = false;
|
||||
grace = 10;
|
||||
};
|
||||
background = {
|
||||
blur_passes = 1;
|
||||
|
|
@ -15,12 +22,22 @@
|
|||
vibrancy = 0.1696;
|
||||
vibrancy_darkness = 0.0;
|
||||
};
|
||||
image = {
|
||||
path = "${profile-image}";
|
||||
size = 150;
|
||||
border_size = 4;
|
||||
#border_color = "rgb(0C96F9)";
|
||||
rounding = -1; # Negative means circle
|
||||
position = "0, 220";
|
||||
halign = "center";
|
||||
valign = "center";
|
||||
};
|
||||
input-field = {
|
||||
size = "600, 100";
|
||||
outline_thickness = 3;
|
||||
dots_size = 0.33;
|
||||
dots_spacing = 0.15;
|
||||
dots_center = false;
|
||||
dots_center = true;
|
||||
dots_rounding = -1;
|
||||
dots_fade_time = 200;
|
||||
placeholder_text = "<i>Input Password...</i>";
|
||||
|
|
|
|||
BIN
nixos/hyprland/profile-image.png
Normal file
BIN
nixos/hyprland/profile-image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
Loading…
Add table
Add a link
Reference in a new issue