small update
This commit is contained in:
@@ -115,7 +115,8 @@ if [ "${#files[@]}" -gt "1" ];then
|
|||||||
fi
|
fi
|
||||||
done <<< $(mabox-todo.sh listfiles)
|
done <<< $(mabox-todo.sh listfiles)
|
||||||
fi
|
fi
|
||||||
|
out2+=("^sep()")
|
||||||
|
out2+=("<b></b> Create <b>New TODO List</b> (file)...,mabox-todo.sh addfile && ${0} center")
|
||||||
out2+=("^sep(TODO List: ${prettyname})")
|
out2+=("^sep(TODO List: ${prettyname})")
|
||||||
out2+=("<big></big> Edit <b>${prettyname}</b>.txt in Text editor,xdg-open ${TODO_DIR}/${filename}.txt")
|
out2+=("<big></big> Edit <b>${prettyname}</b>.txt in Text editor,xdg-open ${TODO_DIR}/${filename}.txt")
|
||||||
|
|
||||||
@@ -124,7 +125,8 @@ out2+=("<big></big> Edit <b>${prettyname}</b>.txt in Text editor,xdg-open $
|
|||||||
if hash cherrytree 2>/dev/null
|
if hash cherrytree 2>/dev/null
|
||||||
then
|
then
|
||||||
if [[ -f "${TODO_DIR}/${filename}.ctb" ]];then
|
if [[ -f "${TODO_DIR}/${filename}.ctb" ]];then
|
||||||
out2+=("Edit notes,cherrytree ${TODO_DIR}/${filename}.ctb")
|
:
|
||||||
|
#out2+=("Edit notes,cherrytree ${TODO_DIR}/${filename}.ctb")
|
||||||
else
|
else
|
||||||
out2+=("<big></big> Add hierarchical notes to <b>${prettyname}</b> todolist (Cherrytree),mabox-todo.sh addnotes ${filename};${0}")
|
out2+=("<big></big> Add hierarchical notes to <b>${prettyname}</b> todolist (Cherrytree),mabox-todo.sh addnotes ${filename};${0}")
|
||||||
fi
|
fi
|
||||||
@@ -140,8 +142,7 @@ out2+=("<big></big> Add custom menu for <b>${prettyname}</b> todolist,mabo
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
out2+=("^sep()")
|
|
||||||
out2+=("<b></b> Create <b>New TODO List</b> (file)...,mabox-todo.sh addfile && ${0} center")
|
|
||||||
#out2+=(" ,^back()")
|
#out2+=(" ,^back()")
|
||||||
out2+=("^sep(Danger Zone)")
|
out2+=("^sep(Danger Zone)")
|
||||||
out2+=("<big></big> Delete <b>${prettyname}</b> todolist and all related files,^checkout(delproj)")
|
out2+=("<big></big> Delete <b>${prettyname}</b> todolist and all related files,^checkout(delproj)")
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ clearfilter(){
|
|||||||
sd "filter.*$" "filter=" ${CFG_FILE}
|
sd "filter.*$" "filter=" ${CFG_FILE}
|
||||||
}
|
}
|
||||||
addtask(){
|
addtask(){
|
||||||
task=$(yad --width=400 --center --border=40 --undecorated --no-buttons --close-on-unfocus --text-align=center --text "<big><b>Add new task...</b></big>\n <b>Enter</b> - add | <b>Esc</b> - abort" --entry --entry-text="Task description +Projest @Context" --ricon=gtk-clear)
|
task=$(yad --width=400 --center --border=40 --undecorated --no-buttons --close-on-unfocus --text-align=center --text "<big><b>Add new task...</b></big>\n <b>Enter</b> - add | <b>Esc</b> - abort" --entry --entry-text="Task description +Project @Context" --ricon=gtk-clear)
|
||||||
if [ ! -z "${task}" ];then
|
if [ ! -z "${task}" ];then
|
||||||
#notify-send.sh "okej" "${task}"
|
#notify-send.sh "okej" "${task}"
|
||||||
pass_to_todo_sh add "${task}"
|
pass_to_todo_sh add "${task}"
|
||||||
|
|||||||
Reference in New Issue
Block a user