mirror of
https://github.com/Quill-OS/quill.git
synced 2024-12-26 07:37:21 -08:00
Lockscreen configuration improvements
This commit is contained in:
parent
521638eb77
commit
1ea1712ba6
1 changed files with 4 additions and 2 deletions
|
@ -765,12 +765,14 @@ void settings::on_enableLockscreenCheckBox_toggled(bool checked)
|
|||
QString settingString = "lockscreen";
|
||||
if(checked == true) {
|
||||
logEnabled(settingString, className);
|
||||
string_writeconfig(".config/12-lockscreen/config", "true");
|
||||
writeFile(".config/12-lockscreen/config", "true");
|
||||
}
|
||||
else {
|
||||
logDisabled(settingString, className);
|
||||
string_writeconfig(".config/12-lockscreen/config", "false");
|
||||
writeFile(".config/12-lockscreen/config", "false");
|
||||
}
|
||||
// Notify power daemon of configuration update
|
||||
writeFile("/mnt/onboard/.adds/inkbox/.config/20-sleep_daemon/updateConfig", "true");
|
||||
}
|
||||
|
||||
void settings::on_enableUiScalingCheckBox_toggled(bool checked)
|
||||
|
|
Loading…
Reference in a new issue