Skip to content

Singularity0x00/Journey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Journey

Persist

journey

Track Days automatically for X days of Y challenges

Make sure to install dependencies install gum "https://github.com/charmbracelet/gum?tab=readme-ov-file#installation"

Installation

git clone https://github.com/Singularity0x00/Journey.git
cd Journey
chmod +x journey

#INSTALL FOR USER
cp journey ~/.local/bin/

# INSTALL GLOBALLY
sudo cp journey /usr/bin/

Instruction

journey <days> <Challenge>
#OR
journey

This will create a config file at $HOME/.config/countdown/

To view tracker

journey -o

Add journey -o to shell config like .bashrc or config.fish to show tracker whenever terminal opens.

Customisation

This script takes colors from pywal .cache/wal directory if it exists. Otherwise feel free to change colors to your liking in print_default() function

print_default() {
    X=$(gum style \
      ....\
      --foreground "#f38ba8" \
      --border-foreground "#7287fd" \
      ...\
  )
    Y=$(gum style \
      .....\
      --foreground "#7287fd" \
      --border-foreground "#f38ba8" \
      ....\

Troubleshooting

Deleting .config/countdown/countdown.conf will fix most issues and can be written to manually.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages