index.md - sites - public wiki contents of suckless.org
HTML git clone git://git.suckless.org/sites
DIR Log
DIR Files
DIR Refs
---
index.md (1156B)
---
1 locktagsfor
2 ===========
3
4 Description
5 -----------
6
7 To reduce procrastination and focus on individual tasks in workflows
8 where multiple projects are open in disjoint tag sets, this patch
9 enables users to lock their currently selected tags for some duration
10 and force them to focus on what is currently shown on their screen.
11
12 The patch retains all WM functionality that does not change tags,
13 especially multi-monitor setups and layout changes.
14
15 Of course it does not support you at all if you procrastinate
16 away from your computer or just open new unrelated windows.
17 Forbidding the latter would be much harder and too restrictive
18 from the perspective of the patch author.
19
20 To use this patch add a shortcut to your config.h.
21 E.g., to lock tags for 300 seconds via MOD+F1, add
22 `{ MODKEY, XK_F1, locktagsfor, {.ui = 300 } }`
23
24 Lastly, if you notice (you will at some point) that the forced
25 lock hampers your productivity, find the `#if` to enable a
26 way to break out from the lock.
27
28 Download
29 --------
30 * [dwm-locktagsfor-20210928-3465be.diff](dwm-locktagsfor-20210928-3465be.diff)
31
32 Authors
33 -------
34 * v4hn - `<me at v4hn dot de>`
35
36 Feedback is more than welcome :-)