diff --git a/Config/Config.qml b/Config/Config.qml index b2a541e..272e6b2 100644 --- a/Config/Config.qml +++ b/Config/Config.qml @@ -253,7 +253,6 @@ Singleton { return { recolorLogo: lock.recolorLogo, enableFprint: lock.enableFprint, - lidWatch: lock.lidWatch, showNotifContent: lock.showNotifContent, showNotifIcon: lock.showNotifIcon, maxFprintTries: lock.maxFprintTries, diff --git a/Config/LockConf.qml b/Config/LockConf.qml index 3826a90..87a4f4e 100644 --- a/Config/LockConf.qml +++ b/Config/LockConf.qml @@ -4,7 +4,6 @@ JsonObject { property int blurAmount: 40 property bool enableFprint: true property int maxFprintTries: 3 - property bool lidWatch: false property bool recolorLogo: false property bool showNotifContent: false property bool showNotifIcon: true diff --git a/Modules/Lock/Lock.qml b/Modules/Lock/Lock.qml index 68d8a46..9c6f8df 100644 --- a/Modules/Lock/Lock.qml +++ b/Modules/Lock/Lock.qml @@ -18,9 +18,6 @@ Scope { signal requestLock signal unlock - onRequestLock: lock.locked = true - onUnlock: lock.locked = false - LockSurface { id: lockSurface diff --git a/Modules/Settings/Categories/Lockscreen.qml b/Modules/Settings/Categories/Lockscreen.qml index ae45f8d..adfa74c 100644 --- a/Modules/Settings/Categories/Lockscreen.qml +++ b/Modules/Settings/Categories/Lockscreen.qml @@ -60,17 +60,6 @@ SettingsPage { Separator { } - SettingSwitch { - name: "Laptop lid watch to lock session" - object: Config.lock - setting: "lidWatch" - shouldBeActive: Battery.isLaptop - } - - Separator { - shouldBeActive: Battery.isLaptop - } - SettingSpinBox { min: 0 name: "Blur amount" diff --git a/scripts/SettingsIndex.mjs b/scripts/SettingsIndex.mjs index 9d2c870..ba5eaed 100644 --- a/scripts/SettingsIndex.mjs +++ b/scripts/SettingsIndex.mjs @@ -326,13 +326,6 @@ export const settingsIndex = [ section: "Lockscreen", keywords: ["notification", "hide", "icon"], }, - { - name: "Laptop lid watch to lock session", - category: "lockscreen", - categoryName: "Lockscreen", - section: "Lockscreen", - keywords: ["lid", "lock", "watch", "session", "laptop"], - }, { name: "Blur amount", category: "lockscreen",