diff --git a/home/.config/alacritty/alacritty.yml b/home/.config/alacritty/alacritty.yml
index 75313a6..c84dcad 100644
--- a/home/.config/alacritty/alacritty.yml
+++ b/home/.config/alacritty/alacritty.yml
@@ -150,7 +150,7 @@ font:
#style: Bold Italic
# Point size
- size: 11.0
+ size: 7.0
# Offset is the extra space around each character. `offset.y` can be thought
# of as modifying the line spacing, and `offset.x` as modifying the letter
diff --git a/home/.config/waybar/config b/home/.config/waybar/config
index df69a2c..8319ccf 100644
--- a/home/.config/waybar/config
+++ b/home/.config/waybar/config
@@ -65,7 +65,7 @@
},
"clock": {
"tooltip-format": "{:%Y %B}\n{calendar}",
- "format": "{:%m/%d/%y %H:%M}"
+ "format": "{:%m/%d/%y %H:%M}"
},
"cpu": {
"format": "{usage}% ",
diff --git a/home/.zshrc.d/notes.sh b/home/.zshrc.d/notes.sh
index fee0ea5..c7b539c 100755
--- a/home/.zshrc.d/notes.sh
+++ b/home/.zshrc.d/notes.sh
@@ -56,6 +56,16 @@ notes() {
echo -e "# $(date -d "@${NOW}" +'%a %d %b %Y')\n\n## todo\n\n" > "${FILE_PATH}"
fi
- "${EDITOR:-vim}" "${FILE_PATH}"
+ local -r EDITOR="${EDITOR:-vim}"
+ local EDITOR_OPTIONS=()
+
+ if [[ "${EDITOR}" =~ 'vim$' ]]; then
+ EDITOR_OPTIONS=(
+ '-c'
+ 'set spell'
+ )
+ fi
+
+ "${EDITOR}" "${EDITOR_OPTIONS[@]}" "${FILE_PATH}"
)
}