From bb85e4e6cf854461fdccfabe7ad1aee1480da8d6 Mon Sep 17 00:00:00 2001 From: "info@data-pro.nu" Date: Mon, 16 Mar 2026 19:38:30 +0000 Subject: [PATCH] Adding local theme --- Droidnix/README.org | 4 ++-- Droidnix/generated/out_of_tree/core/theme.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Droidnix/README.org b/Droidnix/README.org index 88ab6ed8e..161ae883d 100644 --- a/Droidnix/README.org +++ b/Droidnix/README.org @@ -612,12 +612,12 @@ This sets audiosystem for this machine I use the [[https://catppuccin.com/][Catppuccin]] almost everywhere. The nix module integrates almost automatically everywhere (except gtk). You'll notice the color values in multiple places outside this as well. #+BEGIN_SRC nix :tangle generated/out_of_tree/core/theme.nix :noweb tangle :mkdirp yes :eval never-html -{ pkgs, ... }: +{ pkgs, flakeRoot, ... }: let catppuccin-mocha = pkgs.runCommand "catppuccin-mocha-theme" {} '' mkdir -p $out/share/themes - ln -s ${./assets/hyprland/themes/Catppuccin-Mocha-Standard-Blue-Dark} $out/share/themes/ + ln -s ${flakeRoot}/assets/hyprland/themes/Catppuccin-Mocha-Standard-Blue-Dark $out/share/themes/ ''; in { diff --git a/Droidnix/generated/out_of_tree/core/theme.nix b/Droidnix/generated/out_of_tree/core/theme.nix index 15bf40a64..4d89a6243 100644 --- a/Droidnix/generated/out_of_tree/core/theme.nix +++ b/Droidnix/generated/out_of_tree/core/theme.nix @@ -1,9 +1,9 @@ -{ pkgs, ... }: +{ pkgs, flakeRoot, ... }: let catppuccin-mocha = pkgs.runCommand "catppuccin-mocha-theme" {} '' mkdir -p $out/share/themes - ln -s ${./assets/hyprland/themes/Catppuccin-Mocha-Standard-Blue-Dark} $out/share/themes/ + ln -s ${flakeRoot}/assets/hyprland/themes/Catppuccin-Mocha-Standard-Blue-Dark $out/share/themes/ ''; in {