• Stars
    star
    315
  • Rank 128,860 (Top 3 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Reminds you to drink water - on your terminal.

Thirsty

zsh/bash script to remind you to drink water.

If you're like me and you spend a lot of time programming with the command line open, chances are that you forget about everything for hours, which includes drinking water. At the end of the day I used to realise that I had not consumed enough water. Hence I created a bash/zsh script to remind me to drink water right on my command line.

How to use

  1. Copy the thirsty.sh file and paste it in your zshrc or bashrc or theme, etc.
  2. In your zshrc/theme/bashrc locate PROMPT='$(some_function)' or PROMPT_COMMAND='$(some_function)' for bash and add drink_water inside that function. (This will be the case if you're using a theme)
  3. If you can't locate PROMPT, then just add PROMPT='$(drink_water)' or PROMPT_COMMAND='$(drink_water)' for bash in the file.
  4. Set your time interval in the variable WATER_TIME in seconds, eg : WATER_TIME=1200 sets it to 20 mins.
  5. Once notified, you can remove the message by simply typing not_thirsty in your command line.

More Repositories

1

MusicRepair

Fixes music metadata and adds album art.
Go
594
star
2

Tasqueue

A simple, customisable distributed job/worker in Go
Go
351
star
3

MusicNow

CLI tool to download songs with metadata.
Python
158
star
4

tracesite

Go implementation of the traceroute tool
Go
110
star
5

MusicTools

Python library to download, label and sort music files.
Python
88
star
6

MemeDensity

:trollface: CLI tool to let you know amount of memes in facebook feed.
Python
44
star
7

Image-Scraper

Fast concurrent image scraper
Go
35
star
8

GoTrending

A GitHub bot that stars trending Go repositories.
Go
21
star
9

Unofficial-Quora-API

๐Ÿฐ Unofficial Quora API (outdated..)
Python
20
star
10

goChat

Simple tcp chat built on go.
Go
7
star
11

clickhousetest

A library to manage an ephemeral Clickhouse server for Go tests
Go
7
star
12

AsyncWrapper

An Async Wrapper for Cassandra's Python ORM (datastax)
Python
7
star
13

MusicSeize

A website that provides free music with metadata
CSS
5
star
14

mutago

Simple ID3 tagger for Go
Go
4
star
15

MIT-Hodor

A messenger bot for making life easier for Manipal students.
Python
4
star
16

dotfiles

๐Ÿ’พ My configs
Vim Script
3
star
17

BOSS-Issues

A issue tracker for coding block's events
Python
2
star
18

CarbonSteps

Tracks your carbon footprint
Python
2
star
19

BangSLCM

Bang SLCM peeps with loads of emails.
Python
2
star
20

TeamSSH

Project for SIH
Python
2
star
21

Whatsapp-BotChat

๐Ÿ’ฌ Lets the cleverbot talk to your friends on whatsapp
Python
2
star
22

kalbhor.xyz

A new updated personal website
1
star
23

BoxOffice

A neat offline webpage to sort all your movies.
Python
1
star
24

angristan

โœจspecial โœจ repository
1
star
25

Bulletin

CRUD backend for a freelance app
Go
1
star
26

kalbhor

A bio for my Github profile
1
star
27

r_server

Submission for coursera
R
1
star
28

Getting_Clean_Data

Project submission
R
1
star
29

MSeize

A music downloading service
Go
1
star
30

Scripts

A collection of my scripts.
Python
1
star
31

Coursera-Digital

HTML
1
star
32

InstaScrape

๐Ÿ“ท Image & data scraper for Instagram
Python
1
star
33

manan0308.github.io

CSS
1
star
34

Webloom-Restaurants

Python
1
star