From ada0a0761c5246315b0e30db74d8c4a00affa74e Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 2 Jan 2025 19:42:26 +0100 Subject: [PATCH] new theme! --- hosts/laptop/configuration.nix | 2 +- hosts/laptop/home.nix | 2 +- hosts/laptop/variables.nix | 2 +- themes/stylix/2025.nix | 67 ++++++++++++++++++++++++++++++++++ themes/var/2025.nix | 18 +++++++++ 5 files changed, 88 insertions(+), 3 deletions(-) create mode 100644 themes/stylix/2025.nix create mode 100644 themes/var/2025.nix diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index ce38c75..5c7ecbc 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -21,7 +21,7 @@ ../../nixos/pia.nix # Choose your theme here - ../../themes/stylix/whitish.nix + ../../themes/stylix/2025.nix ./hardware-configuration.nix ./variables.nix diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index ca2774e..31c550f 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -84,7 +84,7 @@ ]; # Import my profile picture, used by the hyprpanel dashboard - file.".profile_picture.png" = { source = ./profile_picture.png; }; + file.".face.icon" = { source = ./profile_picture.png; }; # Don't touch this stateVersion = "24.05"; diff --git a/hosts/laptop/variables.nix b/hosts/laptop/variables.nix index ca19902..74fa7dc 100644 --- a/hosts/laptop/variables.nix +++ b/hosts/laptop/variables.nix @@ -23,6 +23,6 @@ autoGarbageCollector = true; # Choose your theme variables here - theme = import ../../themes/var/whitish.nix; + theme = import ../../themes/var/2025.nix; }; } diff --git a/themes/stylix/2025.nix b/themes/stylix/2025.nix new file mode 100644 index 0000000..00e7db1 --- /dev/null +++ b/themes/stylix/2025.nix @@ -0,0 +1,67 @@ +{ pkgs, inputs, ... }: { + stylix = { + enable = true; + + # Edited catppuccin + base16Scheme = { + base00 = "0a0a0a"; # Default Background + base01 = + "1a1a1a"; # Lighter Background (Used for status bars, line number and folding marks) + base02 = "2b2b2b"; # Selection Background + base03 = "45475a"; # Comments, Invisibles, Line Highlighting + base04 = "585b70"; # Dark Foreground (Used for status bars) + base05 = "fcfcfc"; # Default Foreground, Caret, Delimiters, Operators + base06 = "f5e0dc"; # Light Foreground (Not often used) + base07 = "b4befe"; # Light Background (Not often used) + base08 = + "f38ba8"; # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted + base09 = + "fab387"; # Integers, Boolean, Constants, XML Attributes, Markup Link Url + base0A = "f9e2af"; # Classes, Markup Bold, Search Text Background + base0B = "a6e3a1"; # Strings, Inherited Class, Markup Code, Diff Inserted + base0C = + "94e2d5"; # Support, Regular Expressions, Escape Characters, Markup Quotes + base0D = + "A594FD"; # Functions, Methods, Attribute IDs, Headings, Accent color + base0E = + "cba6f7"; # Keywords, Storage, Selector, Markup Italic, Diff Changed + base0F = + "f2cdcd"; # Deprecated, Opening/Closing Embedded Language Tags, e.g. + }; + + cursor = { + package = pkgs.bibata-cursors; + name = "Bibata-Modern-Ice"; + size = 24; + }; + + fonts = { + monospace = { + package = pkgs.nerd-fonts.jetbrains-mono; + name = "JetBrains Mono Nerd Font"; + }; + sansSerif = { + package = inputs.apple-fonts.packages.${pkgs.system}.sf-pro-nerd; + name = "SFProDisplay Nerd Font"; + }; + serif = { + package = inputs.apple-fonts.packages.${pkgs.system}.sf-pro-nerd; + name = "SFProDisplay Nerd Font"; + }; + emoji = { + package = pkgs.noto-fonts-emoji; + name = "Noto Color Emoji"; + }; + sizes = { + applications = 13; + desktop = 13; + popups = 13; + terminal = 13; + }; + }; + + polarity = "dark"; + image = inputs.nixy-wallpapers + "/wallpapers/7pcmbp8pcg9e1.png"; + }; + +} diff --git a/themes/var/2025.nix b/themes/var/2025.nix new file mode 100644 index 0000000..81572d9 --- /dev/null +++ b/themes/var/2025.nix @@ -0,0 +1,18 @@ +{ + rounding = 10; + gaps-in = 8; + gaps-out = 8 * 2; + active-opacity = 1; + inactive-opacity = 0.85; + blur = true; + border-size = 3; + animation-speed = "fast"; # "fast" | "medium" | "slow" + fetch = "neofetch"; # "nerdfetch" | "neofetch" | "pfetch" | "none" + + bar = { + position = "top"; # "top" | "bottom" + transparent = true; + transparentButtons = false; + floating = true; + }; +}