small update

This commit is contained in:
2026-03-12 09:52:55 +01:00
parent b3a2e1f5dc
commit 21344c8748
2 changed files with 6 additions and 5 deletions

View File

@@ -85,7 +85,7 @@ clearfilter(){
sd "filter.*$" "filter=" ${CFG_FILE}
}
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
#notify-send.sh "okej" "${task}"
pass_to_todo_sh add "${task}"