pcardune / sitter

A simple linux desktop app written in Rust to keep you from sitting at your computer for too long.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sitter

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.

Building Debian Package for Ubuntu

  1. Install cargo-deb

  2. Generate app icons (this requires inkscape to be installed)

./build.sh
  1. Generate the .deb file
cargo deb
  1. Install the .deb file locally:
sudo dpkg -i target/debian/sitter_0.1.0_amd64.deb

About

A simple linux desktop app written in Rust to keep you from sitting at your computer for too long.


Languages

Language:Rust 95.9%Language:Shell 4.1%