mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-03 19:42:10 +02:00
Change theme
This commit is contained in:
@@ -4,9 +4,30 @@ let
|
||||
foreground = config.theme.textColorOnWallpaper;
|
||||
sddm-astronaut = pkgs.sddm-astronaut.override {
|
||||
embeddedTheme = "pixel_sakura";
|
||||
# TODO: Cleaner version for static vs .gif, just a string.replace
|
||||
themeConfig = if lib.hasSuffix "sakura_static.png" config.stylix.image then
|
||||
{ }
|
||||
else {
|
||||
else if lib.hasSuffix "studio.png" config.stylix.image then {
|
||||
Background = pkgs.fetchurl {
|
||||
url =
|
||||
"https://raw.githubusercontent.com/anotherhadi/nixy-wallpapers/refs/heads/main/wallpapers/studio.gif";
|
||||
sha256 = "sha256-qySDskjmFYt+ncslpbz0BfXiWm4hmFf5GPWF2NlTVB8=";
|
||||
};
|
||||
HeaderTextColor = "#${foreground}";
|
||||
DateTextColor = "#${foreground}";
|
||||
TimeTextColor = "#${foreground}";
|
||||
LoginFieldTextColor = "#${foreground}";
|
||||
PasswordFieldTextColor = "#${foreground}";
|
||||
UserIconColor = "#${foreground}";
|
||||
PasswordIconColor = "#${foreground}";
|
||||
WarningColor = "#${foreground}";
|
||||
LoginButtonBackgroundColor = "#${foreground}";
|
||||
SystemButtonsIconsColor = "#${foreground}";
|
||||
SessionButtonTextColor = "#${foreground}";
|
||||
VirtualKeyboardButtonTextColor = "#${foreground}";
|
||||
DropdownBackgroundColor = "#${foreground}";
|
||||
HighlightBackgroundColor = "#${foreground}";
|
||||
} else {
|
||||
Background = "${toString config.stylix.image}";
|
||||
HeaderTextColor = "#${foreground}";
|
||||
DateTextColor = "#${foreground}";
|
||||
|
||||
Reference in New Issue
Block a user