From 61830ffe71adbf9f70222f435b773f9e21b14d22 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Thu, 27 Mar 2025 15:40:04 +0100 Subject: [PATCH] edit config Former-commit-id: 67d14dbb44cdb806d6bf3634b2b8aa8769338a8c --- home/system/hyprland/default.nix | 2 - hosts/laptop/home.nix | 1 - hosts/laptop/variables.nix | 2 +- themes/blue.nix | 93 -------------------------------- 4 files changed, 1 insertion(+), 97 deletions(-) delete mode 100644 themes/blue.nix diff --git a/home/system/hyprland/default.nix b/home/system/hyprland/default.nix index c1632d1..b7bc952 100644 --- a/home/system/hyprland/default.nix +++ b/home/system/hyprland/default.nix @@ -62,7 +62,6 @@ in { ]; env = [ - "XDG_SESSION_TYPE,wayland" "XDG_CURRENT_DESKTOP,Hyprland" "MOZ_ENABLE_WAYLAND,1" "ANKI_WAYLAND,1" @@ -82,7 +81,6 @@ in { "WLR_BACKEND,vulkan" "WLR_RENDERER,vulkan" "WLR_NO_HARDWARE_CURSORS,1" - "XDG_SESSION_TYPE,wayland" "SDL_VIDEODRIVER,wayland" "CLUTTER_BACKEND,wayland" "AQ_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1" # CHANGEME: Related to the GPU diff --git a/hosts/laptop/home.nix b/hosts/laptop/home.nix index e0cd179..e130c63 100644 --- a/hosts/laptop/home.nix +++ b/hosts/laptop/home.nix @@ -30,7 +30,6 @@ ../../home/system/hyprpanel ../../home/system/hyprpaper ../../home/system/wofi - # ../../home/system/batsignal # Now with-in hyprpanel ../../home/system/zathura ../../home/system/mime ../../home/system/udiskie diff --git a/hosts/laptop/variables.nix b/hosts/laptop/variables.nix index 220b8a6..44b5f79 100644 --- a/hosts/laptop/variables.nix +++ b/hosts/laptop/variables.nix @@ -1,7 +1,7 @@ { config, lib, ... }: { imports = [ # Choose your theme here: - ../../themes/blue.nix + ../../themes/nixy.nix ]; config.var = { diff --git a/themes/blue.nix b/themes/blue.nix deleted file mode 100644 index fcece41..0000000 --- a/themes/blue.nix +++ /dev/null @@ -1,93 +0,0 @@ -{ lib, pkgs, config, ... }: { - - options.theme = lib.mkOption { - type = lib.types.attrs; - default = { - rounding = 8; - gaps-in = 10; - gaps-out = 10 * 2; - active-opacity = 0.92; - inactive-opacity = 0.88; - blur = true; - border-size = 2; - animation-speed = "fast"; # "fast" | "medium" | "slow" - fetch = "none"; # "nerdfetch" | "neofetch" | "pfetch" | "none" - textColorOnWallpaper = - config.lib.stylix.colors.base06; # Color of the text displayed on the wallpaper (Lockscreen, display manager, ...) - - bar = { # Hyprpanel - position = "top"; # "top" | "bottom" - transparent = true; - transparentButtons = false; - floating = true; - }; - }; - description = "Theme configuration options"; - }; - - config.stylix = { - enable = true; - - # See https://tinted-theming.github.io/tinted-gallery/ for more schemes - base16Scheme = { - base00 = "14171b"; # Default Background - base01 = - "0f1215"; # Lighter Background (Used for status bars, line number and folding marks) - base02 = "313244"; # Selection Background - base03 = "45475a"; # Comments, Invisibles, Line Highlighting - base04 = "585b70"; # Dark Foreground (Used for status bars) - base05 = "dee1e6"; # 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 = - "BB96F5"; # 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 = { - name = "phinger-cursors-light"; - package = pkgs.phinger-cursors; - size = 20; - }; - - fonts = { - monospace = { - package = pkgs.nerd-fonts.jetbrains-mono; - name = "JetBrains Mono Nerd Font"; - }; - sansSerif = { - package = pkgs.source-sans-pro; - name = "Source Sans Pro"; - }; - serif = config.stylix.fonts.sansSerif; - emoji = { - package = pkgs.noto-fonts-emoji; - name = "Noto Color Emoji"; - }; - sizes = { - applications = 13; - desktop = 13; - popups = 13; - terminal = 13; - }; - }; - - polarity = "dark"; - image = pkgs.fetchurl { - url = - "https://raw.githubusercontent.com/anotherhadi/nixy-wallpapers/refs/heads/main/wallpapers/studio.png"; - sha256 = "sha256-+YUsGNHsgiFW8y7n9HYLdf/qWlNXyQAOGaAQSIeptsY="; - }; - }; -}