Displaying current focus in i3
This is especially good for procrastinators since you'll constantly be reminded of what you should focus on and have no excuses to veer off into doing something else.
First, add a new block script under
~/.i3/blocks. Let's call it
It will simply output the content of the
/tmp/focus file if it exists.
Wire it into i3blocks by adding a section to
Next, we'll need a script that prompts us for input when we want to change the focus text:
Finally, we'll want to add a keybinding in
The end result looks something like this: