Format with nixfmt-rfc

This commit is contained in:
DashieTM 2024-08-25 19:10:41 +02:00
parent 8c9f699269
commit a90a9c3a8e
60 changed files with 1756 additions and 1039 deletions

View file

@ -1,4 +1,12 @@
{ lib, config, pkgs, options, inputs, ... }: {
{
lib,
config,
pkgs,
options,
inputs,
...
}:
{
options.mods = {
hyprland.anyrun = {
enable = lib.mkOption {
@ -10,8 +18,8 @@
};
};
config = lib.mkIf config.mods.hyprland.anyrun.enable
(lib.optionalAttrs (options ? programs.anyrun) {
config = lib.mkIf config.mods.hyprland.anyrun.enable (
lib.optionalAttrs (options ? programs.anyrun) {
programs.anyrun = {
enable = true;
config = {
@ -23,8 +31,12 @@
];
#position = "center";
hideIcons = false;
width = { fraction = 0.3; };
y = { fraction = 0.5; };
width = {
fraction = 0.3;
};
y = {
fraction = 0.5;
};
layer = "overlay";
hidePluginInfo = true;
closeOnClick = true;
@ -79,5 +91,6 @@
}
'';
};
});
}
);
}