Added image example

master
Steven Saus 3 years ago
parent ae3e3bfa92
commit dd31738ac7
  1. 2
      README.md
  2. BIN
      yad-todo.png
  3. 2
      yad-todo.sh

@ -8,7 +8,7 @@ or inaccurate!
## yad-todo.sh
Uses [yad](https://smokey01.com/yad/) to present a simple GUI for adding
entries to todo.txt file.
entries to todo.txt file. See the yad-todo.png file for what it might look like.
## kpf.sh

Binary file not shown.

After

Width:  |  Height:  |  Size: 157 KiB

@ -27,7 +27,7 @@ contexts=$(echo " \!${contexts::-2}")
priority=" \!A\!B\!C\!D\!E\!F\!G\!H\!I\!J\!K\!L\!M\!N\!O\!P\!Q\!R\!S\!T\!U\!V\!W\!X\!Y\!Z"
blankentry=" \!"
OutString=$(yad --form --date-format="%Y:%m:%d" --width=400 --center --window-icon=gtk-info --borders 3 --field="Task" New_Task --field="Context:CBE" ${contexts} --field="Project:CBE" ${projects} --field="Priority:CBE" ${priority} --field="Due Date::DT" )
OutString=$(yad --form --title="todo.txt entry" --date-format="%Y:%m:%d" --width=400 --center --window-icon=gtk-info --borders 3 --field="Task" New_Task --field="Context:CBE" ${contexts} --field="Project:CBE" ${projects} --field="Priority:CBE" ${priority} --field="Due Date::DT" )
NewTask=$(echo "$OutString" | awk -F '|' '{print $1}')

Loading…
Cancel
Save