Adding local theme

This commit is contained in:
henrov committed 2026-03-16 19:38:30 +00:00
1 parent 13a8f5e6fe
commit bb85e4e6cf
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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). 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. 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 #+BEGIN_SRC nix :tangle generated/out_of_tree/core/theme.nix :noweb tangle :mkdirp yes :eval never-html
{ pkgs, ... }: { pkgs, flakeRoot, ... }:
let let
catppuccin-mocha = pkgs.runCommand "catppuccin-mocha-theme" {} '' catppuccin-mocha = pkgs.runCommand "catppuccin-mocha-theme" {} ''
mkdir -p $out/share/themes 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 in
{ {
@@ -1,9 +1,9 @@
{ pkgs, ... }: { pkgs, flakeRoot, ... }:
let let
catppuccin-mocha = pkgs.runCommand "catppuccin-mocha-theme" {} '' catppuccin-mocha = pkgs.runCommand "catppuccin-mocha-theme" {} ''
mkdir -p $out/share/themes 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 in
{ {