treewide: give mustache files correct file extensions (#946)

makes the filetype of the file more clear and makes it possible for
editorconfig (#945) to work for these files
This commit is contained in:
awwpotato 2025-03-02 15:48:43 -08:00 committed by GitHub
parent de4ee58990
commit 489833b201
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 12 additions and 10 deletions

View file

@ -8,7 +8,7 @@
# This theme is reused for yazi. Changes to the template
# will need to be applied to modules/yazi/hm.nix
themes."base16-stylix".src = config.lib.stylix.colors {
template = ./base16-stylix.mustache;
template = ./base16-stylix.tmTheme.mustache;
extension = ".tmTheme";
};

View file

@ -95,7 +95,7 @@ in
userChrome =
let
template = config.lib.stylix.colors {
template = ./userChrome.mustache;
template = ./userChrome.css.mustache;
extension = "css";
};
in

View file

@ -2,7 +2,7 @@
let
style = config.lib.stylix.colors {
template = ./template.mustache;
template = ./template.xml.mustache;
extension = "xml";
};

View file

@ -2,7 +2,7 @@
let
style = config.lib.stylix.colors {
template = ../gedit/template.mustache;
template = ../gedit/template.xml.mustache;
extension = "xml";
};
in

View file

@ -8,7 +8,7 @@
let
colorsScss = colors {
template = ./colors.mustache;
template = ./colors.scss.mustache;
extension = "scss";
};

View file

@ -10,7 +10,7 @@ let
cfg = config.stylix.targets.gtk;
baseCss = config.lib.stylix.colors {
template = ./gtk.mustache;
template = ./gtk.css.mustache;
extension = "css";
};

View file

@ -2,7 +2,7 @@
let
themeFile = config.lib.stylix.colors {
template = ./template.mustache;
template = ./template.toml.mustache;
extension = ".toml";
};
in

View file

@ -42,7 +42,7 @@
extension = ".kvconfig";
};
svg = config.lib.stylix.colors {
template = ./kvantum-svg.mustache;
template = ./kvantum.svg.mustache;
extension = "svg";
};
in
@ -88,7 +88,9 @@
(lib.mkIf (config.qt.style.name == "kvantum") {
"Kvantum/kvantum.kvconfig".source =
(pkgs.formats.ini { }).generate "kvantum.kvconfig"
{ General.theme = "Base16Kvantum"; };
{
General.theme = "Base16Kvantum";
};
"Kvantum/Base16Kvantum".source =
"${kvantumPackage}/share/Kvantum/Base16Kvantum";

View file

Before

Width:  |  Height:  |  Size: 150 KiB

After

Width:  |  Height:  |  Size: 150 KiB

Before After
Before After

View file

@ -23,7 +23,7 @@
# Reusing bat themes, since it's suggested in the stying guide
# https://yazi-rs.github.io/docs/configuration/theme#manager
syntect_theme = config.lib.stylix.colors {
template = ../bat/base16-stylix.mustache;
template = ../bat/base16-stylix.tmTheme.mustache;
extension = ".tmTheme";
};