Skip to content

shombando/streak

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Streak

This Emacs Lisp package provides streak-mode, a minor mode for tracking some daily streak. Exercising? Learning a language? Track your success in your mode line!

Installation

Instructions for Vanilla Emacs needed.

Note: this package requires at least Emacs 27.1

Doom Emacs

Place the following in your packages.el:

(package! streak
  :recipe (:host github :repo "fosskers/streak"))

And make sure to run doom sync -u. Then in your config.el:

(require 'streak)
(streak-mode)

This will start streak-mode upon startup.

Usage

streak-mode will automatically initialize the “streak file” the first time it is ran. Once you’ve started a streak, it will increment (in the mode line) automatically day by day.

Otherwise, consider these functions for more manual control:

  • streak-reset: Reset your streak, with “now” as the new starting point.
  • streak-increment: Increase your streak by 24 hours worth.
  • streak-decrement: The opposite of the above.
  • streak-update: Reread the streak file and manually update the mode line.

About

A minor mode for Emacs to track a streak.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Emacs Lisp 100.0%