updated script

This commit is contained in:
joelchrono12 2022-12-06 11:57:36 -06:00
parent 1807af2491
commit 4f3e563f47
Signed by: chrono
GPG Key ID: E23D9C7FA57497A6
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
stow_home/nvim/.config/nvim/autoload/plugged/*
stow_home/newsboat/.config/newsboat/.rss/cache.db
stow_home/tut/.config/tut/accounts.toml
stow_home/newsboat/.config/newsboat/.rss/*

View File

@ -15,7 +15,7 @@ while [ $num = 0 ]; do
if [[ $choice = "Edit file" ]]; then
touch $path/$filename.md
echo -e "---\ntitle: $title\nheader: $title\ndescription: $description\ntags: $tags\npermalink: /blog/$filen/\nlayout: post\ndate: $today $(date +"%T") -0500\nhost: benign.town\nusername: joel\ncom_id: idcomments\n---">> $path/$filename.md
echo -e "---\ntitle: $title\nheader: $title\ndescription: $description\ntags: $tags\npermalink: /blog/$filen/\nlayout: post\ndate: $today $(date +"%T") -0500\nhost: fosstodon.org\nusername: joel\ncom_id: idcomments\n---">> $path/$filename.md
num=1
alacritty -e nvim $path/$filename.md & disown
#cp $path/$filename.md ~/Documents