move lid watch toggle into lock settings

This commit is contained in:
2026-06-01 20:45:04 +02:00
parent 83cf008a19
commit 1c1c6275df
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -196,7 +196,6 @@ Singleton {
wallpaperPath: general.wallpaperPath,
desktopIcons: general.desktopIcons,
dateFormat: general.dateFormat,
lidWatch: general.lidWatch,
color: {
mode: general.color.mode,
smart: general.color.smart,
@@ -254,6 +253,7 @@ Singleton {
return {
recolorLogo: lock.recolorLogo,
enableFprint: lock.enableFprint,
lidWatch: lock.lidWatch,
showNotifContent: lock.showNotifContent,
showNotifIcon: lock.showNotifIcon,
maxFprintTries: lock.maxFprintTries,
-1
View File
@@ -10,7 +10,6 @@ JsonObject {
}
property string dateFormat: "ddd d MMM - hh:mm:ss"
property bool desktopIcons: false
property bool lidWatch: true
property Idle idle: Idle {
}
property string logo: ""
+1
View File
@@ -4,6 +4,7 @@ JsonObject {
property int blurAmount: 40
property bool enableFprint: true
property int maxFprintTries: 3
property bool lidWatch: true
property bool recolorLogo: false
property bool showNotifContent: false
property bool showNotifIcon: true
+2 -2
View File
@@ -60,8 +60,8 @@ SettingsPage {
}
SettingSwitch {
name: "Lid watch"
object: Config.general
name: "Laptop lid watch to lock session"
object: Config.lock
setting: "lidWatch"
}
+1 -1
View File
@@ -39,7 +39,7 @@ ShellRoot {
}
Connections {
enabled: Config.general.lidWatch
enabled: Config.lock.lidWatch
function onLidClosing(): void {
lock.lock.locked = true;
}