Skip to content

Instantly share code, notes, and snippets.

View mpdmanash's full-sized avatar

Manash Pratim Das mpdmanash

View GitHub Profile
@mpdmanash
mpdmanash / pomodoro.sh
Created December 19, 2017 15:44
Linux script to follow pomodoro style of work and break.
#!/bin/sh
% add @reboot work/tools/scripts/pomodoro.sh to crontab -e
% or add to sudo nano /etc/rc.local
% or add to "Run at startup" in Ubuntu
study_time_sec="1500"; % in seconds
break_time_sec="300"; % in seconds
% Produced an alarm
_alarm() {