From 7ff8b316007a3290268bc1abcb0e45dca96f66d5 Mon Sep 17 00:00:00 2001 From: Matthew_Cash Date: Tue, 17 Sep 2024 18:01:15 -0700 Subject: [PATCH] home/thunderbird: set view column order --- home/applications/thunderbird/settings.nix | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/home/applications/thunderbird/settings.nix b/home/applications/thunderbird/settings.nix index 468dc33..3a2f89a 100644 --- a/home/applications/thunderbird/settings.nix +++ b/home/applications/thunderbird/settings.nix @@ -1,3 +1,31 @@ +let + mkColumn = visible: ordinal: { inherit visible ordinal; }; + columns = { + selectCol = mkColumn false 1; + threadCol = mkColumn true 5; + flaggedCol = mkColumn true 7; + attachmentCol = mkColumn false 9; + subjectCol = mkColumn true 11; + unreadButtonColHeader = mkColumn false 3; + senderCol = mkColumn false 13; + recipientCol = mkColumn false 15; + correspondentCol = mkColumn true 17; + junkStatusCol = mkColumn false 19; + receivedCol = mkColumn false 21; + dateCol = mkColumn true 23; + statusCol = mkColumn false 25; + sizeCol = mkColumn false 27; + tagsCol = mkColumn false 29; + accountCol = mkColumn false 31; + priorityCol = mkColumn false 33; + unreadCol = mkColumn false 35; + totalCol = mkColumn false 37; + locationCol = mkColumn true 39; + idCol = mkColumn false 41; + deleteCol = mkColumn false 43; + }; +in + { "general.autoScroll" = true; @@ -11,4 +39,6 @@ "mailnews.emptyTrash.dontAskAgain" = true; "mailnews.display.html_as" = 3; "mailnews.start_page.enabled" = false; + "mailnews.database.global.views.conversation.columns" = columns; + "mailnews.database.global.views.global.columns" = columns; }