summaryrefslogtreecommitdiff
path: root/modules/home-manager/personal/programs
diff options
context:
space:
mode:
authoraristote <quentin.aristote@irif.fr>2025-04-28 13:39:08 +0200
committeraristote <quentin.aristote@irif.fr>2025-04-28 14:18:55 +0200
commit29630bfc42b7d2b2744b528cb0ca211044331900 (patch)
tree0497f33045b97a2f82613c70a01c126564c16c2e /modules/home-manager/personal/programs
parentb7d0ea00dfb6d7db70450038b6e0430229bbec46 (diff)
home: thunderbird: delete duplicate emails
Diffstat (limited to 'modules/home-manager/personal/programs')
-rw-r--r--modules/home-manager/personal/programs/rofi.nix22
-rw-r--r--modules/home-manager/personal/programs/thunderbird.nix2
2 files changed, 15 insertions, 9 deletions
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
};