2024-06-21 22:14:07 -04:00
|
|
|
{
|
|
|
|
config,
|
2024-07-18 21:05:35 -04:00
|
|
|
lib,
|
|
|
|
pkgs,
|
2024-06-21 22:14:07 -04:00
|
|
|
...
|
|
|
|
}: {
|
2024-06-26 22:13:02 -04:00
|
|
|
config = lib.mkIf config.ar.home.apps.nemo.enable {
|
2024-10-01 18:23:03 -04:00
|
|
|
home.packages = [pkgs.nemo];
|
2024-06-21 22:14:07 -04:00
|
|
|
|
|
|
|
dconf = {
|
|
|
|
enable = true;
|
2024-07-18 21:05:35 -04:00
|
|
|
|
2024-06-21 22:14:07 -04:00
|
|
|
settings = {
|
2024-07-09 18:40:48 -04:00
|
|
|
"org/nemo/preferences" = {
|
|
|
|
show-image-thumbnails = "always";
|
|
|
|
thumbnail-limit = lib.hm.gvariant.mkUint64 (100 * 1024 * 1024);
|
|
|
|
tooltips-in-icon-view = true;
|
|
|
|
tooltips-show-access-date = true;
|
|
|
|
tooltips-show-birth-date = true;
|
|
|
|
tooltips-show-file-type = true;
|
|
|
|
tooltips-show-mod-date = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
"org/nemo/preferences/menu-config" = {
|
|
|
|
background-menu-open-as-root =
|
|
|
|
!(config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable);
|
|
|
|
selection-menu-open-as-root =
|
|
|
|
!(config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable);
|
|
|
|
};
|
|
|
|
|
|
|
|
"org/nemo/plugins".disabled-actions =
|
|
|
|
lib.optionals
|
|
|
|
(config.ar.home.desktop.hyprland.enable || config.ar.home.desktop.sway.enable) [
|
|
|
|
"90_new-launcher.nemo_action"
|
|
|
|
"add-desklets.nemo_action"
|
|
|
|
"change-background.nemo_action"
|
|
|
|
"mount-archive.nemo_action"
|
|
|
|
"set-as-background.nemo_action"
|
|
|
|
"set-resolution.nemo_action"
|
|
|
|
];
|
2024-06-21 22:14:07 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|