Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taskw blocklet doesn't work well with deleted tasks #414

Open
mhalano opened this issue Aug 23, 2021 · 1 comment
Open

taskw blocklet doesn't work well with deleted tasks #414

mhalano opened this issue Aug 23, 2021 · 1 comment

Comments

@mhalano
Copy link

mhalano commented Aug 23, 2021

Expected behavior

When I delete a task, shouldn't show up in the blocklet anymore.

Actual behavior

The task was completed (actually deleted before completed) but keep showing up in the blocklet.

i3blocks config relevant to blocklet(s)

[taskw]
interval=5
TASKW_TF=true
TIMEW_TF=false
TIMEW_DESC_OVERRIDE=false
TASKW_MAX_LENGTH = 35
TASKW_NOTASK_MSG=--No Task--
TASKW_SORT_URGENCY=false
TASKW_PENDING_TF=false
TASKW_MAIN_FILTER="+ACTIVE"

Output of blocklet(s) when run from command line

test 2

Output of any relevant other commands that might help diagnostics

task 'test 2'
return no task

task +ACTIVE export
[
{"id":0,"description":"test 2","end":"20210823T001251Z","entry":"20210823T001050Z","modified":"20210823T001253Z","start":"20210823T001058Z","status":"deleted","uuid":"5f2710d7-1500-45f2-9781-b01cc6ac390a","urgency":4}
]

@mhalano
Copy link
Author

mhalano commented Aug 23, 2021

I think the solution would be to add a new -DELETED default filter together with +ACTIVE. It would fix that. I will add manually for now, but I'm afraid other people find this edge corner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant