diff --git a/modules/launcher/Content.qml b/modules/launcher/Content.qml index 6ecced53..5267bc99 100644 --- a/modules/launcher/Content.qml +++ b/modules/launcher/Content.qml @@ -57,7 +57,7 @@ Item { leftPadding: root.padding rightPadding: root.padding - placeholderText: qsTr(`Type "${LauncherConfig.actionPrefix}" for commands`) + placeholderText: qsTr("Type \"%1\" for commands").arg(LauncherConfig.actionPrefix) background: StyledRect { color: Colours.alpha(Colours.palette.m3surfaceContainer, true) diff --git a/services/Hyprland.qml b/services/Hyprland.qml index a366e543..a1f5cbb0 100644 --- a/services/Hyprland.qml +++ b/services/Hyprland.qml @@ -13,7 +13,7 @@ Singleton { readonly property var monitors: Hyprland.monitors property Client activeClient: null readonly property HyprlandWorkspace activeWorkspace: focusedMonitor?.activeWorkspace ?? null - readonly property HyprlandMonitor focusedMonitor: Hyprland.monitors.values.find(m => m.lastIpcObject.focused) ?? null + readonly property HyprlandMonitor focusedMonitor: Hyprland.focusedMonitor readonly property int activeWsId: activeWorkspace?.id ?? 1 function reload() {