feat: add sticky overlay functionality

This commit is contained in:
marepallisanthosh999333
2025-11-08 20:29:14 +05:30
parent 769ed3bf71
commit 549a43ac7f
8 changed files with 417 additions and 3 deletions
@@ -31,7 +31,11 @@ Singleton {
property string shellConfig: FileUtils.trimFileProtocol(`${Directories.config}/illogical-impulse`)
property string shellConfigName: "config.json"
property string shellConfigPath: `${Directories.shellConfig}/${Directories.shellConfigName}`
property string todoPath: FileUtils.trimFileProtocol(`${Directories.state}/user/todo.json`)
property string todoPath: FileUtils.trimFileProtocol(`${Directories.state}/user/todo.json`)
// CUSTOM: Stickypad integration - START
property string stickypadPath: FileUtils.trimFileProtocol(`${Directories.state}/user/stickypad.txt`)
// CUSTOM: Stickypad integration - END
property string conflictCachePath: FileUtils.trimFileProtocol(`${Directories.cache}/conflict-killer`)
property string notificationsPath: FileUtils.trimFileProtocol(`${Directories.cache}/notifications/notifications.json`)
property string generatedMaterialThemePath: FileUtils.trimFileProtocol(`${Directories.state}/user/generated/colors.json`)
property string generatedWallpaperCategoryPath: FileUtils.trimFileProtocol(`${Directories.state}/user/generated/wallpaper/category.txt`)
@@ -113,6 +113,14 @@ Singleton {
property real x: 1576
property real y: 630
}
// CUSTOM: Stickypad integration - START
property JsonObject stickypad: JsonObject {
property bool pinned: true
property bool clickthrough: false
property real x: 100
property real y: 100
}
// CUSTOM: Stickypad integration - END
}
property JsonObject timer: JsonObject {