Commit Graph

13 Commits

Author SHA1 Message Date
John Mertz 978daa7c10
Fix incorrect timeout vars 2023-07-21 17:06:24 -04:00
John Mertz b87527f8b0
Enhance idle options
Allow for calling idle with --ignore_mode to run an option beyond the
current sequence limit.

Allow 'dim' as it's own option.

Add 'lock' option to waybar script (and add it to source control in the
first place).

Simplify sequence logic by setting a numerical mode.

Improve help.
2023-07-20 22:07:23 -04:00
John Mertz 59f84d2092 Just re-enable displays rather than using displays.pl
No need to re-arrange windows/bars
2023-04-12 21:40:47 -04:00
John Mertz 2ef6def85f
Don't sleep while in hidernate inhibitor mode 2023-04-09 13:17:02 -04:00
John Mertz 00eef39441
Fix merge conflicts 2023-01-07 13:32:14 -05:00
John Mertz 6cbadb5d5d
ts4 2023-01-07 08:17:43 -05:00
John Mertz 6d33d9446f tabs->spaces 2023-01-06 14:41:31 -05:00
John Mertz fcffe18886 Typos 2022-12-12 18:04:23 -05:00
John Mertz 14310c3c58 Support for blocking hibernation 2022-11-21 18:56:50 -05:00
John Mertz 4bdd817ae1 New 'fade' action as first step to 'idle'
Will take ~1-2s to fade all windows (depending on number of windows. Allows for fullscreen wallpaper for a couple of minutes before next steps.
2022-11-21 18:44:59 -05:00
John Mertz d90eaeed5c
improve idle behaviour 2022-10-31 18:33:07 -04:00
John Mertz b74c0f0faf
Add lock functions to idle script 2022-10-31 18:32:55 -04:00
John Mertz bbd69f5e73
A simulacrum of a functional swayidle script.
Working: A proper countdown to idle works and is cancelled on resume.
Displays are dimmed if possible at countdown start and restorted at
resume. The screens properly lock. The power to the displays is turned
off. The power is restore upon first resume. Layout and brightness
restored on unlock.

Known issue: Displays are not restored if the system idles again while
on lock screen. This shouldn't really happen and is a possible indicator
of tampering, which is kind of cool, but it's janky. Power needs to be
restored with the toggle_displays hotkey.
2022-10-31 18:32:48 -04:00