Skip to content

egasimus/dop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dop

The anticipation of most types of rewards increases the level of dopamine in the brain.

Usage

Null case:

$ dop
No actions registered.

For more info:
  dop -h

Do a new thing:

$ dop doomscroll
New action registered: "doomscroll".

If this is something you want to do more often:
  dop -g doomscroll

If this is something you want to do less often:
  dop -b doomscroll

For more info:
  dop -h

Set the valence of a thing:

$ dop -b doomscroll
Valence of action "doomscroll" set to "bad".

Dop will discourage you from taking this action.

Set the valence of a new thing:

$ dop -g meditate
New action registered: "meditate".

Valence of action "meditate" set to "good".

Dop will encourage you to take this action.

Show status:

$ dop

| Action     | Last   | Frequency   |
| ---------- | ------ | ----------- |
| meditate   | 1m ago | no data yet |
| doomscroll | 1m ago | no data yet |

For more info:
  dop -h

Configuration

Configuration is stored in ~/.config/dop/dop.toml, in the following format:

[actions.meditate]
good = true

[actions.doomscroll]
bad = true

Data is stored in ~/.local/share/dop/<ACTION>.ndjson as one timestamp per line.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published