chore: add typos

main
sudo pacman -Syu 2024-07-22 18:26:41 +07:00
parent 3092a11b1e
commit edf76020a4
4 changed files with 24 additions and 0 deletions

View File

@ -110,6 +110,10 @@ url = "https://raw.githubusercontent.com/catppuccin/newsboat/main/themes/dark"
internal = "data/sioyek/prefs_user.config"
external = "~/.config/sioyek/prefs_user.config"
[[apps.typos.paths]]
internal = "data/typos/typos.toml"
external = "~/.config/typos/typos.toml"
[[apps.daktilo.paths]]
internal = "data/daktilo/daktilo.toml"
external = "~/.config/daktilo/daktilo.toml"

View File

@ -39,3 +39,9 @@ https://michael.stapelberg.ch/feed.xml
https://mitchellh.com/feed.xml
https://research.swtch.com/feed.atom
https://stephango.com/feed.xml
https://nyaa.si/?f=0&c=1_2&q=doraemon+movie&page=rss "~Doraemon movie"
https://nyaa.si/?f=0&c=1_2&q=conan+movie&page=rss "~Conan movie"
https://nyaa.si/?f=0&c=3_1&q=Detective+Conan&page=rss "~Conan manga"
https://nyaa.si/?f=0&c=3_1&q=one+piece&page=rss "~One Piece manga"
https://nyaa.si/?f=0&c=3_1&q=berserk "~Berserk manga"

9
data/typos/typos.toml Normal file
View File

@ -0,0 +1,9 @@
[files]
extend-exclude = [
"CHANGELOG.md",
"*/generated/*",
"generated/*",
"*/external/proto/*",
"external/proto/*",
"*.html",
]

View File

@ -136,6 +136,11 @@ if command -v fnm &>/dev/null; then
eval "$(fnm env --use-on-cd)"
fi
# https://github.com/crate-ci/typos
if command -v typos &>/dev/null; then
alias typo="typos --config ~/.config/typos/typos.toml"
fi
# https://github.com/orhun/daktilo
if command -v daktilo &>/dev/null; then
export DAKTILO_CONFIG="$HOME/.config/daktilo/daktilo.toml"