summaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorYigit Sever2023-12-26 17:17:50 +0300
committerYigit Sever2023-12-26 17:17:50 +0300
commit2f50fd963d515d52301b615bf26ffe4de05032af (patch)
tree671a95a24955eb854f1aa1aa7e707790268298e1 /.local/bin
parentb5b98ee9d410a1ab44c4a52655a21e88d1cb7a06 (diff)
downloaddotfiles-2f50fd963d515d52301b615bf26ffe4de05032af.tar.gz
dotfiles-2f50fd963d515d52301b615bf26ffe4de05032af.tar.bz2
dotfiles-2f50fd963d515d52301b615bf26ffe4de05032af.zip
td: switch to yad
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/td6
1 files changed, 3 insertions, 3 deletions
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 @@
1#!/bin/bash 1#!/bin/bash
2 2
3task_date=$(zenity --calendar --date-format=%Y-%m-%d) 3task_date=$(yad --calendar --date-format=%Y-%m-%d)
4 4
5if [[ $? -ne 0 ]]; then 5if [[ $? -ne 0 ]]; then
6 notify-send "Cancelling..." "" --app-name="remind" --icon="dialog error" 6 notify-send "Cancelling..." "" --app-name="remind" --icon="dialog error"
7 exit 0 7 exit 0
8fi 8fi
9 9
10task_time=$(zenity --entry --text="enter time in xx:xx format" --entry-text="00:00") 10task_time=$(yad --entry --text="enter time in xx:xx format" --entry-text="00:00")
11 11
12if [[ $? -ne 0 ]]; then 12if [[ $? -ne 0 ]]; then
13 notify-send "Cancelling..." "" --app-name="remind" --icon="dialog error" 13 notify-send "Cancelling..." "" --app-name="remind" --icon="dialog error"
14 exit 0 14 exit 0
15fi 15fi
16 16
17task_description=$(zenity --entry --text="enter description") 17task_description=$(yad --entry --text="enter description")
18 18
19if [[ $? -ne 0 ]]; then 19if [[ $? -ne 0 ]]; then
20 notify-send "Cancelling..." "" --app-name="remind" --icon="dialog error" 20 notify-send "Cancelling..." "" --app-name="remind" --icon="dialog error"