refactor(treewide): format with alejandra
This commit is contained in:
parent
7fefb94400
commit
61cef505da
216 changed files with 5995 additions and 3969 deletions
|
|
@ -1,12 +1,15 @@
|
|||
{ config, pkgs, inputs, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (inputs.nix-colors.lib-contrib { inherit pkgs; }) gtkThemeFromScheme;
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs.nix-colors.lib-contrib {inherit pkgs;}) gtkThemeFromScheme;
|
||||
inherit (lib) mkIf;
|
||||
cfg = config.ooknet.gtk;
|
||||
in
|
||||
{
|
||||
config = mkIf cfg.enable (rec {
|
||||
in {
|
||||
config = mkIf cfg.enable rec {
|
||||
gtk = {
|
||||
enable = true;
|
||||
font = {
|
||||
|
|
@ -15,7 +18,7 @@ in
|
|||
};
|
||||
theme = {
|
||||
name = config.colorscheme.slug;
|
||||
package = gtkThemeFromScheme { scheme = config.colorscheme; };
|
||||
package = gtkThemeFromScheme {scheme = config.colorscheme;};
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
|
|
@ -30,6 +33,5 @@ in
|
|||
"Net/IconThemeName" = gtk.iconTheme.name;
|
||||
};
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue