Compare commits

...

2 Commits

Author SHA1 Message Date
Noah Masur
c9ab46696d reenable mbsync timer with notmuch
fixes polybar mail indicator
2023-04-03 20:36:05 -04:00
Noah Masur
b5790a2795 disable long running command notifications 2023-04-03 20:35:30 -04:00
2 changed files with 7 additions and 2 deletions

View File

@ -27,6 +27,11 @@
home-manager.users.${config.user} = {
programs.mbsync = { enable = true; };
services.mbsync = lib.mkIf pkgs.stdenv.isLinux {
enable = true;
frequency = "*:0/5";
postExec = "${pkgs.notmuch}/bin/notmuch new";
};
services.imapnotify.enable = pkgs.stdenv.isLinux && config.physical;
programs.notmuch.enable = true;
accounts.email = {

View File

@ -1,4 +1,4 @@
{ config, lib, ... }: {
{ config, pkgs, lib, ... }: {
home-manager.users.${config.user}.programs.starship = {
enable = true;
@ -21,7 +21,7 @@
};
cmd_duration = {
min_time = 5000;
show_notifications = true;
show_notifications = if pkgs.stdenv.isLinux then false else true;
min_time_to_notify = 30000;
format = "[$duration]($style) ";
};