Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record screen saver/locker status for inactivity tagging #40

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Mar 5, 2021

  1. Record screen saver/locker status (X11)

    Tracking inactivity via idle time is unsuitable if one wants to account
    for activities such as watching movies or reading difficult texts.
    As media players usually keep the screen saver/locker from triggering,
    tracking inactivity that way might be more accurate, as long as the
    screen saver trigger is set to low enough duration or the user
    diligently locks their screen when walking away.
    
    Currently implemented for X11 only, and even that implementation
    supports only a few desktop environments.
    
    Relates: nomeata#39
    liskin committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    aa5ab31 View commit details
    Browse the repository at this point in the history
  2. Make $screensaver available

    Relates: nomeata#39
    liskin committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    09defd2 View commit details
    Browse the repository at this point in the history
  3. Use XDG_SESSION_ID for LockedHint if available

    This makes it possible to detect locked session in a multi-session
    setup. Beware, this is niche among niches: very few people use user
    systemd and multiple X sessions together, as it's not supported by any
    desktop environments.
    liskin committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    dabc40b View commit details
    Browse the repository at this point in the history