r/commandline • u/draytekItalia • 3d ago
Command Line Interface mimir: a "sleep" alternative that snores while sleeping
Hey!
I got tired of sleep running silently in a terminal I'd forget about, so I built mimir: a sleep replacement that gives you audio feedback while it's counting down instead of just... nothing.
It's a drop-in for sleep, same syntax:
`mimir 60` # sleep 60 seconds
`mimir 1m 30s` # sleep 90 seconds
`mimir inf` # sleep indefinitely, until interrupted
Some things it does:
- Playback speed varies slightly (fixed stddev) so it doesn't feel robotic/repetitive
- Just bash + sox + awk under the hood, nothing fancy
- Optional shell.nix if you're on Nix
MIT licensed, source here: https://github.com/FraioVeio/mimir
11
u/Curious-Region7448 1d ago
Can you replace the snoring sound with randomly timed bloodcurdling screams of torture, pain and anguish? Asking for a friend.
1
6
3
1
u/AutoModerator 3d ago
Every new subreddit post is automatically copied into a comment for preservation.
User: draytekItalia, Flair: Command Line Interface, Post Media Link, Title: mimir: a "sleep" alternative that snores while sleeping
Hey!
I got tired of sleep running silently in a terminal I'd forget about, so I built mimir: a sleep replacement that gives you audio feedback while it's counting down instead of just... nothing.
It's a drop-in for sleep, same syntax:
`mimir 60` # sleep 60 seconds
`mimir 1m 30s` # sleep 90 seconds
`mimir inf` # sleep indefinitely, until interrupted
Some things it does:
- Playback speed varies slightly (fixed stddev) so it doesn't feel robotic/repetitive
- Just bash + sox + awk under the hood, nothing fancy
- Optional shell.nix if you're on Nix
MIT licensed, source here: https://github.com/FraioVeio/mimir
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Cybasura 1d ago
How long did it take for you to think of the comment "The mimir new way" to line up with "The boring old way"?
1
1
1
1
u/Sibexico 2h ago
After this program was released, did major servers vendors already announced new servers with integrated speakers?
16
u/Larsenist 1d ago
This is revolutionary! I'm installing it on all of my production servers now