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

Remove w and use native Rust to check tty idle times #32

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 64 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ Follow systemd instructions, and port circadian.service to whatever format you w
* Should already have
* grep
* awk
* w
* id
* uptime
* pgrep
Expand Down
4 changes: 3 additions & 1 deletion resources/circadian.conf.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ verbosity = 0
#
# At least one of tty_input or x11_input must be 'yes'.
#
# Monitors the idle column of the 'w' command.
# Monitors the idle time for each TTY device by subtracting the last access
# time of the device from the current system time. The minimum idle time across all checked
# TTY devices is used.
#
# Default: yes
tty_input = yes
Expand Down
Loading