work between tasks of workgroup but fails otherwise

This commit is contained in:
buenosairesam
2025-05-13 08:29:26 -03:00
parent 58fecc79c0
commit a3e3e6a565
2 changed files with 11 additions and 30 deletions

View File

@@ -92,9 +92,13 @@ while True:
# if current_task in work_task_ids and current_task != current_work_task: # if current_task in work_task_ids and current_task != current_work_task:
if current_task not in work_task_ids: if current_task not in work_task_ids:
# Enforce work task if current task is not in workspace
if current_task != current_work_task:
current_task = current_work_task current_task = current_work_task
state.save("current", task=current_task) state.save("current", task=current_task)
task.db_to_file_as_is(None) task.db_to_file_as_is(None)
elif current_task != current_work_task:
# Update work state when switching to a different valid task
state.update_work_state(work_desktops[current_workspace], current_task) state.update_work_state(work_desktops[current_workspace], current_task)
# regular flow # regular flow

View File

@@ -1,37 +1,14 @@
work work
default |ffbe198e default |ffbe198e *
dm |77532dd4 * dm |77532dd4
vhs |c851ce32 vhs |c851ce32
main algorithm |f5dc761b
dlt |b4378ac5 dlt |b4378ac5
think think
lectura lectura
guitarra guitarra
@@ -47,7 +24,7 @@ think
memoria |1dc8a7c2 memoria |1dc8a7c2
video video
blender blender |45d30f09
motion graphics motion graphics
unreal unreal
houdini houdini