personal dotfiles: my Hyprland config
-rw-r--r--.config/aerc/aerc.conf43
-rw-r--r--.config/micro/settings.json3
2 files changed, 37 insertions, 9 deletions
diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf
index 10cb229..e2653ba 100644
--- a/.config/aerc/aerc.conf
+++ b/.config/aerc/aerc.conf
@@ -40,11 +40,38 @@
[ui]
#
-# Describes the format for each row in a mailbox view. This field is compatible
-# with mutt's printf-like syntax.
+# Describes the format for each row in a mailbox view. This is a comma
+# separated list of column names with an optional align and width suffix. After
+# the column name, one of the '<' (left), ':' (center) or '>' (right) alignment
+# characters can be added (by default, left) followed by an optional width
+# specifier. The width is either an integer representing a fixed number of
+# characters, or a percentage between 1% and 99% representing a fraction of the
+# terminal width. It can also be one of the '*' (auto) or '=' (fit) special
+# width specifiers. Auto width columns will be equally attributed the remaining
+# terminal width. Fit width columns take the width of their contents. If no
+# width specifier is set, '*' is used by default.
#
-# Default: %-20.20D %-17.17n %Z %s
-index-format=%-9.9D %-6.6n %s
+# Default: date<20,name<17,flags>4,subject<*
+index-columns=date<10,name<17,flags>4,subject<*
+
+#
+# Each name in index-columns must have a corresponding column-$name setting.
+# All column-$name settings accept golang text/template syntax. See
+# aerc-templates(7) for available template attributes and functions.
+#
+# Default settings
+#column-date={{.DateAutoFormat .Date.Local}}
+#column-name={{index (.From | names) 0}}
+#column-flags={{.Flags | join ""}}
+#column-subject={{.ThreadPrefix}}{{.Subject}}
+
+#
+# String separator inserted between columns. When the column width specifier is
+# an exact number of characters, the separator is added to it (i.e. the exact
+# width will be fully available for the column contents).
+#
+# Default: " "
+#column-separator=" "
#
# See time.Time#Format at https://godoc.org/time#Time.Format
@@ -398,12 +425,12 @@ address-book-cmd=grep -i '%s' /home/user/.config/aerc/contacts.tsv
# against (non-case-sensitive) and a comma, e.g. subject,text will match a
# subject which contains "text". Use header,~regex to match against a regex.
#
-text/plain=colorize -v theme=terminal
+text/plain=plaintext
text/calendar=calendar
-message/delivery-status=colorize -v theme=terminal
-message/rfc822=colorize -v theme=terminal
+message/delivery-status=cat
+message/rfc822=cat
#text/html=pandoc -f html -t plain | colorize
-text/html=html | colorize -v theme=terminal
+text/html=html
#text/*=bat -fP --file-name="$AERC_FILENAME"
#application/x-sh=bat -fP -l sh
image/*=catimg -w $(tput cols) -
diff --git a/.config/micro/settings.json b/.config/micro/settings.json
index e9a05fb..3e0e805 100644
--- a/.config/micro/settings.json
+++ b/.config/micro/settings.json
@@ -2,5 +2,6 @@
"autoclose": false,
"colorscheme": "simple",
"parsecursor": true,
- "softwrap": true
+ "softwrap": true,
+ "tabsize": 2
}