trying stylix
This commit is contained in:
+4
-23
@@ -200,7 +200,7 @@ outputs =
|
||||
modules = [
|
||||
# theming engine
|
||||
stylix.nixosModules.stylix
|
||||
# Importing Catppuccino mocha
|
||||
# Importing theme file
|
||||
./generated/out_of_tree/core/theme.nix
|
||||
# Import machine-specific configurations
|
||||
./generated/out_of_tree/machines/traveldroid/top.nix
|
||||
@@ -621,31 +621,12 @@ 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, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
catppuccin-mocha = pkgs.runCommand "catppuccin-mocha-theme" {} ''
|
||||
mkdir -p $out/share/themes
|
||||
ln -s ${flakeRoot}/assets/hyprland/themes/Catppuccin-Mocha-Standard-Blue-Dark $out/share/themes/
|
||||
'';
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [
|
||||
catppuccin-mocha
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||
GTK_ICON_THEME = "Papirus-Dark";
|
||||
GTK_ENABLE_DARK_MODE = "1";
|
||||
};
|
||||
|
||||
catppuccin = {
|
||||
programs.stylix = {
|
||||
enable = true;
|
||||
flavor = "mocha";
|
||||
accent = "blue";
|
||||
gtk = {
|
||||
icon.enable = true;
|
||||
settings = {
|
||||
theme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
|
||||
};
|
||||
cursors.enable = true;
|
||||
};
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
+1
-1
@@ -56,7 +56,7 @@ outputs =
|
||||
modules = [
|
||||
# theming engine
|
||||
stylix.nixosModules.stylix
|
||||
# Importing Catppuccino mocha
|
||||
# Importing theme file
|
||||
./generated/out_of_tree/core/theme.nix
|
||||
# Import machine-specific configurations
|
||||
./generated/out_of_tree/machines/traveldroid/top.nix
|
||||
|
||||
@@ -1,29 +1,10 @@
|
||||
{ pkgs, flakeRoot, ... }:
|
||||
|
||||
let
|
||||
catppuccin-mocha = pkgs.runCommand "catppuccin-mocha-theme" {} ''
|
||||
mkdir -p $out/share/themes
|
||||
ln -s ${flakeRoot}/assets/hyprland/themes/Catppuccin-Mocha-Standard-Blue-Dark $out/share/themes/
|
||||
'';
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [
|
||||
catppuccin-mocha
|
||||
];
|
||||
|
||||
environment.sessionVariables = {
|
||||
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||
GTK_ICON_THEME = "Papirus-Dark";
|
||||
GTK_ENABLE_DARK_MODE = "1";
|
||||
};
|
||||
|
||||
catppuccin = {
|
||||
programs.stylix = {
|
||||
enable = true;
|
||||
flavor = "mocha";
|
||||
accent = "blue";
|
||||
gtk = {
|
||||
icon.enable = true;
|
||||
settings = {
|
||||
theme = "${flakeRoot}/assets/system/theming/stylix/catppuccin-mocha.yaml";
|
||||
};
|
||||
cursors.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user