lid behavior watcher to lock session #115

Merged
zach merged 25 commits from lid-switch-behavior into main 2026-06-03 18:02:21 +02:00
5 changed files with 0 additions and 23 deletions
Showing only changes of commit a128c0fa40 - Show all commits
-1
View File
@@ -253,7 +253,6 @@ Singleton {
return {
recolorLogo: lock.recolorLogo,
enableFprint: lock.enableFprint,
lidWatch: lock.lidWatch,
showNotifContent: lock.showNotifContent,
showNotifIcon: lock.showNotifIcon,
maxFprintTries: lock.maxFprintTries,
-1
View File
@@ -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
-3
View File
@@ -18,9 +18,6 @@ Scope {
signal requestLock
signal unlock
onRequestLock: lock.locked = true
onUnlock: lock.locked = false
LockSurface {
id: lockSurface
@@ -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"
-7
View File
@@ -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",
1