Skip to content
/ smoko Public

Put your displays to sleep after a delay. So you can go on smoko.

License

Notifications You must be signed in to change notification settings

lobes/smoko

Repository files navigation

smoko

Australian slang for putting the tools down and taking a break for an unknown period of time.

You tell it when you want to go on smoko. At that time, smoko will put your displays to sleep.

So you can down tools for a moment. And go on smoko.

Go drink a glass of water.

Go put your feet on some grass.

Go powernap.

Do whatever you want. You're on smoko.

Installation

Build from Source

Currently the only option.

Install zig

Homebrew
brew install zig

Optional: also install zig language server

brew install zls

Clone the Repo

git clone git@github.com:lobes/smoko.git
cd smoko

Build Smoko

zig build

Set a smoko

smoko now
  • immediately puts your displays in sleep mode

Sub-Commands

Smoko is a bucket of sub commands: smoko now smoko in 7 smoko at 3 smoko s smoko pass smoko moveto in 11 smoko moveto at noon smoko wipe smoko help

Smoko in x = add a smoko that will call it x mins from now

Smoko at x[am|pm] = add a smoko that will call it at next x[am|pm] (always look forwards in time)

Smoko s = give me a list of the currently queued smokos and how long until they call it

Smoko clear = terminate all smokos in the queue and tell me how long until they would have called it

About

Put your displays to sleep after a delay. So you can go on smoko.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published