diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-28 19:03:01 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-06-28 19:03:01 +0900 |
| commit | cbd1d349a511da7a861540a5d6ea954d4d06871b (patch) | |
| tree | 92b932d351a9474e7fd0f12c6c973274daaaa0d9 /ar/.local/bin/opentasktui | |
| parent | 74cb5de14fc06fe97b6fc306f6176f7d6b467b6b (diff) | |
updates
Diffstat (limited to 'ar/.local/bin/opentasktui')
| -rwxr-xr-x | ar/.local/bin/opentasktui | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ar/.local/bin/opentasktui b/ar/.local/bin/opentasktui index fa9ec5c..1db6bef 100755 --- a/ar/.local/bin/opentasktui +++ b/ar/.local/bin/opentasktui @@ -4,7 +4,7 @@ current_session=$(tmux display-message -p '#S') # Parse the task description from the argument -TASK_DESCRIPTION="$1" +task_description="$1" # Create a new tmux session named 'new-task-session' and run 'tui -r current' tmux new-session -d -s new-task-session "taskwarrior-tui -r current" @@ -13,7 +13,7 @@ tmux new-session -d -s new-task-session "taskwarrior-tui -r current" sleep 0.1 # Send the keystrokes needed to filter tasks by description to the target pane -tmux send-keys -t new-task-session:1.1 "/description:$TASK_DESCRIPTION" C-m +tmux send-keys -t new-task-session:1.1 "/description:$task_description" C-m # Attach to the new session tmux switch-client -t new-task-session |
