diff --git a/rofi-task.sh b/rofi-task.sh index d7185fd..aac1ca2 100755 --- a/rofi-task.sh +++ b/rofi-task.sh @@ -118,7 +118,9 @@ ID var: ${RED}${ID}${RESET}." pkill --full -- "sleep 60" ## Stop the selected task and exit - task "${ID}" stop >/dev/null && exit 0 + task "${ID}" stop >/dev/null \ + && rm --force -- ~/.task/.current.task \ + && exit 0 } # }}} select_task() { # {{{