diff options
author | Aicaya <17915907+Aicaya@users.noreply.github.com> | 2020-01-23 16:27:29 -0400 |
---|---|---|
committer | Philipp Hemmelmayr <fips.hem@gmail.com> | 2020-01-23 21:27:29 +0100 |
commit | 7774266ee62dfffbe6582ed9c895a4ce7501ba24 (patch) | |
tree | 8695c28847b661eb83ddfa6ee4d941718678a36b /system | |
parent | 82d1a7280e882d124d8548ddd5f72f7cdc4f1757 (diff) |
Restore previous DPMS setting if turned off (#151)
* Restore previous DPMS setting if turned off
Added the variable 'default_dpms', which reads the last element of line
26 ("DPMS is Enabled/Disabled"). If it's disabled, it restores that
setting upon login.
This fixes an issue where if the user had manually turned off DPMS, the
screen will still turn itself off after a while.
* Look for string instead of line number
(also use tabs for indents to match code)
Diffstat (limited to 'system')
0 files changed, 0 insertions, 0 deletions