update qpost
This commit is contained in:
parent
e85ec216d3
commit
2342364b7c
|
@ -2,7 +2,7 @@ configuration {
|
|||
/*columns: 1;*/
|
||||
terminal: "alacritty";
|
||||
/*theme: "/home/joelchrono12/.config/rofi/themes/centered-nord.rasi";*/
|
||||
modi: "drun,calc:qalc,window,run,emoji";
|
||||
modi: "drun,calc:qalc,window,run";
|
||||
show-icons: false;
|
||||
icon-theme: "Flatery-Blue-Dark";
|
||||
}
|
||||
|
|
|
@ -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: fosstodon.org\nusername: joeligj12\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") -0600\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