Commit Graph

8 Commits

Author SHA1 Message Date
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