fix sddm theme and background preloading

This commit is contained in:
mjallen18
2025-06-26 12:59:38 -05:00
parent 91873cc197
commit ff33dd06cf
3 changed files with 22 additions and 12 deletions

View File

@@ -7,12 +7,12 @@ let
iconThemeVariant = "all"; # [ "default" "purple" "pink" "red" "orange" "yellow" "green" "teal" "grey" "all" ]
iconScheme = "nord"; # [ "default" "nord" "dracula" "gruvbox" "everforest" "catppuccin" "all" ]
# customized_sddm_astronaut = pkgs.sddm-astronaut.override {
# embeddedTheme = "hyprland_kath";
# themeConfig = {
# Background = "path/to/background.jpg";
# };
# };
sddmThemePkg = pkgs.sddm-astronaut.override {
embeddedTheme = "astronaut";
themeConfig = {
Background = "/run/wallpaper.jpg";
};
};
in
{
# Displays
@@ -61,7 +61,7 @@ in
# SDDM/Locking
sddm = {
themeName = "sddm-astronaut-theme";
package = pkgs.sddm-astronaut;
package = sddmThemePkg;
};
lockScreenTimer = 900; # 15 min
screenOffTimer = 930; # 15.5 min