From 29630bfc42b7d2b2744b528cb0ca211044331900 Mon Sep 17 00:00:00 2001 From: aristote Date: Mon, 28 Apr 2025 13:39:08 +0200 Subject: home: thunderbird: delete duplicate emails --- modules/home-manager/personal/programs/rofi.nix | 22 ++++++++++++++-------- .../home-manager/personal/programs/thunderbird.nix | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'modules/home-manager') diff --git a/modules/home-manager/personal/programs/rofi.nix b/modules/home-manager/personal/programs/rofi.nix index 414cf62..229a29e 100644 --- a/modules/home-manager/personal/programs/rofi.nix +++ b/modules/home-manager/personal/programs/rofi.nix @@ -1,13 +1,19 @@ -{ config, lib, pkgs, ... }: - { + config, + lib, + pkgs, + ... +}: { programs.rofi = { cycle = lib.mkDefault true; - theme = lib.mkIf (config.lib ? stylix) (lib.mkForce - (config.lib.stylix.colors { - template = builtins.readFile config.personal.home.dotfiles.rofi; - extension = ".rasi"; - })); - plugins = with pkgs; [ rofi-top rofi-calc rofi-emoji ]; + theme = + lib.mkIf (config.lib ? stylix) + (lib.mkForce + (config.lib.stylix.colors { + template = builtins.readFile config.personal.home.dotfiles.rofi; + extension = ".rasi"; + }) + .out); + plugins = with pkgs; [rofi-top rofi-calc rofi-emoji]; }; } diff --git a/modules/home-manager/personal/programs/thunderbird.nix b/modules/home-manager/personal/programs/thunderbird.nix index eb0f5dd..2a93f39 100644 --- a/modules/home-manager/personal/programs/thunderbird.nix +++ b/modules/home-manager/personal/programs/thunderbird.nix @@ -30,7 +30,7 @@ "calendar.view.visiblehours" = 16; "calendar.dayendhour" = 24; ## Duplicates - "mail.server.default.dup_action" = 3; # mark as read + "mail.server.default.dup_action" = 1; # delete ## Spam "mail.spam.manualMark" = true; # move manually marked-as-junk to junk folder }; -- cgit v1.2.3