From 2f50fd963d515d52301b615bf26ffe4de05032af Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Tue, 26 Dec 2023 17:17:50 +0300 Subject: td: switch to yad --- .local/bin/td | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin') diff --git a/.local/bin/td b/.local/bin/td index 5330644..695f351 100755 --- a/.local/bin/td +++ b/.local/bin/td @@ -1,20 +1,20 @@ #!/bin/bash -task_date=$(zenity --calendar --date-format=%Y-%m-%d) +task_date=$(yad --calendar --date-format=%Y-%m-%d) if [[ $? -ne 0 ]]; then notify-send "Cancelling..." "" --app-name="remind" --icon="dialog error" exit 0 fi -task_time=$(zenity --entry --text="enter time in xx:xx format" --entry-text="00:00") +task_time=$(yad --entry --text="enter time in xx:xx format" --entry-text="00:00") if [[ $? -ne 0 ]]; then notify-send "Cancelling..." "" --app-name="remind" --icon="dialog error" exit 0 fi -task_description=$(zenity --entry --text="enter description") +task_description=$(yad --entry --text="enter description") if [[ $? -ne 0 ]]; then notify-send "Cancelling..." "" --app-name="remind" --icon="dialog error" -- cgit v1.2.3-70-g09d2