memo: add mail-service.md

This commit is contained in:
2026-01-16 04:18:17 +01:00
parent 72ad195b5a
commit bda2762036
4 changed files with 448 additions and 17 deletions
+12 -13
View File
@@ -16,7 +16,7 @@ AllowShortFunctionsOnASingleLine: Inline
AllowShortLambdasOnASingleLine: All
BreakAfterReturnType: Automatic
# BreakAfterReturnType: All
BinPackArguments: false
@@ -37,21 +37,20 @@ FixNamespaceComments: true
IncludeBlocks: Regroup
SortIncludes: true
IncludeCategories:
- Regex: '^<ext/.*\.h>'
Priority: 2
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
- Regex: '^<ext/.*\.h>'
Priority: 2
- Regex: '^<.*\.h>'
Priority: 1
- Regex: '^<.*'
Priority: 2
- Regex: '.*'
Priority: 3
IndentWidth: 4
KeepEmptyLines:
AtEndOfFile: true
AtStartOfBlock: true
AtStartOfFile: false
KeepEmptyLinesAtTheStartOfBlocks: true
InsertNewlineAtEOF: true
MaxEmptyLinesToKeep: 1
@@ -2,9 +2,13 @@
# Description:
# Quick snippet of reflector.
#
# Note:
# Write the arguments (with '--' prefix) of reflector to /etc/xdg/reflector/reflector.conf
# and enable reflector.timer to update mirrorlist automaticly (once a week)
[ -z "$COUNTRY" ] && COUNTRY="Germany"
[ -z "$COUNTRY" ] && COUNTRY="Germany,Austria"
sudo cp -f /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak || exit 1
sudo cp -vf /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak || exit 1
sudo reflector --country "$COUNTRY" --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
sudo reflector --verbose --country "$COUNTRY" --latest 20 --protocol https --sort rate --save /etc/pacman.d/mirrorlist
@@ -1,7 +1,8 @@
{
"wallpaper": {
"dirs": [
"~/Pictures/backgrounds"
"~/Pictures/backgrounds",
"/media/Beta/壁纸/库/"
],
"excludes": [
"~/Pictures/backgrounds/nao-stars-crop-adjust-flop.jpg",