While one multitasks. Deciding whether something holds relevance or not is exausting when one uses any desktop enviroment.
I made a script that changes the opacity of Xournal++. If the cursor is moving, the window is visible. If not, the window is hidden.