actually fixed config fetching in hyprland lua

This commit is contained in:
2026-05-26 01:12:36 +02:00
parent de11767d3b
commit f00af9d70f
6 changed files with 139 additions and 42 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ Singleton {
PersistentProperties {
id: props
property bool enabled: Hypr.options["animations:enabled"] === 0
property bool enabled: Hypr.options.animations.enabled === 0
reloadableId: "gamemode"
}
-1
View File
@@ -158,6 +158,5 @@ Singleton {
HyprExtras {
id: extras
}
}
+2 -2
View File
@@ -30,8 +30,8 @@ MouseArea {
property real ey: screen.height
required property LazyLoader loader
property bool onClient
property real realBorderWidth: onClient ? (Hypr.options["general:border_size"] ?? 1) : 2
property real realRounding: onClient ? (Hypr.options["decoration:rounding"] ?? 0) : 0
property real realBorderWidth: onClient ? (Hypr.options.general.border_size ?? 1) : 2
property real realRounding: onClient ? (Hypr.options.decoration.rounding ?? 0) : 0
property real rsx: Math.min(sx, ex)
property real rsy: Math.min(sy, ey)
required property ShellScreen screen