disable long running command notifications

This commit is contained in:
Noah Masur 2023-04-03 20:35:30 -04:00
parent 61f26315d5
commit b5790a2795

View File

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