Skip to content

f3rmion/caffeine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

caffeine

A tiny, zero-dependency Rust program that prevents screen blanking and other idle actions on systemd-based Linux systems. It is intended for Arch Linux and uses systemd-inhibit, which is included with systemd.

cargo build --release
./target/release/caffeine

Press Ctrl-C to stop caffeinating. To install it for your user:

install -Dm755 target/release/caffeine ~/.local/bin/caffeine

You can inspect the active lock with:

systemd-inhibit --list

About

Keep your screen awake.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages