updated script
This commit is contained in:
parent
1807af2491
commit
4f3e563f47
|
@ -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/*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue