Skip to content
/ et Public

Minimal libnotify-based (egg) timer

License

Notifications You must be signed in to change notification settings

oxzi/et

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

et, egg timer

What?

A minimal (egg) timer based on libnotify.

Screenshot?

et screenshot

You're seeing the Dunst-notification daemon running on dwm.

How?

To start an et, just fire a command.

$ et 90 # Reminds you in 90 seconds
$ et 1:30 # Also reminds you in 90 seconds
$ et 1:30:00 # Reminds you in 90 minutes
$ et 10:00 Pizza # Reminds you in 10 minutes and says Pizza
$ et 23:00 "Check rice" # Reminder with a longer text

To get the current status, send a SIGUSR1-signal to the process. Don't worry, it won't stop.

$ et 120
Egg timer started!
Name: eggtimer, PID: 4242
Only 30 seconds remaining

$ kill -SIGUSR1 4242
01 minutes and 28 seconds remaining

You can also get the status of all et-instances by running the et-status.sh-script.

Perhaps you want to set up some keybindings in your WM for a flawless experience.

Build?

NixOS / Nix

If you're using Nix or NixOS try nix-build or just install the et package from the nixpkgs.

Debian / Ubuntu

sudo apt-get update
sudo apt-get install build-essential libnotify-dev

make