Use alejandra formatter / fix warnings

This commit is contained in:
DashieTM 2025-02-15 16:23:22 +01:00
parent c5b1041bbb
commit 693d4e3c70
70 changed files with 1424 additions and 1547 deletions

View file

@ -5,8 +5,7 @@
options,
inputs,
...
}:
{
}: {
options.mods = {
hyprland = {
anyrun = {
@ -25,8 +24,8 @@
'';
};
customConfig = lib.mkOption {
default = { };
example = { };
default = {};
example = {};
type = with lib.types; attrsOf anything;
description = ''
Custom anyrun configuration.
@ -63,7 +62,8 @@
programs.anyrun = {
enable = true;
config =
if config.mods.hyprland.anyrun.useDefaultConfig then
if config.mods.hyprland.anyrun.useDefaultConfig
then
{
plugins = [
inputs.anyrun.packages.${pkgs.system}.applications
@ -84,15 +84,15 @@
closeOnClick = true;
}
// config.mods.hyprland.anyrun.customConfig
else
config.mods.hyprland.anyrun.customConfig;
else config.mods.hyprland.anyrun.customConfig;
extraCss =
if config.mods.hyprland.anyrun.useDefaultCss then
if config.mods.hyprland.anyrun.useDefaultCss
then
''
#window {
border-radius: 10px;
background-color: none;
background-color: none;
}
box#main {
@ -138,8 +138,7 @@
}
''
+ config.mods.hyprland.anyrun.customCss
else
config.mods.hyprland.anyrun.customCss;
else config.mods.hyprland.anyrun.customCss;
};
}
);