Menu

Advanced Sleep (asleep) suspend-aware, and GNU sleep-compatible sleep utility with live countdown and flexible datetime parsing

Reddit r/rust·u/CramNBL·6 months ago
#5Fxyw77k
#sleep#asleep#suspend#ffmpeg#advanced
Reading 0:00
15s threshold

Repo: https://github.com/CramBL/asleep

I've been using sleep a lot lately, for example to delay the start of ffmpeg tasks until later at night where electricity is cheaper, and it has left me wanting more.

For instance, when I look at a terminal that has "sleep 3h && ffmpeg .." I don't know when it'll run, so if I want to use rtcwake to suspend until then, I have to guess, and also sleep is not suspend aware so it wouldn't work anyways...

There's a ton of very tiny reasons to why I wanted a better sleep , so I wrote asleep (Advanced Sleep).

It has all the niceties that I wish sleep had, like an updating countdown and the --until flag is also very useful, e.g.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.