summaryrefslogtreecommitdiffstats
path: root/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Improve idle time tracking wrt xscreensaver activitySimon Rettberg2023-01-111-13/+17
|
* Add --logout-is-shutdown flagSimon Rettberg2022-09-301-2/+14
|
* Cap sleep time to 5 after RPC activityv29r2v29r1Simon Rettberg2022-01-141-1/+5
|
* Fix sleep time calculation for logout timeout as wellSimon Rettberg2020-10-131-2/+2
|
* Add usercount to RPC, simplify timing calculationSimon Rettberg2020-10-121-15/+16
|
* Use original deadline if user logged outv26Simon Rettberg2020-01-151-3/+21
| | | | | | | We add 300 seconds to the deadline if a user is currently logged in. Even if the user logs out immediately, we still wait those extra 5 minutes. Add ugly code to immediately trigger the shutdown (or whatever) in that case.
* Don't poll .no-saver if dpms and screen saver are disabledSimon Rettberg2019-11-151-1/+2
|
* FormattingSimon Rettberg2019-11-151-1/+1
|
* Add feature to clean up user processes after logoutSimon Rettberg2019-10-181-4/+32
|
* Slightly more consistent namingSimon Rettberg2019-06-121-7/+7
|
* Add RPC method "warn" to show messge to usersSimon Rettberg2019-06-121-0/+8
| | | | Only usable by root.
* Make sure user promptly sees warning when using RPCSimon Rettberg2019-05-231-3/+4
|
* Refine timingsSimon Rettberg2019-05-151-14/+18
|
* Support user disabling saver + dpmsSimon Rettberg2019-05-141-4/+8
|
* Better align warning messages with full minuteSimon Rettberg2019-05-141-11/+15
|
* Fix DPMS timeout calculationSimon Rettberg2019-05-141-1/+1
|
* Enforce minimum delay for RPC actions if user is activeSimon Rettberg2019-05-141-7/+21
|
* Less debug spamSimon Rettberg2019-05-141-2/+2
|
* Properly cap sleep after RPC callSimon Rettberg2019-05-131-0/+5
|
* Support --min-idleSimon Rettberg2019-05-131-5/+17
| | | | | Requires a minimum amount of user idle time before performing a scheduled reboot/poweroff if a user is logged on.
* Add reboot/kexec/poweroff via RPCSimon Rettberg2019-05-131-42/+60
|
* Initial commitSimon Rettberg2019-05-101-0/+498