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;
|
foreground = config.theme.textColorOnWallpaper;
|
||||||
sddm-astronaut = pkgs.sddm-astronaut.override {
|
sddm-astronaut = pkgs.sddm-astronaut.override {
|
||||||
embeddedTheme = "pixel_sakura";
|
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
|
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}";
|
Background = "${toString config.stylix.image}";
|
||||||
HeaderTextColor = "#${foreground}";
|
HeaderTextColor = "#${foreground}";
|
||||||
DateTextColor = "#${foreground}";
|
DateTextColor = "#${foreground}";
|
||||||
|
|||||||
@@ -3,14 +3,14 @@
|
|||||||
options.theme = lib.mkOption {
|
options.theme = lib.mkOption {
|
||||||
type = lib.types.attrs;
|
type = lib.types.attrs;
|
||||||
default = {
|
default = {
|
||||||
rounding = 10;
|
rounding = 8;
|
||||||
gaps-in = 10;
|
gaps-in = 10;
|
||||||
gaps-out = 10 * 2;
|
gaps-out = 10 * 2;
|
||||||
active-opacity = 0.96;
|
active-opacity = 0.92;
|
||||||
inactive-opacity = 0.94;
|
inactive-opacity = 0.88;
|
||||||
blur = true;
|
blur = true;
|
||||||
border-size = 3;
|
border-size = 2;
|
||||||
animation-speed = "medium"; # "fast" | "medium" | "slow"
|
animation-speed = "fast"; # "fast" | "medium" | "slow"
|
||||||
fetch = "none"; # "nerdfetch" | "neofetch" | "pfetch" | "none"
|
fetch = "none"; # "nerdfetch" | "neofetch" | "pfetch" | "none"
|
||||||
textColorOnWallpaper =
|
textColorOnWallpaper =
|
||||||
config.lib.stylix.colors.base06; # Color of the text displayed on the wallpaper (Lockscreen, display manager, ...)
|
config.lib.stylix.colors.base06; # Color of the text displayed on the wallpaper (Lockscreen, display manager, ...)
|
||||||
@@ -32,7 +32,7 @@
|
|||||||
base16Scheme = {
|
base16Scheme = {
|
||||||
base00 = "0c0e0f"; # Default Background
|
base00 = "0c0e0f"; # Default Background
|
||||||
base01 =
|
base01 =
|
||||||
"202324"; # Lighter Background (Used for status bars, line number and folding marks)
|
"1c1e1f"; # Lighter Background (Used for status bars, line number and folding marks)
|
||||||
base02 = "313244"; # Selection Background
|
base02 = "313244"; # Selection Background
|
||||||
base03 = "45475a"; # Comments, Invisibles, Line Highlighting
|
base03 = "45475a"; # Comments, Invisibles, Line Highlighting
|
||||||
base04 = "585b70"; # Dark Foreground (Used for status bars)
|
base04 = "585b70"; # Dark Foreground (Used for status bars)
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
base0C =
|
base0C =
|
||||||
"94e2d5"; # Support, Regular Expressions, Escape Characters, Markup Quotes
|
"94e2d5"; # Support, Regular Expressions, Escape Characters, Markup Quotes
|
||||||
base0D =
|
base0D =
|
||||||
"89b4fa"; # Functions, Methods, Attribute IDs, Headings, Accent color
|
"BB96F5"; # Functions, Methods, Attribute IDs, Headings, Accent color
|
||||||
base0E =
|
base0E =
|
||||||
"cba6f7"; # Keywords, Storage, Selector, Markup Italic, Diff Changed
|
"cba6f7"; # Keywords, Storage, Selector, Markup Italic, Diff Changed
|
||||||
base0F =
|
base0F =
|
||||||
@@ -86,8 +86,8 @@
|
|||||||
polarity = "dark";
|
polarity = "dark";
|
||||||
image = pkgs.fetchurl {
|
image = pkgs.fetchurl {
|
||||||
url =
|
url =
|
||||||
"https://raw.githubusercontent.com/AlexandrosLiaskos/Awesome_Wallpapers/main/images/pastel-window.png";
|
"https://raw.githubusercontent.com/anotherhadi/nixy-wallpapers/refs/heads/main/wallpapers/studio.png";
|
||||||
sha256 = "sha256-KMYVs4hSs+e66q4o15aVJ4mbTMDqIKEH4tBv9zZ7J2o=";
|
sha256 = "sha256-+YUsGNHsgiFW8y7n9HYLdf/qWlNXyQAOGaAQSIeptsY=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user