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:
parent
de4ee58990
commit
489833b201
16 changed files with 12 additions and 10 deletions
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ in
|
|||
userChrome =
|
||||
let
|
||||
template = config.lib.stylix.colors {
|
||||
template = ./userChrome.mustache;
|
||||
template = ./userChrome.css.mustache;
|
||||
extension = "css";
|
||||
};
|
||||
in
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
let
|
||||
style = config.lib.stylix.colors {
|
||||
template = ./template.mustache;
|
||||
template = ./template.xml.mustache;
|
||||
extension = "xml";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
let
|
||||
style = config.lib.stylix.colors {
|
||||
template = ../gedit/template.mustache;
|
||||
template = ../gedit/template.xml.mustache;
|
||||
extension = "xml";
|
||||
};
|
||||
in
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
let
|
||||
colorsScss = colors {
|
||||
template = ./colors.mustache;
|
||||
template = ./colors.scss.mustache;
|
||||
extension = "scss";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ let
|
|||
cfg = config.stylix.targets.gtk;
|
||||
|
||||
baseCss = config.lib.stylix.colors {
|
||||
template = ./gtk.mustache;
|
||||
template = ./gtk.css.mustache;
|
||||
extension = "css";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
let
|
||||
themeFile = config.lib.stylix.colors {
|
||||
template = ./template.mustache;
|
||||
template = ./template.toml.mustache;
|
||||
extension = ".toml";
|
||||
};
|
||||
in
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 150 KiB After Width: | Height: | Size: 150 KiB |
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue