This commit is contained in:
mjallen18
2025-12-04 19:35:47 -06:00
parent 88e29f74de
commit 73a11e1ac8
2 changed files with 19 additions and 11 deletions

View File

@@ -89,7 +89,7 @@ in
NIXOS_XDG_OPEN_USE_PORTAL = "1";
QT_AUTO_SCREEN_SCALE_FACTOR = "1";
QT_QPA_PLATFORM = "wayland-egl";
QT_QPA_PLATFORMTHEME = "gtk3";
QT_QPA_PLATFORMTHEME = lib.mkDefault "gtk3";
QT_SCALE_FACTOR = "1";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
SDL_VIDEODRIVER = "wayland";
@@ -171,18 +171,18 @@ in
hyprlock = {
enable = true;
settings = {
background = [
background = mkForce [
{
monitor = "";
path = "/run/wallpaper.jpg"; # supports png, jpg, webp (no animations, though)
color = mkForce "rgba(25, 20, 20, 1.0)";
color = mkDefault "rgba(25, 20, 20, 1.0)";
# all these options are taken from hyprland, see https://wiki.hyprland.org/Configuring/Variables/#blur for explanations
blur_passes = mkForce "3"; # 0 disables blurring
blur_size = mkForce "7";
blur_passes = mkDefault "3"; # 0 disables blurring
blur_size = mkDefault "7";
noise = "0.0117";
contrast = "0.8916";
brightness = mkForce "0.8172";
brightness = mkDefault "0.8172";
vibrancy = "0.1696";
vibrancy_darkness = "0.0";
}
@@ -250,7 +250,7 @@ in
# user box
shape = [
{
monitor = "";
monitor = cfg.primaryDisplay;
size = "200, 50";
color = "rgba(46, 52, 64, .25)";
rounding = -1;