diff --git a/modules/home/programs/hyprland/default.nix b/modules/home/programs/hyprland/default.nix index 43675cd..39fbbea 100644 --- a/modules/home/programs/hyprland/default.nix +++ b/modules/home/programs/hyprland/default.nix @@ -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; diff --git a/modules/home/stylix/default.nix b/modules/home/stylix/default.nix index e11f823..5b158a6 100644 --- a/modules/home/stylix/default.nix +++ b/modules/home/stylix/default.nix @@ -29,6 +29,7 @@ in enable = true; enableReleaseChecks = false; base16Scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml"; + polarity = "dark"; cursor = { name = "macOS"; @@ -77,10 +78,17 @@ in }; targets = { - hyprlock.enable = false; - gnome.enable = false; - # gtk.enable = false; - qt.enable = false; + hyprlock = { + enable = false; + useWallpaper = false; + }; + firefox = { + enable = false; + profileNames = [ + "default" + "954lxlok.default" + ]; + }; }; }; } \ No newline at end of file