A simple linux desktop app written in Rust to keep you from sitting at your computer for too long.
This app monitors dbus events from the gnome screen saver to determine when your screen goes to sleep or wakes up. Upon waking up, you'll be able to use your computer for 30 minutes (or the duration you specify) before a really annoying window shows up that covers most of your screen.
There is a snooze button to give you 5 extra minutes if necessary.
This app has only been tested with Ubuntu 20, running the gnome desktop.
-
Install cargo-deb
-
Generate app icons (this requires inkscape to be installed)
./build.sh
- Generate the .deb file
cargo deb
- Install the .deb file locally:
sudo dpkg -i target/debian/sitter_0.1.0_amd64.deb