Adding local theme
This commit is contained in:
+2
-2
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user